KS57C2308/P2308/C2316/P2316SAM47 INSTRUCTION SET

SCF — Set Carry Flag

SCF

 

 

 

 

 

 

 

 

 

Operation:

Operand

Operation Summary

Bytes

Cycles

 

 

 

 

 

 

Set carry flag to logic one

1

1

 

 

 

 

 

Description: The SCF instruction sets the carry flag to logic one, regardless of its previous value.

Operand

 

 

Binary Code

 

 

 

Operation Notation

 

 

 

 

 

 

 

 

 

 

 

1

1

1

0

0

 

1

1

1

C 1

 

 

 

 

 

 

 

 

 

 

 

Example: If the carry flag is cleared to logic zero, the instruction

SCF

sets the carry flag to logic one.

5-83

Page 157
Image 157
Samsung KS57C2308 manual SCF Set Carry Flag, Scf