This page is a mirror of Tepples' nesdev forum mirror (URL TBD).
Last updated on Oct-18-2019 Download

[nesasm] offset hi and lo byte

[nesasm] offset hi and lo byte
by on (#43008)
Is there a way in nesasm to get the hi or lo byte of the offset of a label as an immediate? I tried <MyLabel and >MyLabel, but obviously this was incorrect. Any help is appreciated.

by on (#43012)
If I remember well, you had to write HIGH(Label) and LOW(Label).
This should be noted in the readme doccument tough.

by on (#43013)
Yeah, it's #low(Label) and #high(Label). Need the # symbol.