Have a Question ?

Home / Answered Questions / Other / what-was-z-value-if-after-following-x86-instructions-ebx-is-now-64-dec-mov-eax-z-inc-eax-shr-eax-2-m-aw330

(Solved): What Was Z Value If, After Following X86 Instructions, EBX Is Now 64 (dec)? MOV EAX, Z INC EAX SHR E...



7. What was a value if, after following x86 instructions, EBX is now 64 (dec) ? MOV EAX, Z INC EAX SHR EAX, 2 MOV EBX, EAX

What was z value if, after following x86 instructions, EBX is now 64 (dec)?

MOV EAX, Z

INC EAX

SHR EAX, 2

MOV EBX, EAX

7. What was a value if, after following x86 instructions, EBX is now 64 (dec) ? MOV EAX, Z INC EAX SHR EAX, 2 MOV EBX, EAX


We have an Answer from Expert View Expert Answer

Expert Answer


Firstly the initial value EBX =64(decimal) When we have last instructions output value then we have reverse the instructions. The last instruction is MOV EBX, EAX i.e., now the instruction becomes MOV
We have an Answer from Expert
Buy This Answer $6

-- OR --

Subscribe To View Unlimited Answers
Subscribe $20 / Month