End of Chapter Summaries Flashcards
What are the three types of unconditional jump instructions?
short, near, far, wherever you are
allows a branch to within +127 and -128 bytes
Short Jump
allows a jump to any location in the current code segment
Near Jump
allows a jump to any location in the memory system
Far Jump
Whenever a label appears with a JMP instruction or conditional jump, the label, must be followed by a ______
Colon
The _____ that follows a short or near jump is the distance from the next instruction to the jump location.
Displacement
jump to the location stored in a memory word
Near Indirect Jump
jump to the location stored in a memory doubleword
Far Indirect Jump
Are all short jumps that test one or more of the flag bits
Conditional Jumps
A special conditional jump instruction that decrements CX and jumps to the label when CX is not 0.
LOOP
The _______ instruction jumps if CX is not 0 and if an equal condition exists.
LOOPE
The _______ instruction jumps if CX is not 0 and if an not equal condition exists.
LOOPNE
are groups of instructions that perform one task and are used from any point in the program.
Procedureq
instruction that links to a procedure
CALL
instruction that returns from a procedure
RET
directive that defined the name and type of procedure
PROC
declares the end of the procedure
ENDP
is a combination of a PUSH and a JMP instruction
CALL
places the contents of IP on the stack
Near CALL
places both IP and CS on the stack
Far CALL
removes the return address from the stack and placing it into IP
Near Return
removes the return address from the stack and placing it into IP and CS
Far Return
are either software instructions similar to CALL or hardware signals used to call procedures
Interrupts
returns control to the interrupted software
IRET
How many interrupt vectors exist in the first 1KB of memory?
256 interrupt vectors
How many interrupt vectors are defined by Intel?
32
How many interrupt vectors are user interrupts?
224
must be used to return from an interrupt service procedure
IRET
a conditional interrupt that calls an interrupt service procedure if the overflow flag is 1
INTO
tests the condition of the BUSY or TEST pin on the microprocessor
WAIT