Define flags more clearly
This commit is contained in:
parent
19b80b71ff
commit
016e5b682a
@ -62,10 +62,12 @@ typedef uint32_t ArchOperand;
|
|||||||
|
|
||||||
/* flags */
|
/* flags */
|
||||||
# define AOF_FILTER 0x1
|
# define AOF_FILTER 0x1
|
||||||
# define AOF_IMPLICIT 0x1 /* for registers */
|
# define AOF_SOFFSET 0x2
|
||||||
# define AOF_SIGNED 0x2 /* for immediate */
|
/* for immediate */
|
||||||
# define AOF_SOFFSET 0x4
|
# define AOF_SIGNED 0x4
|
||||||
# define AOF_OFFSETSIZE 0x8 /* for registers */
|
/* for registers */
|
||||||
|
# define AOF_IMPLICIT 0x4
|
||||||
|
# define AOF_OFFSETSIZE 0x8
|
||||||
|
|
||||||
/* macros */
|
/* macros */
|
||||||
# define AO_GET_FLAGS(operand) ((operand & AOM_FLAGS) >> AOD_FLAGS)
|
# define AO_GET_FLAGS(operand) ((operand & AOM_FLAGS) >> AOD_FLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user