Those things about CPU registers (4)-flag register

Flag register-stores a lot of flag bits, which identify a series of states during the execution of instructions by the CPU. These flags are basically automatically set and modified by the CPU. We only need to understand or remember it (except for hardware or cpu gods)

CF carry flag

PF parity flag

ZF zero flag

SF symbol mark

OF complement overflow flag

TF trace flag

IF interrupt flag

······

After reading 45 registers in one breath, the core technology of CPU is revealed

Under the x64 architecture, the original eflags register is upgraded to 64-bit rflags, but the expanded upper 32 bits are not currently used.

Guess you like

Origin blog.csdn.net/lianshaohua/article/details/109241259