SAM88RI INSTRUCTION SETS3C9228/P9228

SCF — Set Carry Flag

SCF

 

Operation:

C ¨ 1

 

The carry flag (C) is set to logic one, regardless of its previous value.

Flags:

C: Set to "1".

 

No other flags are affected.

Format:

Bytes Cycles Opcode (Hex)

opc

1 4 DF

Example:

The statement

 

SCF

 

sets the carry flag to logic one.

6-44

Page 360
Image 360
Samsung S3C9228/P9228, 8-Bit CMOS Microcontroller user manual SCF Set Carry Flag