M8048/M8748/M8035L
INSTRUCTION SET
Mnemonic
Description Bytes Cycle
Mnemonic
Description Bytes Cycles
..
ADD
A,
R Add register
to
A
ADD
A,@R
Add data memory to A
c
CALLaddr
Jump to subroutine
:;
e
RET Return 2
ADD
A,
#data
Add immediate to A
'"
RETR Return and restore status 2
::J
ADDC
A,
R Add register with
carry
<II
ADDC
A,@R
Add data memory with carry
CLR C
Clear carry
ADDC
A,
#data Add immediate with carry
CPL C
Complement carry
ANL
A,
R And register to A
ANLA,@R
And data memory to A
..
CLR
FO
Clear flag 0
co
Il
CPL
FO
Complement flag 0
ANL
A,
#data And immediate to A CLR
F1
Clear flag 1
~
ORL
A,
R
Or
register to A
ORL
A,
@R
Or
data memory
to
A
::J
ORL
A,
'data
Or
immediate to A
E
XRL
A,
R Exclusive or register to A
::J
~
XRL A,
@R
Exclusive or data memory to A
CPL
F1
Complement flag 1
MOV A, R Move register
to
A
MOV
A,@R
Move data memory to a
MOV A, #data Move immediate to A
XRL
A,
#data Exclusive or immediate to A
MOV
R,
A
Move A to register
INC A Increment A
MOV@R,A
Move A to data memory
DECA
Decrement A
..
MOV
R,
#data Move immediate to register
CLR A
Clear A
CPL A
Complement A
~
MOV
@R,
#data
Move immediate to data memory
::E
MOV
A,
PSW Move PSW to A
DAA
Decimal adjust A
SWAP A Swap nibbles of A
l!
MOV
PSW,
A Move A
to
PSW
co
C
XCH
A,
R
Exchange A and register
RL A Rotate A left
XCHA,@R
Exchange A and data memory
RLC A Rotate A left through carry XCHD
A,@R
Exchange nibble of A and register
RR
A Rotate A right
MOVXA,@R
Move external data memory
to
A
RRC A
Rotate A right through carry
MOVX@R,A
Move A to external data memory
MOVPA,@A
Move to A from current page
IN
A,
P
Input
port
to A MOVP3
A,@A
Move to A from page 3
OUTL
P,
A
Output
A to port
ANL
P,
#data And immediate to port MOV
A,
T Read timer/counter
ORL
P,
#data
Or
imm~diate
to port
'S
INS
A,
BUS
Input BUS
to A
%
OUTL
BUS, A
Output
A
to
BUS
0
.,
ANL
BUS, #data
And immediate to BUS
::J
ORL BUS, #data
Or
immediate to BUS
"-
.5
MOVD
A,
P
Input expander port to A
~
MOVT,
A Load timer/counter
::J
STRT T Start timer
0
STRT CNT Start counter 0
-;:
STOP
TCNT
Stop timer/counter
..
E
EN
TCNTI Enable timer/counter interrupt
i=
DIS
TCNTI
Disable timer/counter interrupt
MOVD
P,
A
Output A to expander port
ANLD
P,
A
And A to expander port
EN
I
Enable external interrupt
ORLD
p,
A
Or
A to expander port
DIS I Disable external interrupt
i
INC
R
Increment register
INC@R
Increment data memory
:g
SEL
RBO
Select register bank 0
c
SEL
RB1
Select register bank 1
8
SEL
MBO
Select memory bank 0
..
DEC R
Decrement register
'"
SEL
MB1
Select memory ban k 1
ENTO
CLK
Enable clock output
on
TO
JMP
addr
Jump unconditional
JMPP@A
Jump indirect
NOP
No
operation
DJNZ
R,
addr
Decrement register and skip
JC
addr
Jump on carry = 1
JNC
addr
Jump
on
carry = 0
JZ
addr
Jump on A zero
J:
JNZ
addr
Jump on A not zero
"
JTO
addr
Jump
on
TO
~
1
c
e!
JNTO
addr
Jump
on
TO
~
0
CD
JT1
addr
Jump
on
T1
~
1
JNT1
addr
Jump
on
T1
~
0
JFO
addr
Jump
on
FO
~
1
JF1
addr
Jump
on
F1
= 1
JTF
addr
Jump
on
timer flag
JNI
addr
Jump
on
INT
~
0
JBb
addr
Jump
on
accumulator bit
Mnemonics
copyright
Intel Corporation 1978
6-31
AFN-Q0780A-QS