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

Local labels in nesasm

Local labels in nesasm
by on (#26142)
I have a bunch of macros that I've written to perform various tasks, and some of them require local labels (.x\@ etc). This all worked fine until I needed more than 32kB of PRGROM. When I try to use my macros in code that is in .bank 4 or beyond I get an error saying "Local symbol not allowed here". Has anyone seen this - and even better, figured out a solution? Switching assemblers is not really an option, unless the ppmck driver is available for anything other than nesasm.