The terms shown in Table 4-1 describe the data types used by Forth.
Table 4-1 Forth Data Type Definitions|
Notation |
Description |
|---|---|
|
byte |
An 8-bit value. |
|
cell |
The implementation-defined fixed size of a cell is specified in address units and the corresponding number of bits. Data-stack elements, return-stack elements, addresses, execution tokens, flags and integers are one cell wide. On OpenBoot systems, a cell consists of at least 32-bits, and is sufficiently large to contain a virtual address. The cell size may vary between implementations. A 32-bit implementation has a cell size of 4. A 64-bit implementation has a cell size of 8. OpenBoot 3.x is a 64-bit implementation. |
|
doublet |
A 16-bit value. |
|
octlet |
A 64-bit value; only defined on 64-bit implementations, |
|
quadlet |
A 32-bit value. |