-
customasm/examples/nes/cpu6502.asm Lines 98 to 107 in 5de7a21 I cannot figure out what |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Those are just generic tokens -- everything outside of As for what they mean in the context of 6502 assembly, |
Beta Was this translation helpful? Give feedback.
Those are just generic tokens -- everything outside of
{ }
is. We could have chosen to use any other kind of punctuation there.As for what they mean in the context of 6502 assembly,
#
marks an immediate-mode argument, and<
is seen on some assembly flavors to mark exclusive zero-page addressing. (To be fair, in those flavors,<
might actually just be an operator that takes the lowest 8 bits of a value, akin to`8
)