MSM80C154S/83C154S/85C154HVS

27. CPL C (Complement carry flag)

 

 

 

7

 

 

 

 

 

 

 

 

 

0

Instruction code

:

 

1

0

1

1

 

 

0

0

1

 

1

Operation

: (C)(C)

 

 

 

 

 

 

 

 

 

Number of bytes

: 1

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 1

 

 

 

 

 

 

 

 

 

 

 

Flags

:

 

C

AC

F0

RS1

 

 

RS0

OV

F1

P

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: The carry flag is set to 1 if 0, set to 0 if 1.

 

Example CPL C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

 

 

 

0

 

 

 

 

 

 

 

Byte 1

Instruction code

:

1 0 1 1 0 0 1 1 Byte 1

Before execution Carry flag

1

Carry flag 0

After execution Carry flag

0

Carry flag 1

276

Page 283
Image 283
Sonic Alert msm80154s, msm83c154s, msm85c154hvs user manual MSM80C154S/83C154S/85C154HVS CPL C Complement carry flag, 276