Question: 7. Which of the following assembly language program will add 158 to the number in memory. A. 586 . MODEL FLAT - STACK 4096 .DATA


7. Which of the following assembly language program will add 158 to the number in memory. A. 586 . MODEL FLAT - STACK 4096 .DATA number DWORD 105 sum DWORD ? .CODE main PROC mov eax, number add eax,158 mov eax,0 ret main ENDP B. 586 - MODEL FLAT - STACK 4096 .DATA number DWORD 105 sum DWORD ? .CODE main PROC add eax, 158 mov sum, eax mov eax,0 ret main ENDP C. 586 .MODEL FLAT .sTACK 4096 .DATA number DWORD -105 sum DWORD ? . CODE main PROC mov eax, number add eax, 158 mov sum, eax mov eax, 0 rat main ENDP
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
