A-1
APPENDIX A
EFLAGS CROSS-REFERENCE
The cross-reference in Table A-1 summarizes how the flags in the processors EFLAGS register
are affected by each instruction. For detailed information on how flags are affected, refer to
Chapter 3, Instruction Set Reference of the Intel Architecture Software Developers Manual, Vol-
ume 2. The following codes describe how the flags are affected:
T
Instruction tests flag.
M
Instruction modifies flag (either sets or resets depending on operands).
0
Instruction resets flag.
1
Instruction sets flag.
Instructions effect on flag is undefined.
R
Instruction restores prior value of flag.
Blank
Instruction does not affect flag.
Table A-1. EFLAGS Cross-Reference
Instruction
OFSFZFAFPFCFTFIFDFNTRF
AAA
TMM
AAD
MMM
AAM
MMM
AAS
TMM
ADC
MMMMMTM
ADD
MMMMMM
AND
0MMM0
ARPL
M
BOUND
BSF/BSR
M
BSWAP
BT/BTS/BTR/BTC
M