0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
nasm/x86/x86const.h
H. Peter Anvin 4f0d89dbe6 apx: modify the tokenizer to be able to handle {dfv=...}
The {dfv=} prefix sequences for the CCMP and CTEST instructions need
special handling in the parser. This means a fair bit of new magic in
the handler of the parser, but it just adds to the fun.

Try to make this as general as possible, so we can use it for other
things.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2024-07-27 17:57:08 -07:00

15 lines
248 B
C

#ifndef NASM_X86CONST_H
#define NASM_X86CONST_H
/*
* Values used for the DFV bits in the CCMPcc and CTESTcc instructions.
*/
enum dfv_mask {
DFV_CF = 1,
DFV_ZF = 2,
DFV_SF = 4,
DFV_OF = 8
};
#endif /* NASM_X86CONST_H */