Question
1. What will be the value in the EAX register after the following sequence of instructions have executed? push 5 push 10 push 15 push
1. What will be the value in the EAX register after the following sequence of instructions have executed? push 5 push 10 push 15 push 20 pop eax
2. What will be the value in the EAX register after the following sequence of instructions have executed? push 5 push 10 push 15 push 20 pop ebx pop eax
3. Which 32-bit general-purpose register is used in conjunction with the stack?
a.EAX
b.EBX
c.ECX
d.EDX
e.ESP
4. What is the purpose of the Irvine WriteWindowsMsg procedure?
a.Writes a string containing the most recent error.
b.Displays the message Press any key to continue. . .
c.Writes a null-terminated string to the console window.
d.Writes the contents of a buffer to an output file.
5. Which of the following are valid design criteria for using procedures?
a.separate procedures make the program run faster
b.LOOP instructions might be out of range if all code were placed in the main procedure
c.separate procedures make the program's structure easier to understand
d.the program is easier to maintain and understand when all the code is in a single procedure
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started