MSM80C154S/83C154S/85C154HVS
256
11. ANL A, #data (Logical AND immediate data to accumulator)
01010100
70
Instruction code
#data
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ANL A, #0AH
Instruction code
: Byte 1
I7 I6 I5 I4 I3 I2 I1 I0
70
Byte 2
(A)←(A) AND #data:
C AC F0 RS1 RS0 OV F1 P
•
:
:
:
The logical AND between an 8-bit immediate data value and the
accumulator contents is determined. The result is placed in the
accumulator and the flag is updated.
:
01010100
70
Byte 1
Accumulator
10111101
70
2
1
00001010
70
Byte 2
Before execution
Accumulator
00001000
70
After execution
: