MSM80C154S/83C154S/85C154HVS

11. ANL A, #data (Logical AND immediate data to accumulator)

 

 

7

 

 

 

 

 

 

 

 

0

 

Instruction code

:

0

1

0

1

 

 

0

1

0

0

Byte 1

 

 

7

 

 

 

 

 

 

 

 

0

 

#data

 

I7

I6

I5

I4

 

 

I3

I2

I1

I0

Byte 2

Operation

: (A)(A) AND #data

 

 

 

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

Flags

:

C

AC

F0

RS1

 

 

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: 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.

 

 

Example ANL A, #0AH

 

 

 

 

 

 

 

 

 

 

 

 

Instruction code

:

7

 

 

 

 

 

 

 

0

 

0

1

0

1

 

0

1

0

0

Byte 1

7

 

 

 

 

 

 

 

0

 

0

0

0

0

 

1

0

1

0

Byte 2

Before execution Accumulator

1

0

1

1

 

1

1

0

1

70

After execution Accumulator

0

0

0

0

 

1

0

0

0

70

256

Page 263
Image 263
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual 256