mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 08:42:24 +00:00
parent
cc79fd7e4c
commit
7158f2169e
6 changed files with 55 additions and 7 deletions
|
|
@ -51,7 +51,15 @@ MODULE ulmTypes;
|
||||||
|
|
||||||
TYPE
|
TYPE
|
||||||
Address* = LONGINT (*SYS.ADDRESS*);
|
Address* = LONGINT (*SYS.ADDRESS*);
|
||||||
UntracedAddress* = LONGINT; (*SYS.UNTRACEDADDRESS;*)
|
(* ulm compiler can accept
|
||||||
|
VAR p : SYSTEM.ADDRESS; // SYSTEM.PTR in ETH and V4 versions
|
||||||
|
...
|
||||||
|
p := SYSTEM.ADR(something);
|
||||||
|
and this is how it is used in ulm oberon system library,
|
||||||
|
while SYSTEM.ADR returns LONGINT in ETH and V4 versions.
|
||||||
|
Thus I leave it as LONGINT for now, before coming up with better solution -- noch *)
|
||||||
|
UntracedAddress* = POINTER[1] TO UntracedAddressDesc; (*SYS.UNTRACEDADDRESS;*)
|
||||||
|
UntracedAddressDesc* = RECORD[1] END;
|
||||||
Count* = LONGINT;
|
Count* = LONGINT;
|
||||||
Size* = Count;
|
Size* = Count;
|
||||||
Byte* = SYS.BYTE;
|
Byte* = SYS.BYTE;
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,15 @@ MODULE ulmTypes;
|
||||||
|
|
||||||
TYPE
|
TYPE
|
||||||
Address* = LONGINT (*SYS.ADDRESS*);
|
Address* = LONGINT (*SYS.ADDRESS*);
|
||||||
UntracedAddress* = LONGINT; (*SYS.UNTRACEDADDRESS;*)
|
(* ulm compiler can accept
|
||||||
|
VAR p : SYSTEM.ADDRESS; // SYSTEM.PTR in ETH and V4 versions
|
||||||
|
...
|
||||||
|
p := SYSTEM.ADR(something);
|
||||||
|
and this is how it is used in ulm oberon system library,
|
||||||
|
while SYSTEM.ADR returns LONGINT in ETH and V4 versions.
|
||||||
|
Thus I leave it as LONGINT for now, before coming up with better solution -- noch *)
|
||||||
|
UntracedAddress* = POINTER[1] TO UntracedAddressDesc; (*SYS.UNTRACEDADDRESS;*)
|
||||||
|
UntracedAddressDesc* = RECORD[1] END;
|
||||||
Count* = LONGINT;
|
Count* = LONGINT;
|
||||||
Size* = Count;
|
Size* = Count;
|
||||||
Byte* = SYS.BYTE;
|
Byte* = SYS.BYTE;
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,15 @@ MODULE ulmTypes;
|
||||||
|
|
||||||
TYPE
|
TYPE
|
||||||
Address* = LONGINT (*SYS.ADDRESS*);
|
Address* = LONGINT (*SYS.ADDRESS*);
|
||||||
UntracedAddress* = LONGINT; (*SYS.UNTRACEDADDRESS;*)
|
(* ulm compiler can accept
|
||||||
|
VAR p : SYSTEM.ADDRESS; // SYSTEM.PTR in ETH and V4 versions
|
||||||
|
...
|
||||||
|
p := SYSTEM.ADR(something);
|
||||||
|
and this is how it is used in ulm oberon system library,
|
||||||
|
while SYSTEM.ADR returns LONGINT in ETH and V4 versions.
|
||||||
|
Thus I leave it as LONGINT for now, before coming up with better solution -- noch *)
|
||||||
|
UntracedAddress* = POINTER[1] TO UntracedAddressDesc; (*SYS.UNTRACEDADDRESS;*)
|
||||||
|
UntracedAddressDesc* = RECORD[1] END;
|
||||||
Count* = LONGINT;
|
Count* = LONGINT;
|
||||||
Size* = Count;
|
Size* = Count;
|
||||||
Byte* = SYS.BYTE;
|
Byte* = SYS.BYTE;
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,15 @@ MODULE ulmTypes;
|
||||||
|
|
||||||
TYPE
|
TYPE
|
||||||
Address* = LONGINT (*SYS.ADDRESS*);
|
Address* = LONGINT (*SYS.ADDRESS*);
|
||||||
UntracedAddress* = LONGINT; (*SYS.UNTRACEDADDRESS;*)
|
(* ulm compiler can accept
|
||||||
|
VAR p : SYSTEM.ADDRESS; // SYSTEM.PTR in ETH and V4 versions
|
||||||
|
...
|
||||||
|
p := SYSTEM.ADR(something);
|
||||||
|
and this is how it is used in ulm oberon system library,
|
||||||
|
while SYSTEM.ADR returns LONGINT in ETH and V4 versions.
|
||||||
|
Thus I leave it as LONGINT for now, before coming up with better solution -- noch *)
|
||||||
|
UntracedAddress* = POINTER[1] TO UntracedAddressDesc; (*SYS.UNTRACEDADDRESS;*)
|
||||||
|
UntracedAddressDesc* = RECORD[1] END;
|
||||||
Count* = LONGINT;
|
Count* = LONGINT;
|
||||||
Size* = Count;
|
Size* = Count;
|
||||||
Byte* = SYS.BYTE;
|
Byte* = SYS.BYTE;
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,15 @@ MODULE ulmTypes;
|
||||||
|
|
||||||
TYPE
|
TYPE
|
||||||
Address* = LONGINT (*SYS.ADDRESS*);
|
Address* = LONGINT (*SYS.ADDRESS*);
|
||||||
UntracedAddress* = LONGINT; (*SYS.UNTRACEDADDRESS;*)
|
(* ulm compiler can accept
|
||||||
|
VAR p : SYSTEM.ADDRESS; // SYSTEM.PTR in ETH and V4 versions
|
||||||
|
...
|
||||||
|
p := SYSTEM.ADR(something);
|
||||||
|
and this is how it is used in ulm oberon system library,
|
||||||
|
while SYSTEM.ADR returns LONGINT in ETH and V4 versions.
|
||||||
|
Thus I leave it as LONGINT for now, before coming up with better solution -- noch *)
|
||||||
|
UntracedAddress* = POINTER[1] TO UntracedAddressDesc; (*SYS.UNTRACEDADDRESS;*)
|
||||||
|
UntracedAddressDesc* = RECORD[1] END;
|
||||||
Count* = LONGINT;
|
Count* = LONGINT;
|
||||||
Size* = Count;
|
Size* = Count;
|
||||||
Byte* = SYS.BYTE;
|
Byte* = SYS.BYTE;
|
||||||
|
|
|
||||||
|
|
@ -50,8 +50,16 @@ MODULE ulmTypes;
|
||||||
IMPORT SYS := SYSTEM;
|
IMPORT SYS := SYSTEM;
|
||||||
|
|
||||||
TYPE
|
TYPE
|
||||||
Address* = LONGINT (*SYS.ADDRESS*);
|
Address* = (*SYS.PTR*) LONGINT (*SYS.ADDRESS*);
|
||||||
UntracedAddress* = LONGINT; (*SYS.UNTRACEDADDRESS;*)
|
(* ulm compiler can accept
|
||||||
|
VAR p : SYSTEM.ADDRESS; // SYSTEM.PTR in ETH and V4 versions
|
||||||
|
...
|
||||||
|
p := SYSTEM.ADR(something);
|
||||||
|
and this is how it is used in ulm oberon system library,
|
||||||
|
while SYSTEM.ADR returns LONGINT in ETH and V4 versions.
|
||||||
|
Thus I leave it as LONGINT for now, before coming up with better solution -- noch *)
|
||||||
|
UntracedAddress* = POINTER[1] TO UntracedAddressDesc; (*SYS.UNTRACEDADDRESS;*)
|
||||||
|
UntracedAddressDesc* = RECORD[1] END;
|
||||||
Count* = LONGINT;
|
Count* = LONGINT;
|
||||||
Size* = Count;
|
Size* = Count;
|
||||||
Byte* = SYS.BYTE;
|
Byte* = SYS.BYTE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue