LoadX nn
T=Z; Z=Y; Y=X; X=nn
Pushes the constant number nn into X.
The number can be in one of the following formats
| Example | Max value | Description |
|---|---|---|
| 23 | 255 | Decimal constant |
| 'A3 | 'FF | Hex constant |
| %10101100 | %11111111 | Binary constant |
| FooBar | 255 | A previously EQUated constant |
| T | 255 | Boolean True = %11111111 |
| F | 0 | Boolean False = %0000000 |
Do not confuse with Recall, which recalls a value from RAM. LoadX is for constants, Recall is for variables.
