MC96FR116C
November, 2018 Rev.1.8
195
XRL A, @Ri
Exclusive-OR indirect memory to A
1
1
66-67
XRL A,#data
Exclusive-OR immediate to A
2
1
64
XRL dir,A
Exclusive-OR A to direct byte
2
1
62
XRL dir,#data
Exclusive-OR immediate to direct byte
3
2
63
CLR A
Clear A
1
1
E4
CPL A
Complement A
1
1
F4
SWAP A
Swap Nibbles of A
1
1
C4
RL A
Rotate A left
1
1
23
RLC A
Rotate A left through carry
1
1
33
RR A
Rotate A right
1
1
03
RRC A
Rotate A right through carry
1
1
13
DATA TRANSFER
Mnemonic
Description
Bytes
Cycles
Hex code
MOV A,Rn
Move register to A
1
1
E8-EF
MOV A,dir
Move direct byte to A
2
1
E5
MOV A,@Ri
Move indirect memory to A
1
1
E6-E7
MOV A,#data
Move immediate to A
2
1
74
MOV Rn,A
Move A to register
1
1
F8-FF
MOV Rn,dir
Move direct byte to register
2
2
A8-AF
MOV Rn,#data
Move immediate to register
2
1
78-7F
MOV dir,A
Move A to direct byte
2
1
F5
MOV dir,Rn
Move register to direct byte
2
2
88-8F
MOV dir,dir
Move direct byte to direct byte
3
2
85
MOV dir,@Ri
Move indirect memory to direct byte
2
2
86-87
MOV dir,#data
Move immediate to direct byte
3
2
75
MOV @Ri,A
Move A to indirect memory
1
1
F6-F7
MOV @Ri,dir
Move direct byte to indirect memory
2
2
A6-A7
MOV @Ri,#data
Move immediate to indirect memory
2
1
76-77
MOV DPTR,#data
Move immediate to data pointer
3
2
90
MOVC A,@A+DPTR
Move code byte relative DPTR to A
1
2
93
MOVC A,@A+PC
Move code byte relative PC to A
1
2
83
MOVX A,@Ri
Move external data(A8) to A
1
2
E2-E3
MOVX A,@DPTR
Move external data(A16) to A
1
2
E0
MOVX @Ri,A
Move A to external data(A8)
1
2
F2-F3
MOVX @DPTR,A
Move A to external data(A16)
1
2
F0
PUSH dir
Push direct byte onto stack
2
2
C0
POP dir
Pop direct byte from stack
2
2
D0
XCH A,Rn
Exchange A and register
1
1
C8-CF
XCH A,dir
Exchange A and direct byte
2
1
C5
XCH A,@Ri
Exchange A and indirect memory
1
1
C6-C7
XCHD A,@Ri
Exchange A and indirect memory nibble
1
1
D6-D7
BOOLEAN
Mnemonic
Description
Bytes
Cycles
Hex code
CLR C
Clear carry
1
1
C3
CLR bit
Clear direct bit
2
1
C2
SETB C
Set carry
1
1
D3
SETB bit
Set direct bit
2
1
D2
CPL C
Complement carry
1
1
B3
CPL bit
Complement direct bit
2
1
B2