# gsym file

The gsym file is the global symbol
file in the dm account.

## Description

Global symbols are used to reference
the system-wide set of global variables.

| 0 | Global symbol name is the item-ID. |
| --- | --- |
| 1 | Item type code: |
| c | Character |
| h | Half-tally (1 byte) |
| t | Tally (2 bytes) |
| d | Double-tally (4 bytes) |
| n | Constant |
| s | 6-byte storage register |
| e | 8-byte quad tally |
| b | Bit displacement for the bit definition is the actual number of bits. Divide by 8 to find the byte the bit is stored in. |
| w | |
| f | |
| y | |
| r | |
| 2 | Variable displacement in hexadecimal. |
| 3 | Variable register number in hexadecimal. |

---
Source: https://d3codex.com/systemfiles/gsym-file/ - part of the D3Codex reference.
