Zydis: CPU flags

Zydis v4.0.0

Loading...
Searching...
No Matches
Macros
CPU flags
Decoder

Constants used for testing CPU flags accessed by an instruction. More...

## Macros
#define | ZYDIS_CPUFLAG_CF (1ul << 0)
| Carry flag.
#define | ZYDIS_CPUFLAG_PF (1ul << 2)
| Parity flag.
#define | ZYDIS_CPUFLAG_AF (1ul << 4)
| Adjust flag.
#define | ZYDIS_CPUFLAG_ZF (1ul << 6)
| Zero flag.
#define | ZYDIS_CPUFLAG_SF (1ul << 7)
| Sign flag.
#define | ZYDIS_CPUFLAG_TF (1ul << 8)
| Trap flag.
#define | ZYDIS_CPUFLAG_IF (1ul << 9)
| Interrupt enable flag.
#define | ZYDIS_CPUFLAG_DF (1ul << 10)
| Direction flag.
#define | ZYDIS_CPUFLAG_OF (1ul << 11)
| Overflow flag.
#define | ZYDIS_CPUFLAG_IOPL (1ul << 12)
| I/O privilege level flag.
#define | ZYDIS_CPUFLAG_NT (1ul << 14)
| Nested task flag.
#define | ZYDIS_CPUFLAG_RF (1ul << 16)
| Resume flag.
#define | ZYDIS_CPUFLAG_VM (1ul << 17)
| Virtual 8086 mode flag.
#define | ZYDIS_CPUFLAG_AC (1ul << 18)
| Alignment check.
#define | ZYDIS_CPUFLAG_VIF (1ul << 19)
| Virtual interrupt flag.
#define | ZYDIS_CPUFLAG_VIP (1ul << 20)
| Virtual interrupt pending.
#define | ZYDIS_CPUFLAG_ID (1ul << 21)
| Able to use CPUID instruction.

## Detailed Description

Constants used for testing CPU flags accessed by an instruction.