diff options
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -71,7 +71,7 @@ enum OpMode {iABC, iABx, iAsBx, iAx, isJ}; /* basic instruction formats */ | |||
71 | #if L_INTHASBITS(SIZE_Bx) | 71 | #if L_INTHASBITS(SIZE_Bx) |
72 | #define MAXARG_Bx ((1<<SIZE_Bx)-1) | 72 | #define MAXARG_Bx ((1<<SIZE_Bx)-1) |
73 | #else | 73 | #else |
74 | #define MAXARG_Bx MAX_INT | 74 | #define MAXARG_Bx INT_MAX |
75 | #endif | 75 | #endif |
76 | 76 | ||
77 | #define OFFSET_sBx (MAXARG_Bx>>1) /* 'sBx' is signed */ | 77 | #define OFFSET_sBx (MAXARG_Bx>>1) /* 'sBx' is signed */ |
@@ -80,13 +80,13 @@ enum OpMode {iABC, iABx, iAsBx, iAx, isJ}; /* basic instruction formats */ | |||
80 | #if L_INTHASBITS(SIZE_Ax) | 80 | #if L_INTHASBITS(SIZE_Ax) |
81 | #define MAXARG_Ax ((1<<SIZE_Ax)-1) | 81 | #define MAXARG_Ax ((1<<SIZE_Ax)-1) |
82 | #else | 82 | #else |
83 | #define MAXARG_Ax MAX_INT | 83 | #define MAXARG_Ax INT_MAX |
84 | #endif | 84 | #endif |
85 | 85 | ||
86 | #if L_INTHASBITS(SIZE_sJ) | 86 | #if L_INTHASBITS(SIZE_sJ) |
87 | #define MAXARG_sJ ((1 << SIZE_sJ) - 1) | 87 | #define MAXARG_sJ ((1 << SIZE_sJ) - 1) |
88 | #else | 88 | #else |
89 | #define MAXARG_sJ MAX_INT | 89 | #define MAXARG_sJ INT_MAX |
90 | #endif | 90 | #endif |
91 | 91 | ||
92 | #define OFFSET_sJ (MAXARG_sJ >> 1) | 92 | #define OFFSET_sJ (MAXARG_sJ >> 1) |