Rev. 1.0, 02/00, page 976 of 1141
Instruc-
tion
H
N
Z
V
C
Definition
SHAL
−
N=Rm
Z=
5P
⋅
5P
04
⋅
⋅
5
3
V=Dm
⋅
Dm-1+
'P
⋅
'P
04
(In case of 1 bit)
V=Dm
⋅
Dm-1
⋅
Dm-2
⋅
'P
⋅
'P
04
⋅
'P
05
(In case of 2bits)
C=Dm
(In case of 1 bit)
, C=Dm-1
(In case of 2 bits)
SHAR
−
0
N=Rm
Z=
5P
⋅
5P
04
⋅
⋅
5
3
C=D0
(In case of 1 bit)
, C=D1
(In case of 2 bits)
SHLL
−
0
N=Rm
Z=
5P
⋅
5P
04
⋅
⋅
5
3
C=Dm
(In case of 1 bit)
, C=Dm-1
(In case of 2 bits)
SHLR
−
0
0
N=Rm
Z=
5P
⋅
5P
04
⋅
⋅
5
3
C=D0
(In case of 1 bit)
, C=D1
(In case of 2 bits)
SLEEP
−
−
−
−
−
STC
−
−
−
−
−
STM
−
−
−
−
−
STMAC
Cannot be used in this LSI.
SUB
H=Sm-4
⋅
'P
07
+
'P
07
⋅
Rm-4+Sm-4
⋅
Rm-4
N=Rm
Z=
5P
⋅
5P
04
⋅
⋅
5
3
V=
6P
⋅
Dm
⋅
5P
+Sm
⋅
'P
⋅
Rm
C=Sm
⋅
'P
+
'P
⋅
Rm+Sm
⋅
Rm
SUBS
−
−
−
−
−
SUBX
H=Sm-4
⋅
'P
07
+
'P
07
⋅
Rm-4+Sm-4
⋅
Rm-4
N=Rm
Z=Z'
⋅
5P
⋅
⋅
5
3
V=
6P
⋅
Dm
⋅
5P
+Sm
⋅
'P
⋅
Rm
C=Sm
⋅
'P
+
'P
⋅
Rm+Sm
⋅
Rm
TAS
−
0
−
N=Dm
Z=
'P
⋅
'P
04
⋅
⋅
'
3
TRAPA
−
−
−
−
−
XOR
−
0
−
N=Rm
Z=
5P
⋅
5P
04
⋅
⋅
5
3
XORC
Value in the bit corresponding to execution
result is stored. No flag change when EXR.