English
Language : 

E202075_HD404889 Datasheet, PDF (174/202 Pages) Renesas Technology Corp – Low-Voltage AS Microcomputers with On-Chip LCD Circuit
HD404889/HD404899/HD404878/HD404868 Series
Table 36 Compare Instructions
Operation
Immediate not equal to
memory
Immediate not equal to
memory
A not equal to memory
A not equal to memory
Mnemonic
INEM i
INEMD i,d
ANEM
ANEMD d
B not equal to memory
Y not equal to immediate
Immediate less than or
equal to memory
Immediate less than or
equal to memory
A less than or equal to
memory
A less than or equal to
memory
B less than or equal to
memory
A less than or equal to
immediate
BNEM
YNEI i
ILEM i
ILEMD i,d
ALEM
ALEMD d
BLEM
ALEI i
Operation Code
0 0 0 0 1 0 i3 i2 i1 i0
Function
i≠M
0 1 0 0 1 0 i3 i2 i1 i0
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
0 0 0 0 0 00 1 0 0
0 1 0 0 0 00 1 0 0
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
0 0 0 1 0 00 1 0 0
0 0 0 1 1 1 i3 i2 i1 i0
0 0 0 0 1 1 i3 i2 i1 i0
i≠M
A≠M
A≠M
B≠M
Y≠i
i≤M
0 1 0 0 1 1 i3 i2 i1 i0
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
0 0 0 0 0 10 1 0 0
i≤M
A≤M
0 1 0 0 0 10 1 0 0
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
0 0 1 1 0 00 1 0 0
A≤M
B≤M
1 0 1 0 1 1 i3 i2 i1 i0
A≤i
Status
NZ
Words/
Cycles
1/1
NZ
2/2
NZ
1/1
NZ
2/2
NZ
1/1
NZ
1/1
NB
1/1
NB
2/2
NB
1/1
NB
2/2
NB
1/1
NB
1/1
Table 37 RAM Bit Manipulation Instructions
Operation
Set memory bit
Set memory bit
Reset memory bit
Reset memory bit
Test memory bit
Test memory bit
Mnemonic
SEM n
SEMD n,d
REM n
REMD n,d
TM n
TM n,d
Operation Code
0 0 1 0 0 0 0 1 n1 n0
0 1 1 0 0 0 0 1 n1 n0
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
0 0 1 0 0 0 1 0 n1 n0
0 1 1 0 0 0 1 0 n1 n0
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
0 0 1 0 0 0 1 1 n1 n0
0 1 1 0 0 0 1 1 n1 n0
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
Function
i → M (n)
i → M (n)
0 → M (n)
0 → M (n)
Words/
Status Cycles
1/1
2/2
1/1
2/2
M (n) 1/1
M (n) 2/2
172