In: Computer Science
Assume that the instruction pointer, EIP, initially contains 2010 and the assembly language representation of the instructions in memory starting at address 2010 is
Instruction Address | Instruction |
20 | CMP DL, 0xD2 |
21 | JE 72 |
Before the instruction sequence is executed, the flags are CF=0, ZF=0 and SF=0 and the Registers have the values AL=0x0D, BL=0xA9 CL=0x5E andDL=0xCF. What is the value of the instruction pointer after the sequence executes?
Summary of the answer :
The given question is related to assembly language, knowing how CMP and JE instruction works are vital to answer these type of questions. it is essential in this question to know that ZF flag is vital for JE instruction to change the EIP value.