www
.mcu.com.cn
238
/
239
Rev.
1.00
CMS80F731x Reference Manual
Mnemonics
description
RL
A
The accumulator is shifted in the left loop
RLC
A
The accumulator is even the carry flag for a left loop shift
RR
A
The accumulator is shifted in the right loop
RR RC
A
The accumulator is connected to the carry mark right loop shift
SWAP
A
The accumulator is swapped 4 bits high and 4 bits low
Data transfer class
MOV
A,R
n
Registers are transferred to the accumulator
MOV
A,direct
The direct addressing unit is transferred to the accumulator
MOV
A,@Ri
Indirectly addressed RAM feed accumulator
MOV
A,#data
Immediately count the accumulators
MOV
Rn,A
Accumulator feed register
MOV
Rn,direct
Direct addressing unit feed register
MOV
Rn,#data
Immediately count the send registers
MOV
direc
t,A
The accumulator sends a direct addressing unit
MOV
direc
t,R
n
Registers send direct addressing units
MOV
d irect1,direct2
The direct address unit is transferred to the direct addressing unit
MOV
d irec t,@Ri
Indirectly addressed RAM feeds direct addressing units
MOV
d irect,#data
Immediately count the number of direct addressed units
MOV
@Ri,A
The accumulator sends indirectly addressed RAM
MOV
@R i,direct
The direct addressing unit sends indirectly addressed RAM
MOV
@Ri,#datake
Immediately send indirect addressed RAM
MOV
DPTR,#data16
The 16-bit immediate number sends a data pointer
MOVC
A,@A+DPTR
Lookup table data feed accumulator (DPTR as base address)
MOVC
A,@A+PC
Lookup table data feed accumulator (PC as base address)
MOVX
A,@Rto
External RAM unit feed accumulator (8-bit address)
MOVX
A,@DPTR
External RAM unit feed accumulator (16-bit address)
MOVX
@Ri,A
Accumulator feeds external RAM unit (8-bit address)
MOVX
@DPTR,A
Accumulator to external RAM unit (16-bit address)
PUSH
direct
The direct addressing unit is pressed into the top of the stack
POP
direct
A direct addressing unit pops up at the top of the stack
XCH
A,Rn
The accumulator is exchanged with the registers
XCH
A, direct
The accumulator is swapped with the direct addressing unit RAM
XCH
A,@Ri
The accumulator is swapped with the indirect addressing unit RAM
XCHD
A,@Ri
The accumulator swaps 4 bits lower with the indirect addressing unit RAM
Boolean operation class
CLR
C
C Clear Zero
CLR
bit
The direct address bit is cleared to zero
SETB
C
C set
SETB
bit
Direct addressing location bits
CPL
C
C takes the reverse
CPL
bit
Direct addressing bits are reversed
ANL
C,bit
C logic with direct addressing bits
ANL
C,/bit
C logic is inverse with direct addressing bits
ORL
C,bit
C logical or direct addressing bits
ORL
C,/bit
C logic or the inverse of the direct addressing bit
MOV
C,bit
Direct addressing bits send C
MOV
bit,C
C sends direct addressing bits
Program jump class