簡單邏輯操作指令
CLR A ; A← “0”
CPL A ; A← A
SWAP A ; A0~3 A4~7
左循環(huán)指令 (Rotate Accumulator Left)
RL A
帶進位左循環(huán)指令(Rotate Accumulator Left through Carry flag)
RLC A
右循環(huán)指令(Rotate Accumulator Right)
RR A
帶進位右循環(huán)指令(Rotate A Right with C)
RRC A
邏輯與指令
ANL A, Rn
ANL A, direct
ANL A, #data
ANL A, @Ri
ANL direct, A
ANL direct, #data
邏輯或指令
ORL A, Rn
ORL A, direct
ORL A, #data
ORL A, @Ri
ORL direct, A
ORL direct, #data
邏輯異或指令
XRL A, Rn
XRL A, direct
XRL A, #data
XRL A, @Ri
XRL direct, A
XRL direct, #data