mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-24 19:00:23 +08:00
parser.c: Drop space line and use hex notation
For big numbers it's easier to estimate bytes count if they are written in hex notation. Let it be so. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
21d4ccc3c3
commit
68a344003a
5
parser.c
5
parser.c
@ -868,10 +868,9 @@ is_expression:
|
||||
result->oprs[operand].type |= SBYTE16;
|
||||
if ((uint64_t)v64 <= UINT64_C(0xffffffff))
|
||||
result->oprs[operand].type |= UDWORD64;
|
||||
if (v64 >= -INT64_C(2147483648) &&
|
||||
v64 <= INT64_C(2147483647))
|
||||
if (v64 >= -INT64_C(0x80000000) &&
|
||||
v64 <= INT64_C(0x7fffffff))
|
||||
result->oprs[operand].type |= SDWORD64;
|
||||
|
||||
}
|
||||
}
|
||||
} else { /* it's a register */
|
||||
|
Loading…
x
Reference in New Issue
Block a user