Question: Consider the following code: .386 .model flat, stdcall .stack 4096 ExitProcess PROTO, dwExitCode : DWORD .data aVal SDWORD -6 bVal SWORD 19h cVal DWORD 17h
Consider the following code:
.386
.model flat, stdcall
.stack 4096
ExitProcess PROTO, dwExitCode : DWORD
.data
aVal SDWORD -6
bVal SWORD 19h
cVal DWORD 17h
.code
mov edx, aVal
add edx, edx
mov eax, 0FFFFFFFFh
mov ax, bVal
sub edx, eax
Show the content of edx and eax after executing each instruction in Hexadecimal
Step by Step Solution
3.52 Rating (155 Votes )
There are 3 Steps involved in it
Sure lets go through the code step by step and display the content of the edx and eax registers in h... View full answer
Get step-by-step solutions from verified subject matter experts
