Fixed flags

This commit is contained in:
Pierre Pronchery 2011-04-13 16:10:00 +00:00
parent 79f5ba0237
commit 19b80b71ff

View File

@ -64,8 +64,8 @@ typedef uint32_t ArchOperand;
# define AOF_FILTER 0x1
# define AOF_IMPLICIT 0x1 /* for registers */
# define AOF_SIGNED 0x2 /* for immediate */
# define AOF_SOFFSET 0x3
# define AOF_OFFSETSIZE 0x4 /* for registers */
# define AOF_SOFFSET 0x4
# define AOF_OFFSETSIZE 0x8 /* for registers */
/* macros */
# define AO_GET_FLAGS(operand) ((operand & AOM_FLAGS) >> AOD_FLAGS)