Ch3. instructions Flashcards

1
Q

Data movement instructions

A

Copy data from one location to
another. - MOVE.W $1000,D0

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

Integer arithmetic and logical instructions

A

can be oneoperand
(e.g. complement), two-operand or three-operand
instructions.
ADD.B D0,D1 - Binary ADD D0 to D1
O AND.B #%11110000, D1 - Bitwise AND the contents of D1

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

Shift and rotate instructions:

A

left or right shifts and rotations.
ASL.B #1,D1 - shift left by one place the data in D1

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

Bit manipulation instructions:

A

operate on bit fields.
BSET #1,D2 - set bit 1 in D2 to logic 1

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

Floating-point instructions:

A

floating-point data movement,
arithmetic, comparison, square root, absolute value, and others.

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

Control transfer instructions:

A

consist primarily of jumps,
branches, procedure calls, and procedure returns. Some
systems have return from exception instructions.
O BNE LABEL - Branch to LABEL if result not zero.

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

System control instructions:

A

allow the user to influence
directly the operation of the processor and other parts of the
computer system.
O RESET - Provides a software controlled rest signal to rest of the
microcomputer.

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

Special function unit instructions:

A

perform particular
operations on special function units (e.g. graphic units).

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