mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 00:32:24 +00:00
update of bootstrap files.
This commit is contained in:
parent
32ec67552f
commit
590398b27e
185 changed files with 590 additions and 570 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* voc 2.1.0 [2019/11/01]. Bootstrapping compiler for address size 8, alignment 8. xrtspaSF */
|
||||
/* voc 2.1.0 [2022/03/15]. Bootstrapping compiler for address size 8, alignment 8. xrtspaSF */
|
||||
|
||||
#define SHORTINT INT8
|
||||
#define INTEGER INT16
|
||||
|
|
@ -966,7 +966,9 @@ void Files_WriteSet (Files_Rider *R, ADDRESS *R__typ, UINT32 x)
|
|||
{
|
||||
CHAR b[4];
|
||||
INT32 i;
|
||||
i = (INT32)x;
|
||||
UINT64 y;
|
||||
y = x;
|
||||
i = __VAL(INT32, y);
|
||||
b[0] = __CHR(i);
|
||||
b[1] = __CHR(__ASHR(i, 8));
|
||||
b[2] = __CHR(__ASHR(i, 16));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue