The syntax in question is the ">" and "<" prefixes.
For example, line 1592
Code: Select all
lda #<TitleScreenDataOffset
The Gist says it compiles using x816, and I tried looking up the docs of that to no avail.
Moderator: Moderators
Code: Select all
lda #<TitleScreenDataOffset
Code: Select all
Numbers and Expressions
-----------------------
...
A number can be modified using the symbols <, >, ^, and !
preceding the number or symbol.
< get low byte
> get high byte
^ get bank byte
! get word value
The use of the ^ or ! will only function if they are placed
at the beginning of the expression in the operand field.
LDA !512
LDA !$1234
LDA #!512
LDA #!$1234