Control Flashcards
(8 cards)
1
Q
unconditional control transfer instruction
A
jmp <label></label>
2
Q
the target or a location to jump to
A
label
3
Q
provide a conditional jump based on a comparison
A
conditional control transfer instructions
4
Q
provides the functionality of a basic if statement
A
conditional transfer
5
Q
two steps required for a comparison
A
- the compare instruction
- the conditional jump instruction
6
Q
general form of the compare instruction
A
cmp <op1>,<op2></op2></op1>
7
Q
____ cannot be an immediate value, but ____ can be an immediate value
A
op1
op2
8
Q
the results of the comparison is stored in the ________
A
rFlag register