MicroprocessorBasedSystems Term-II Lec7 LogicOperations and ExternalPeripheralInterface 8255
MicroprocessorBasedSystems Term-II Lec7 LogicOperations and ExternalPeripheralInterface 8255
ANL destination,source
;dest = dest AND source
▪ This instruction will perform a logic AND on
the two operands and place the result in the
destination
▪ The destination is normally the accumulator
▪ The source operand can be a register, in memory,
or immediate
XRL destination,source
;dest = dest XOR source
▪ This instruction will perform XOR operation
on the two operands and place the result in
the destination
▪ The destination is normally the accumulator
▪ The source operand can be a register, in memory,
or immediate
D7 D0
D7 D0
D7 D0
D7 D0
AGAIN
OUTPUT :