MOVS
: Move string, and
CMPS
: Compare strings.
mov eax, X+2 |
mov eax, X[2] |
mov eax, [X+2] |
.data X DWORD 12345678h .code mov eax, 0 mov eax, X+2 call WriteHex |
.data X DWORD 12345678h .code mov eax, 0 mov eax, X[2] call WriteHex |
.data X DWORD 12345678h .code mov eax, 0 mov eax, [X+2] call WriteHex |
Output | Output | Output |