Motorola CPU32 Reference Manual page 145

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

MOVE
USP
Operation:
Assembler
Syntax:
Attributes:
Description:
address register.
Condition Codes:
Not affected.
Instruction Format:
15
14
13
0
1
0
Instruction Fields:
dr field — Specifies the direction of transfer:
0 — Transfer the address register to the USP.
1 — Transfer the USP to the address register.
Register field — Specifies the address register for the operation.
CPU32
REFERENCE MANUAL
Move User Stack Pointer
(Privileged Instruction)
If supervisor state
then USP → An or An → USP
else TRAP
MOVE USP, An
MOVE An, USP
Size = (Long)
Moves the contents of the user stack pointer to or from the specified
12
11
10
9
0
1
1
1
INSTRUCTION SET
8
7
6
5
0
0
1
1
MOVE
USP
4
3
2
1
0
dr
REGISTER
MOTOROLA
0
4-97

Advertisement

Table of Contents
loading

Table of Contents