Motorola CPU32 Reference Manual page 154

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

Advertisement

MOVE
to SR
Operation:
Assembler
Syntax:
Attributes:
Move to the Status Register
(Privileged Instruction)
If supervisor state
then Source
~SR
else TRAP
MOVE (ea), SR
Size
=
(Word)
MOVE
to SR
Description:
Moves the data in the source operand to the status register. The source operand is a
word and all implemented bits of the status register are affected.
Condition Codes:
Set according to the source operand.
Instruction Format:
15
14
13
12
11
10
9
8
7
6
5
4
3
2
o
EFFECTIVE ADDRESS
0
1
0
0
0
1
1
0
1
1
I
MODE
REGISTER
Instruction Fields:
Effective Address field -
Specifies the destination location. Only data addressing modes are
allowed as shown:
Addressing Mode
Mode
Dn
000
An
-
(An)
010
(An)
+
011
-(An)
100
(d16, An)
101
(ds, An, Xn)
110
(bd, An, Xn)
110
CPU32 REFERENCE MANUAL
Register
Addressing Mode
Reg. number: Dn
(xxx).w
-
(xxx).L
Reg. number: An
#(data)
Reg. number: An
Reg. number: An
Reg. number: An
(d16, PC)
Reg. number: An
(ds, PC, Xn)
Reg. number: An
(bd, PC, Xn)
INSTRUCTION SET
Mode
111
111
111
111
111
111
Register
000
001
100
010
011
011
MOTOROLA
4-101
III

Advertisement

Table of Contents
loading

Table of Contents