Toshiba TLCS-90 Series Data Book page 342

8 bit microcontroller
Table of Contents

Advertisement

TOSHIBA
Appendix A Table of Machine Instructions
Appendix A Table of Machine Instructions (2/11)
I Instructionl
Mnemonic
ILDA rr,mem ILDA
rr,ix+d
I
ILDA
rr,HL+A
I
Code
I
IF4+ix:d:3B+rr Irr<-ix+d
IF7:3B+rr
Irr<-HL+A
Function
I SZIHXVNC I T
1--------1 10
1--------1 14
3.
Exchange, block transfer and search
I Instruction I
Mnemonic
I
Code
I
Function
1 SZIHXVNC I T
I
I
EX
DE,RL
108
IDE<->RL
1--------1
2
lEX
rr,rr
lEX AF,AF'
109
IAF<-->AF'
1--------1
2
I
IEXX
lOA
I BC/DE/HL<->BC'/DE'/HL'
1--------1
2
I
1-----------1---------------1--------------1-------------------------------1--------1-----1
EX
(gg),rr
IEO+gg:50+rr
I (gg)W<-->rr
1--------114
I
EX
(ix+d),rr
IFO+ix:d:50+rr l(ix+d)W<-->rr
1--------1
IB
I
EX
mem,rr
EX
(HL+A),rr
IF3:50+rr
1 (HL+A)W<-->rr
1--------1 22
I
EX
(mn),rr
IE3:n:m:50+rr
I (mn)W<-->rr
1--------1 18
I
EX
(n),rr
IE7:n:50+rr
1 (n)W<-->rr
1--------116
1
----------- ---------------1--------------1-------------------------------1--------1-----1
LDI
LDI
IFE:5B
I (DE)<-(HL)
1---0-MO-114
I
I
I DE<-DE+l
I
I
I
I
I HL<-RL+l
I
I
I
I
I BC<-BC-l
I
I
I
----------- ---------------1--------------1-------------------------------1--------1-----1
LDIR
LDIR
IFE:59
I (DE)<-(RL)
1---0-00-118/141 <- repe
I
I DE<-DE+l
I
I
I /no rep
I
IHL<-HL+l
I
I
I
I
I
I BC<-BC-l, Repeat until BC-O.
I
I
I
-----------1---------------1--------------1-------------------------------1--------1-----1
LDD
I LDD
I FE: 5A
I (DE )<- (HL)
I---O-MO-I 14
I
I
I
IDE<-DE-l
I
I
I
I
I
IHL<-RL-l
I
I
I
I
I
I BC<-BC-l
1
I
I
-----------1---------------1--------------1-------------------------------1--------1-----1
LDDR
ILDDR
IFE:5B
I (DE)<-(RL)
1---0-00-IIB/141 <- repe
I
I
I
IDE<-DE-l
I
I
I /no rep
I
I
I
IHL<-HL-l
I
I
I
I
I
I
I BC<-BC-l, Repeat until BC=O.
1
I
I
1-----------1---------------1--------------1-------------------------------1--------1-----1
ICPI
ICPI
IFE:5C
IA-(HL)
I*N-**MI-1 14
I
I
I
I
IRL<-HL+l
I
I
I
I
I
I
I BC<-BC-l
I
I
I
1-----------1---------------1--------------1-------------------------------1--------1-----1
I CPIR
I CPIR
I FE: 5D
I A- (HL)
I *N-**MI-118/ 141 <- repe
I
I
I
IRL<-HL+l
I
1
I /no
re~
I
I
I
I BC<-BC-l
I
I
I
I
I
I
I Repeat until A=(RL) or BC=O.
I
I
I
1-----------1---------------1--------------1-------------------------------1--------1-----1
ICPD
ICPD
IFE:5E
IA-(RL)
I*N-**MI-1 14
I
I
I
I
I HL<-RL-l
I
I
I
I
I
I
I BC<-BC-l
I
I
I
1-----------1---------------1--------------1-------------------------------1--------1-----1
ICPDR
ICPDR
IFE:5F
IA-(RL)
I*N-**MI-IIB/141 <- repe
I
I
I
I HL<-RL-l
I
I
I /no rep
I
I
I
I BC<-BC-l
I
I
I
I
I
I
I Repeat until A=(RL) or BC-O.
I
I
I
(Note)
Flag M:
If BC=O after execution, P/V flag is 0, and otherwise 1.
Flag N:
If A=(RL), Z flag is I, and otherwise
o.
Appendix-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents