Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 409 Bytes

fass manual.md

File metadata and controls

12 lines (10 loc) · 409 Bytes

Fass manual

Constants

const foobar = $EA
data 0, foobar, $FF, 0
A = foobar

A constant is a name that has a value that can't change.
As constants are primarily used as literal (or immediate) values for instructions and as such can only be 1 byte long, I.E. from -128 to 255

Constants are accessible from the point they are defined onwards. You can't use a constant before defining it.