Motorola CPU32 Reference Manual page 153

M68300 series central processor unit
Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

MOVE
from
SR
Move from the Status Register
(Privileged Instruction)
Operation:
Assembler
Syntax:
Attributes:
If supervisor state
then SR
~
Destination
else TRAP
MOVE SR, (ea)
Size
=
(Word)
MOVE
from
SR
Descriptio n:
Moves the data in the status register to the destination location. The destination must
be of word length. Unimplemented bits are read as zeros.
Condition Codes:
Not affected .
Instruction Format:
15
14
13
12
11
10
9
8
7
6
5
4
3
2
o
EFFECTIVE ADDRESS
0
1
0
0
0
0
0
0
1
1
I
MODE
REGISTER
Instruction Fields:
Effective Address field -
Specifies the destination location. Only data alterable addressing
modes are allowed as shown:
Addressing Mode
Mode
Register
Addressing Mode Mode
Register
Dn
000
Reg. number: Dn
(xxx).w
111
000
An
-
-
(xxx).L
111
001
(An)
010
Reg. number: An
#(data)
-
-
(An)
+
011
Reg. number: An
-(An)
100
Reg. number: An
(d16, An)
101
Reg. number: An
(d16, PC)
-
-
(da, An, Xn)
110
Reg. number: An
(da, PC, Xn)
-
-
(bd, An, Xn)
110
Reg. number: An
(bd, PC, Xn)
-
-
NOTE
Use the MOVE from CCR instruction to access only the condition codes.
MOTOROLA
4-100
INSTRUCTION SET
CPU32 REFERENCE MANUAL

Advertisement

Table of Contents
loading

Table of Contents