SM5964B
8-Bit Micro-controller
64KB with ISP Flash
& 1KB RAM embedded
Table 2-2: Logic operations
Mnemonic
ANL A,Rn
Description
Code
58-5F
55
Bytes Cycles
AND register to accumulator
1
2
1
2
2
3
1
2
1
2
2
3
1
2
1
2
2
3
1
1
1
1
1
1
1
1
1
1
1
1
2
1
1
1
1
1
2
1
1
1
1
1
2
1
1
1
1
1
1
1
ANL A,direct
ANL A,@Ri
ANL A,#data
ANL direct,A
ANL direct,#data
ORL A,Rn
ORL A,direct
ORL A,@Ri
ORL A,#data
ORL direct,A
ORL direct,#data
XRL A,Rn
AND direct byte to accumulator
AND indirect RAM to accumulator
AND immediate data to accumulator
AND accumulator to direct byte
AND immediate data to direct byte
OR register to accumulator
56-57
54
52
53
48-4F
45
OR direct byte to accumulator
OR indirect RAM to accumulator
OR immediate data to accumulator
OR accumulator to direct byte
46-47
44
42
OR immediate data to direct byte
Exclusive OR register to accumulator
Exclusive OR direct byte to accumulator
Exclusive OR indirect RAM to accumulator
Exclusive OR immediate data to accumulator
Exclusive OR accumulator to direct byte
Exclusive OR immediate data to direct byte
Clear accumulator
43
68-6F
65
XRL A,direct
XRL A,@Ri
XRL A,#data
XRL direct,A
XRL direct,#data
CLR A
66-67
64
62
63
E4
CPL A
Complement accumulator
F4
RL A
Rotate accumulator left
23
RLC A
Rotate accumulator left through carry
Rotate accumulator right
33
RR A
03
RRC A
Rotate accumulator right through carry
Swap nibbles within the accumulator
13
SWAP A
C4
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M081 Ver A SM5964B 3/7/2014
- 14 -