DESCRIPTION OF INSTRUCTIONS
259
14. ANL A, data address (Logical AND memory to accumulator)
01010101
70
Instruction code
Data address
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ANL A, P1
Instruction code
: Byte 1
a7 a6 a5 a4 a3 a2 a1 a0
70
Byte 2
(A)←(A) AND (data address):
C AC F0 RS1 RS0 OV F1 P
•
:
:
:
The logical AND between the accumulator contents and the
specified data address contents is determined. The result is
placed in the accumulator and the flag is updated.
:
01010101
70
Byte 1
Accumulator
11100101
70
2
1
10010000
70
Byte 2
Before execution
Accumulator
10100101
70
After execution
:
Port 1
10101111
70
Port 1
10101111
70