Table 1-3 Instructions Classified by Function (cont)
Type
Instruction
Size
*
Function
TRAPA
—
Starts trap-instruction exception handling.
RTE
—
Returns from an exception-handling routine.
SLEEP
—
Causes a transition to the power-down state.
LDC
B/W
(EAs)
→
CCR
Moves the source operand contents to the condition
code register. Byte transfer is performed in the #xx:8,
Rs addressing mode and word transfer in other
addressing modes.
STC
B/W
CCR
→
(EAd)
Transfers the CCR contents to a destination location.
Byte transfer is performed in the Rd addressing mode
and word transfer in other addressing modes.
ANDC
B
CCR
∧
#IMM
→
CCR
Logically ANDs the condition code register with
immediate data.
ORC
B
CCR
∨
#IMM
→
CCR
Logically ORs the condition code register with
immediate data.
XORC
B
CCR
⊕
#IMM
→
CCR
Logically exclusive-ORs the condition code register
with immediate data.
NOP
—
PC + 2
→
PC
Only increments the program counter.
Note:
*
Size refers to the operand size.
B: Byte
W: Word
System control
instructions
25