scf

Arithmetic // SCF (Set Carry Flag)

0x37 - u55

Description

Sets the carry flag.

T States Bytes
4 1

Condition Bits Affected

S unaffected
Z unaffected
H reset
P/V unaffected
N reset
C set

source
{
  "flags": {
    "S": "unaffected",
    "Z": "unaffected",
    "H": "reset",
    "P/V": "unaffected",
    "N": "reset",
    "C": "set"
  },
  "operation": "scf",
  "opcode": "scf",
  "operand": [],
  "code": "37",
  "bytes": 1,
  "time": 4,
  "description": "Sets the carry flag.",
  "category": "Arithmetic",
  "subCategory": "SCF (Set Carry Flag)"
}