Table A-7
Condition Code Modification (cont)
Instruction
H
N
ROTXL
—
ROTXR
—
RTE
RTS
— — — — —
SHAL
—
SHAR
—
SHLL
—
SHLR
— 0
SLEEP
— — — — —
STC
— — — — —
STM
— — — — —
STMAC
698
Z
V
C
Definition
0
N = Rm
Z = Rm · Rm–1 · ...... · R0
C = Dm (1-bit shift) or C = Dm–1 (2-bit shift)
0
N = Rm
Z = Rm · Rm–1 · ...... · R0
C = D0 (1-bit shift) or C = D1 (2-bit shift)
Stores the corresponding bits of the result.
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)
0
N = Rm
Z = Rm · Rm–1 · ...... · R0
C = D0 (1-bit shift) or C = D1 (2-bit shift)
0
N = Rm
Z = Rm · Rm–1 · ...... · R0
C = Dm (1-bit shift) or C = Dm–1 (2-bit shift)
0
N = Rm
Z = Rm · Rm–1 · ...... · R0
C = D0 (1-bit shift) or C = D1 (2-bit shift)
Cannot be used in the H8S/2338 Series, H8S/2328 Series,
or H8S/2318 Series