Question: The data segment of a assembly program is as follows: .data aVal DWORD 12 bVal DWORD 13 and eax register contains 4, ebx register
The data segment of a assembly program is as follows: .data aVal DWORD 12 bVal DWORD 13 and eax register contains 4, ebx register contains 5, and ecx register contains 3. Write assembly code to evaluate the following expression. aVal = (bVal-ecx) + (eax - ebx) You can use MOV, ADD, SUB, MOVZX, MOVSX instructions. You are not allowed to make any reduction in the above expression...
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
