mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
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>
15 lines
248 B
C
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 */
|