Hi fellas,
I have some in the text book "Assembly Language for INtel-based Computer" 4th ed.
Page 127
.data
myDoubles DWORD 1,2,3,4,5
myPointer DWORD myDoubles
So, can anybody know what the following codes will do:
.code
mov ax,WORD PTR [esi+2] ; AX=?
mov ax,WORD PTR [esi+6] ; AX=?
mov ax,WORD PTR [esi-4] ; AX=?
I even try to assembly them in MASM, but it crashed when I debugged it in CodeView.
Thanks pal.
I have some in the text book "Assembly Language for INtel-based Computer" 4th ed.
Page 127
.data
myDoubles DWORD 1,2,3,4,5
myPointer DWORD myDoubles
So, can anybody know what the following codes will do:
.code
mov ax,WORD PTR [esi+2] ; AX=?
mov ax,WORD PTR [esi+6] ; AX=?
mov ax,WORD PTR [esi-4] ; AX=?
I even try to assembly them in MASM, but it crashed when I debugged it in CodeView.
Thanks pal.