๐๐ฏ๐ฅ ๐ฐ๐ง ๐๐ฉ๐ข๐ฑ๐ต๐ฆ๐ณ ๐๐ถ๐ฎ๐ฎ๐ข๐ณ๐ช๐ฆ๐ด Flashcards
(77 cards)
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