Intel 64 and IA-32 Architectures Software Developers Manual Volume 1, Basic Architecture
Vol. 1 A-1
APPENDIX A
EFLAGS CROSS-REFERENCE
A.1 EFLAGS AND INSTRUCTIONS
Table A-2 summarizes how the instructions affect the flags in the EFLAGS register.
The following codes describe how the flags are affected.
Table A-1. Codes Describing Flags
T Instruction tests flag.
M Instruction modifies flag (either sets or resets depending on operands).
0 Instruction resets flag.
1 Instruction sets flag.
— Instruction's effect on flag is undefined.
R Instruction restores prior value of flag.
Blank Instruction does not affect flag.
Table A-2. EFLAGS Cross-Reference
Instruction OFSFZFAFPFCFTFIF DFNTRF
AAA ———TM—M
AAD — M M — M —
AAM — M M — M —
AAS ———TM—M
ADC MMMMMTM
ADD MMMMMM
AND 0 M M — M 0
ARPL M
BOUND
BSF/BSR — — M — — —
BSWAP
BT/BTS/BTR/BTC —————M
CALL
CBW