User's Manual

DESCRIPTION OF INSTRUCTIONS
263
18. ANL data address, A (Logical AND accumulator to memory)
01010010
70
Instruction code
Data address
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example ANL TCON, A
Instruction code
: Byte 1
(data address)(data address) AND (A):
C AC F0 RS1 RS0 OV F1 P
:
:
:
The logical AND between the accumulator and the specified
data address contents is determined. The result is placed in the
specified data address.
:
01010010
70
Byte 1
Accumulator
01011010
70
2
1
10001000
70
Byte 2
Before execution
Accumulator
01011010
70
After execution
:
a7 a6 a5 a4 a3 a2 a1 a0
70
Byte 2
TCON
10110101
70
TCON
00010000
70