- #1
JJBladester
Gold Member
- 286
- 2
Homework Statement
If EAX contains 00000200H, EBX contains 00000003H, and the data segment contains 1000H, what is the effective address generated by this instruction?
MOV ECX,[ESI][EDI]
The Attempt at a Solution
I know that an effective address is created by adding the data segment (DS) value shifted left 4 bytes to the offset value.
In the question, I am given the values contained in EAX, EBX and DS but I do not know what ESI and DSI are set to, so how can I calculate the offset of ESI + DSI?
I know that [ESI][DSI] is another way of writing [ESI + DSI].