MSM80C154S/83C154S/85C154HVS

15. ANL C, bit address (Logical AND bit to carry flag)

 

 

 

7

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

1

0

0

0

 

 

0

0

1

0

Byte 1

 

 

 

7

 

 

 

 

 

 

 

 

0

 

Bit address

 

 

b7

b6

b5

b4

 

 

b3

b2

b1

b0

Byte 2

Operation

: (C)(C) AND (bit address)

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

 

 

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

: The logical AND between the carry flag and the specified bit

address contents is determined. The result is placed in the carry flag.

Example ANL C, ACC.5

Instruction code

:

7

 

 

 

 

 

 

 

0

 

1

0

0

0

 

0

0

1

0

Byte 1

7

 

 

 

 

 

 

 

0

 

1

1

1

0

 

0

1

0

1

Byte 2

Before execution Carry flag

1

Accumulator

1

0

0

1

 

1

0

1

0

7

 

5

 

 

 

 

 

0

After execution Carry flag

0

Accumulator

1

0

0

1

 

1

0

1

0

7

 

5

 

 

 

 

 

0

260

Page 267
Image 267
Sonic Alert msm83c154s, msm80154s, msm85c154hvs user manual 260