Datasheet
Rev.6.00 Oct.28.2004 page 837 of 1016
REJ09B0138-0600H
Instruction H N Z V C Definition
NOT —
0 — N = Rm
Z = Rm · Rm–1 ·
......
· R0
OR — 0 — N = Rm
Z = Rm · Rm–1 ·
......
· R0
ORC Stores the corresponding bits of the result.
No flags change when the operand is EXR.
POP — 0 — N = Rm
Z = Rm · Rm–1 ·
......
· R0
PUSH — 0 — N = Rm
Z = Rm · Rm–1 ·
......
· R0
ROTL — 0 N = Rm
Z = Rm · Rm–1 ·
......
· R0
C = Dm (1-bit shift) or C = Dm–1 (2-bit shift)
ROTR — 0 N = Rm
Z = Rm · Rm–1 ·
......
· R0
C = D0 (1-bit shift) or C = D1 (2-bit shift)
ROTXL — 0 N = Rm
Z = Rm · Rm–1 ·
......
· R0
C = Dm (1-bit shift) or C = Dm–1 (2-bit shift)
ROTXR — 0 N = Rm
Z = Rm · Rm–1 ·
......
· R0
C = D0 (1-bit shift) or C = D1 (2-bit shift)
RTE Stores the corresponding bits of the result.
RTS —————
SHAL — N = Rm
Z = Rm · Rm–1 ·
......
· R0
V =Dm · Dm–1 + Dm · Dm–1 (1-bit shift)
V =Dm · Dm–1 · Dm–2 · Dm · Dm–1 · Dm–2
(2-bit shift)
C = Dm (1-bit shift) or C = Dm–1 (2-bit shift)
SHAR —
0 N = Rm
Z = Rm · Rm–1 ·
......
· R0
C = D0 (1-bit shift) or C = D1 (2-bit shift)
SHLL — 0 N = Rm
Z = Rm · Rm–1 ·
......
· R0
C = Dm (1-bit shift) or C = Dm–1 (2-bit shift)
SHLR — 0 0 N = Rm
Z = Rm · Rm–1 ·
......
· R0
C = D0 (1-bit shift) or C = D1 (2-bit shift)
SLEEP —————
STC —————
STM —————