• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/18

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

18 Cards in this Set

  • Front
  • Back
Which register points to the stack?
ESP
In what order are items placed and removed onto/from the stack?
last in first out
Is the stack pointer incremented or decremented when pushing new items to the stack?
decremented
Is the stack pointer incremented or decremented when popping items from the stack?
incremented
What determines the value ESP is incremented/decremented?
the attribute of the operand providing the data
What instruction is used to add something to the stack?
PUSH
What instruction is used to remove something from the stack?
POP
What size values may be pushed/popped to/from the stack?
16-bit and 32-bit (WORD & DOUBLEWORD)
What do the instructions, PUSHFD & POPFD, do?
push and pop EFLAGS register
What do the instructions, PUSHAD & POPAD, do?
push and pop all general 32-bit registers to the stack
What doe the instructions, PUSHA & POPA, do?
push and pop all general 16-bit registers to the stack
When documenting procedures, it is important to note which registers the procedure _________ and ________.
receives, returns
What is the purpose of the CALL instruction?
calls a procedure
When the CALL instruction is invoked, what occurs?
EIP is pointing to the instruction directly following the CALL instruction. EIP is pushed to the stack. ESP is decremented and EIP is stored in the stack
What instruction ends a CALL instruction?
ret
When the instruction, ret, is invoked, what occurs?
ESP is incremented, EIP is popped from the stack and points to the instruction immediately following the CALL instruction
When the operator, USES, is invoked, what occurs?
the registers following the USES operator are pushed onto the stack and are popped immediately preceding the ret instruction
When should you NOT push a register?
when there is a possibility the data stored in the register could be overwritten when popping from the stack.