This is for an assignemt in my Assembly Language class. Im using the book Assemb
ID: 645576 • Letter: T
Question
This is for an assignemt in my Assembly Language class. Im using the book Assembly Language for for x86 Processors, 7th ed, Irvine.
Your help is deeply appreciated. Thank you.
1) What will be the value of EAX when the following sequence of instructions has executed?
push 5
push 10
push 20
pop eax
2) What will be the value of EAX when the following sequence of instructions has executed?
push 5
push 10
pop ebx
pop eax
3). What will be the value of ECX when the following sequence of instructions has executed?
push 5
push 10
pop ebx
pop eax
pop ecx
4)Which of the following are valid design criteria for the Integer Summation Program (Section 5.6)?
5)
Which register contains an integer before calling WriteDec? ___________
6)
Write code that causes a 500 millisecond delay, using a library procedure.
______________
A. 5 B. 10 C. 15 D. Cannot be determinedExplanation / Answer
1.20
2.5
3.D
4.B,C
5.EAX
6.
code
call Clrscr
mov eax,500
call Delay
call DumpRegs
Sample Output
EAX=00000613 EBX=00000000 ECX=000000FF EDX=00000000
ESI=00000000 EDI=00000100 EBP=0000091E ESP=000000F6
EIP=00401026 EFL=00000286 CF=0 SF=1 ZF=0 OF=0
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.