Instruction Set Overview Flashcards

(23 cards)

1
Q

mov <dest>, <src></src></dest>

the value of the source operand is?

changed or unchanged?

A

unchanged

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

mov <dest>, <src></src></dest>

The destination and source operand must be of the same?

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

mov <dest>, <src></src></dest>

Both operands cannot be both a?

A

memory variable

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

what are the supported methods for accessing a value in memory using the address of a data item being accessed?

A

register, immediate value, memory

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

what is used to access the values of memory variables?

A

bracket

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

what will happen if you omit the bracket when accessing the values of a memory variable?

A

You get the address of the variable instead of the value.

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

add <dest>, <src></src></dest>

the destination and source operand must be of the same?

A

size

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

add <dest>, <src></src></dest>

operands cannot be both

A

memory variables

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

sub <dest>, <src></src></dest>

the destination and source operand must be of the same?

A

size

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

sub <dest>, <src></src></dest>

operands cannot be both

A

memory variables

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

mul <src?

for unsigned multiplication, the source operand must be a —- or a —– location.

A

register
memory

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

What register must be used for one of the operand in a unsigned multiplication?

A

A register

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

Where will the result be placed in an unsigned multiplication?

A

A and D register

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

this transfers to a specific location in the program denoted with a program label without evaluating any condition

jmp <label></label>

A

Unconditional Transfer

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

labels may be defined how many times?

A

one

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

this jumps based on a comparison

A

conditional transfer

17
Q

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

operands must be of the same

18
Q

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

operands cannot be both

A

memory variables

19
Q

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

which operand can be an immediate value?

20
Q

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

after comparing, the results will be stored in what register?

A

rFlag register

21
Q

what is register is use in the loop instruction to allow for a loop to execut several iterations?