Assume the starting offset is 0. A doubleword 12345678h is stored as: |
|
Retriving the Third Byte | Clearing the Value 12 | Switching the Lower and Upper Words |
.data X SDWORD 12345678h .code mov ebx, OFFSET X + 2 sub eax, eax mov al, [ebx] call WriteHex |
||
Output | Output | Output |
00345678h | 56781234h |
Assume the starting offset is 0. A doubleword 12345678h is stored as: |
|