Originally posted by: Zzap
I'm with Sivak, nesasm is quite useful, and not as bad as people make out.
I've recently discovered that nesasm will let you use local labels, which can be handy to have more generic, shorter labels between main labels. Any label that begins with a full stop (.) is a local label thats context is only between the labels that don't have full stops. For example, the below code reuses the label .Loop, but the assembler understands which one you're talking about.
MainGame:
Do Stuff
.Loop:
Do more stuff
JMP .Loop
JMP MainGame
NMI:
Stuff
.Loop:
JMP Loop
Nesasm will also allow the use of macros which could be quite powerful if I could work out the best way to use them
Wow. I just changed my vblank wait routine to having
.:
BIT $2002
BPL .
I think game #3 will be even easier now! Nameless labels exist!