I've implemented local labels using a ".scope" op.
What is the purpose of the name after ".module" in x816?
Is an error given if you give that name again?
How local labels look:
@loop: ; <-- that won't cause a "duplicate label" error, because it's in a new scope.
bpl @loop ; as you can see, local labels start with a '@'
How are local labels supposed to work? I'm not entirely sure I understand
Perhaps. It's just a matter of personal preference. Some people like one
assembler, others another. I don't like linking (that's one of the main
reasons I use assembly) and I'd prefer a specific assembler for the platform
that I'm working on. This assembler is NES specific (although a -raw command
line option would be simple to implement, it would just have the assembler
auto-matically switch PRG banks when the code overflows one, and then just
output all the PRG banks with no header) and outputs a ready to go binary,
which is a real plus for me.
And that free and multi-platform... Of course the assembler is free, and it
will probably run on Linux too (just c/p the EXE!), because it's written in
There's no reason anyone would have to use this assembler or even see
any advantage of this one over any others. I just wrote it because none
of the existing ones were ideally suited to my tastes.
Everyone and Anyone:
Anyone have a copy of the UNIF spec? The page has disappeared...