instruction set overview Flashcards

(20 cards)

1
Q

refers to where the data is coming from and/or where the result is to be placed

A

operands

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

general form of the move instruction

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • source operand is _____ into the destination operand
  • value of the source operand is _________
  • destination and source operand must be of the ________
  • operands cannot be both _________
A

copied
unchanged
same size
memory variables

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

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

A

addressing modes

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

basic addressing modes

A

register, immediate, memory

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

operand is a CPU register

A

register mode addressing

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

operand is an immediate value

A

immediate mode addressing

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

operand is a location in memory referred to as indirection or dereferencing

A

memory mode addressing

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

______ are used to access the values of memory variables

A

brackets

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

general form of integer addition instruction

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  • the destination and source operand must be of the _______
  • operands cannot be both __________
A

same size
memory variables

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

general form of increment instruction

A

inc <operand></operand>

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

general form of integer subtraction instruction

A

dub <dest>, <src></src></dest>

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

general form of decrement instruction

A

dec <operand></operand>

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

general form of unsigned multiplication instruction

A

mul <src></src>

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

for mul and div, the source operand must be a ____________

A

register or memory location

17
Q

for single operand mul:

the _______ must be used for one of the operands

18
Q

the result of an unsigned multiplication will be placed in the _____ and possibly ______ based on the sizes

A

A and D registers

19
Q

general form of unsigned division instruction

A

div <src></src>

20
Q

the result of an unsigned div is placed in the ______

while the remainder is placed in the _____

A

A register
D register