next up previous contents index
Next: 10.3.3 proc_reg.h: Processor register Up: (X86) Generic Low-level Definitions Previous: 10.3.1 asm.h: assembly language

10.3.2 eflags.h: Processor flags register definitions

 

SYNOPSIS

#include <oskit/x86/eflags.h>

DESCRIPTION

XXX

This header file can be used in assembly language code as well as C. The flags defined here correspond the the ones in the processor databooks.

EFL_CF
carry
EFL_PF
parity of low 8 bits
EFL_AF
carry out of bit 3
EFL_ZF
zero
EFL_SF
sign
EFL_TF
trace trap
EFL_IF
interrupt enable
EFL_DF
direction
EFL_OF
overflow
EFL_IOPL
IO privilege level mask. All 0's is the same as EFL_IOPL_KERNEL, while all 1's (or just EFL_IOPL) is the same as EFL_IOPL_USER.
EFL_NT
nested task
EFL_RF
resume without tracing
EFL_VM
virtual 8086 mode
EFL_AC
alignment check
EFL_VIF
virtual interrupt flag
EFL_VIP
virtual interrupt pending
EFL_ID
CPUID instruction support



University of Utah Flux Research Group