mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2025-02-15 03:33:08 +00:00
Update the debugging format for long long values.
For now, "long long" is represented with the existing code for the SANE comp format, since their representation is the same except for the comp NaN. This allows existing debuggers that support comp to work with it. The code for "unsigned long long" includes the unsigned flag, so it is unambiguous.
This commit is contained in:
parent
0e59588191
commit
091a25b25d
@ -105,14 +105,14 @@ The following table shows the format used to store the variable’s current valu
|
||||
7 Pascal-style string
|
||||
8 character
|
||||
9 boolean
|
||||
10 SANE COMP number
|
||||
10 SANE COMP number or 8-byte integer
|
||||
11 pointer
|
||||
12 structure, union or record
|
||||
13 derived type
|
||||
14 object
|
||||
|
||||
|
||||
One-byte integers default to unsigned, while two-byte and four-byte integers default to signed format. `OR`ing the format code with `$40` reverses this default, giving signed one-byte integers or unsigned four-byte integers. (The signed flag is not supported by PRIZM 1.1.3.)
|
||||
One-byte integers default to unsigned, while two-byte, four-byte, and eight-byte integers default to signed format. `OR`ing the format code with `$40` reverses this default, giving signed one-byte integers or unsigned four-byte integers. (The signed flag is not supported by PRIZM 1.1.3.)
|
||||
|
||||
A pointer to a scalar type (1-10) is indicated by `OR`ing the value’s format code with `$80`. For example, `$82` would be a pointer to a 4-byte integer.
|
||||
|
||||
|
@ -982,6 +982,8 @@ var
|
||||
cgDouble: val := $04;
|
||||
cgComp: val := $0A;
|
||||
cgExtended: val := $05;
|
||||
cgQuad: val := $0A; {same as comp}
|
||||
cgUQuad: val := $4A;
|
||||
otherwise: val := $01;
|
||||
end; {case}
|
||||
CnOut(val | modifiers); {write the format byte}
|
||||
|
Loading…
x
Reference in New Issue
Block a user