Control Flashcards

(8 cards)

1
Q

unconditional control transfer instruction

A

jmp <label></label>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

the target or a location to jump to

A

label

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

provide a conditional jump based on a comparison

A

conditional control transfer instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

provides the functionality of a basic if statement

A

conditional transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

two steps required for a comparison

A
  • the compare instruction
  • the conditional jump instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

general form of the compare instruction

A

cmp <op1>,<op2></op2></op1>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

____ cannot be an immediate value, but ____ can be an immediate value

A

op1
op2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

the results of the comparison is stored in the ________

A

rFlag register

How well did you know this?
1
Not at all
2
3
4
5
Perfectly