beautypg.com

Set carry flag – Zilog Z86193 User Manual

Page 234

background image

Z8

®

CPU

User Manual

UM001604-0108

Instruction Description

227

Set Carry Flag

Syntax

SRC

Instruction Format

Operation

C

1

The C Flag is set to 1, regardless of its previous value.

Example

If the C Flag is currently reset, the statement:

SCF

Op Code: DF

sets the Carry Flag to 1.

Cycles

OPC

(Hex)

OPC

6

DF

Flag

Description

C

Set to 1

Z

Unaffected

S

Unaffected

V

Unaffected

D

Unaffected

H

Unaffected