mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 09:52:24 +00:00
Support 64 bit integer literals on all builds, and fix 64 bit Console.hex display.
This commit is contained in:
parent
7fad168e40
commit
dc699db9f5
199 changed files with 478 additions and 477 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* voc 1.95 [2016/09/14] for gcc LP64 on cygwin xtspkaSfF */
|
||||
/* voc 1.95 [2016/09/15] for gcc LP64 on cygwin xtspkaSfF */
|
||||
|
||||
#define INTEGER int32
|
||||
#define LONGINT int64
|
||||
|
|
@ -102,8 +102,9 @@ void Console_Bool (BOOLEAN b)
|
|||
|
||||
void Console_Hex (int64 i)
|
||||
{
|
||||
int64 k, n;
|
||||
k = -28;
|
||||
int32 k;
|
||||
int64 n;
|
||||
k = -60;
|
||||
while (k <= 0) {
|
||||
n = __MASK(__ASH(i, k), -16);
|
||||
if (n <= 9) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue