MOD 5 exercises

Ace your homework & exams now with Quizwiz!

What will be the value of EAX when the following sequence of instructions has executed? PUSH 5 PUSH 10 POP EBX POP EAX

5

What will be the value of EAX when the following sequence of instructions has executed? PUSH 5 PUSH 10 PUSH 20 POP EAX

20

The RET instruction pops the top of the stack into what register?

EIP

T/F A stack is also called a FIFO structure (First-In, First-Out) because the last value put into the stack is always the first value taken out.

False

T/F PUSHF is used to preserve all general purpose register contents on the stack.

False

Which of the following is true about the POP instruction?

It copies the data pointed to by the stack pointer into the operand, and then increments the stack pointer (by 2 or 4).

The CALL instruction functions similarly to which of the following?

Push, then Jump


Related study sets

economics test 2-- online questions

View Set

Intro to Statistics Chapter 7.2 Sampling Distribution

View Set

DNA Replication, RNA, and Transcription and Translation

View Set

RH134 v8.2 CH11: Managing Network Security (Firewalld/SELinux ports)

View Set

LabCE Course - White Cell and Platelet Disorders: Peripheral Blood Clues to Nonneoplastic Conditions

View Set

6. Markeds og konkurrencesituation

View Set