Hello. I am looking at the Super Mario Bros 1 assembly code that is on Github Gist (Google "Super Mario Bros assembly code" to find it). I came upon some syntax that I don't understand, and to this point it is also the only question I have regarding the source code thus far.
The syntax in question is the ">" and "<" prefixes.
For example, line 1592
I understand # means immediate addressing, but what are the less-than and greater-than signs for?
The Gist says it compiles using x816, and I tried looking up the docs of that to no avail.
The syntax in question is the ">" and "<" prefixes.
For example, line 1592
Code:
lda #<TitleScreenDataOffset
I understand # means immediate addressing, but what are the less-than and greater-than signs for?
The Gist says it compiles using x816, and I tried looking up the docs of that to no avail.