DESCRIPTION OF INSTRUCTIONS

18. ANL data address, A (Logical AND accumulator to memory)

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

0

 

1

 

0

 

1

 

0

0

1

 

0

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

0

 

Data address

 

a7

a6 a5 a4

 

a3 a2 a1

a0

Byte 2

Operation

: (data address)(data address) AND (A)

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: The logical AND between the accumulator and the specified

 

 

data address contents is determined. The result is placed in the

 

 

specified data address.

 

 

 

 

 

 

Example ANL TCON, A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

Instruction code

:

0

1

0

1

0

0

1

0

 

Byte 1

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

1

0

0

0

1

0

0

0

 

Byte 2

 

 

 

 

Before execution Accumulator

0 1 0 1 1 0 1 0

70 TCON

1 0 1 1 0 1 0 1

70

After execution Accumulator

0 1 0 1 1 0 1 0

70 TCON

0 0 0 1 0 0 0 0

70

263

Page 270
Image 270
Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual ANL data address, a Logical and accumulator to memory, 263