Sonic Alert msm80154s user manual ANL C,/bit address Logical and complement bit to carry flag, 261

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 268
Image 268

DESCRIPTION OF INSTRUCTIONS

16. ANL C,/bit address (Logical AND complement bit to carry flag)

 

 

 

7

 

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

 

1

 

0

 

1

 

1

 

0

0

0

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 complement of

 

 

specified bit address contents is determined. The result is

 

 

placed in the carry flag.

 

 

 

 

 

Example ANL C,/P1.3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

Instruction code

:

1

0

1

1

0

0

0

0

 

Byte 1

 

 

 

 

7

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

1

0

0

1

0

0

1

1

 

Byte 2

 

 

 

Before execution Carry flag

1

After execution Carry flag

0

Port 1

 

 

 

 

 

 

 

Port 1

 

 

 

 

 

 

0

0

0

0

 

1

0

1

0

 

0

0

0

0

 

1

0

1

0

7

 

 

 

3

 

 

0

7

 

 

 

3

 

 

0

261

Page 268
Image 268
Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual ANL C,/bit address Logical and complement bit to carry flag, 261