LOGIC OPERATION
DESCRIPTION
AND REGISTER TO ACC
MNEMONIC
ANL A, Rn
BYT CYC
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
2
3
3
2
4
4
2
3
3
2
4
4
2
3
3
2
4
4
1
2
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
XRL A, direct
XRL A, @Ri
XRL A, #data
XRL direct, A
XRL direct, #data
CLR A
AND DIRECT BYTE TO ACC
AND INDIRECT RAM TO ACC
AND IMMEDIATE DATA TO ACC
AND ACC TO DIRECT BYTE
AND IMMEDIATE DATA TO DIRECT BYTE
OR REGISTER TO ACC
OR DIRECT BYTE TO ACC
OR INDIRECT RAM TO ACC
OR IMMEDIATE DATA TO ACC
OR ACC TO DIRECT BYTE
OR IMMEDIATE DATA TO DIRECT BYTE
EXCLUSIVE-OR REGISTER TO ACC
EXCLUSIVE-OR DIRECT BYTE TO ACC
EXCLUSIVE-OR INDIRECT RAM TO ACC
EXCLUSIVE-OR IMMEDIATE DATA TO ACC
EXCLUSIVE-OR ACC TO DIRECT BYTE
EXCLUSIVE-OR IMMEDIATE DATA TO DIRECT BYTE
CLEAR ACC
COMPLEMENT ACC
ROTATE ACC LEFT
ROTATE ACC LEFT THROUGH THE CARRY
ROTATE ACC RIGHT
ROTATE ACC RIGHT THROUGH THE CARRY
SWAP NIBBLES WITHIN THE ACC
CPL A
RL A
RLC A
RR A
RRC A
SWAP A
BOOLEAN VARIABLE MANIPULATION
DESCRIPTION
CLEAR CARRY
CLEAR DIRECT BIT
SET CARRY
MNEMONIC
CLR C
CLR bit
SETB C
SETB bit
BYT CYC
1
2
1
2
1
2
2
2
2
2
2
2
1
4
1
4
1
4
3
3
3
3
3
4
SET DIRECT BIT
COMPLEMENT CARRY
CPL C
CPL bit
COMPLEMENT DIRECT BIT
AND DIRECT BIT TO CARRY
AND COMPLEMENT OF DIRECT BIT TO CARRY
OR DIRECT BIT TO CARRY
OR COMPLEMENT OF DIRECT BIT TO CARRY
MOVE DIRECT BIT TO CARRY
MOVE CARRY TO DIRECT BIT
ANL C, bit
ANL C, /bit
ORL C, bit
ORL C, /bit
MOV C, bit
MOV bit, C
BOOLEAN VARIABLE BRANCH
DESCRIPTION
JUMP IF CARRY IS SET
JUMP IF CARRY NOT SET
JUMP IF DIRECT BIT IS SET
MNEMONIC
JC rel
JNC rel
JB bit, rel
JNB bit, rel
JBC bit, rel
BYT CYC
2
2
3
3
3
3
3
4
4
5
JUMP IF DIRECT BIT NOT SET
JUMP IF DIRECT BIT IS SET AND THEN CLEAR BIT
66
MPC82x54A Data Sheet
MEGAWIN