KernOS
FLAGS Namespace Reference

CPU Flags register. More...

Enumerations

enum  : uint32_t {
  CF = 0x0001, PF = 0x0004, AF = 0x0010, ZF = 0x0040,
  SF = 0x0080, TF = 0x0100, IF = 0x0200, DF = 0x0400,
  OF = 0x0800, RF = 0x0001'0000, VM = 0x0002'0000, AC = 0x0004'0000,
  VIF = 0x0008'0000, VIP = 0x0010'0000, ID = 0x0020'0000
}
 

Detailed Description

CPU Flags register.

See also
FLAGS register in x86 microprocessor

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint32_t
Enumerator
CF 

carry flag

PF 

parity flag

AF 

adjust flag

ZF 

zero flag

SF 

sign flag

TF 

trap flag

IF 

interrupt enable flag

DF 

direction flag

OF 

overflow flag

RF 

resume flag

VM 

virtual 8086 mode

AC 

alignment check

VIF 

virtual interrupt flag

VIP 

virtual interrupt pending

ID 

cpuid supported

Definition at line 53 of file registers.h.