HP Pascal/iX Programmer's Guide (31502-90023)
A-: 13
-----------------------------------------------------------------------------------------------
| | | |
| Bit16 | 2 bytes | 2-byte |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| Bit32 | 4 bytes | 2-byte |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| Bit52 | 8 bytes | 2-byte |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| Boolean | 1 bit | Bit |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| Char | 1 byte | Byte |
| | | |
-----------------------------------------------------------------------------------------------
| | |
| Enumeration | See "Packed Enumerations" |
| | |
-----------------------------------------------------------------------------------------------
| | | |
| File | See "Files" | 8-byte |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| Integer | 4 bytes | 2-byte |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| Longint | 8 bytes | 2-byte |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| Longreal | 8 bytes | 2-byte |
| | | |
-----------------------------------------------------------------------------------------------
| | |
| Pointer | HP3000_16 does not affect pointers. |
| | |
-----------------------------------------------------------------------------------------------
| | | |
| Real | 4 bytes | 2-byte |
| | | |
-----------------------------------------------------------------------------------------------
| | | |
| Record | Each field is allocated by | 2-byte |
| | type and record is padded to | |
| | nearest 2-byte boundary | |
| | | |
-----------------------------------------------------------------------------------------------
| | |
| Set | See "Sets" |
| | |
-----------------------------------------------------------------------------------------------
| | |
| String | See "Strings" |
| | |
-----------------------------------------------------------------------------------------------
| | |
| Subrange of enumeration | See "Packed Subranges of Enumerations" |
| | |
-----------------------------------------------------------------------------------------------
| | |
| Subrange of integer | See "Packed Subranges of Integers" |
| | |
-----------------------------------------------------------------------------------------------
Table A-4 shows how the Pascal/V packing algorithm allocates and
aligns the fields of a packed record. The field types are in
alphabetical order. Subsections that Table A-4 references are in this