diff options
author | bd <bdunahu@operationnull.com> | 2025-03-30 12:33:25 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-30 12:33:25 -0400 |
commit | 6557e7e623140871968776429d241570002a65f5 (patch) | |
tree | 420c2aced8e008708ea951edf36608e0bc5d4e2c /inc/definitions.h | |
parent | 8e56373a5436852fe9c7934e03d7b57493625003 (diff) |
Setting condition code register, overflow guard
Diffstat (limited to 'inc/definitions.h')
-rw-r--r-- | inc/definitions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/definitions.h b/inc/definitions.h index 3238a8b..c81c4e3 100644 --- a/inc/definitions.h +++ b/inc/definitions.h @@ -77,6 +77,12 @@ #define OPCODE_SIZE 4 /** + * The maximum value an integer can hold. + * The minimum is always this number plus one negated. + */ +#define MAX_INT 2147483647 + +/** * Return the N least-significant bits from integer K using a bit mask * @param the integer to be parsed * @param the number of bits to be parsed |