Page 1 of 1

Jedit Highlighting For 6502 Assembly

Posted: Wed Jun 02, 2010 3:34 pm
by nathanpc
Hello,
I've tweak a little bit in the XML for this wonderful work, because I love a correct syntax highlighting, then I've done it. :D

Appreciate, and any improvement or problem, just say, that I will take a look. :)

Download Links: Best Regards,
Nathan Paulino Campos

Posted: Wed Jun 02, 2010 5:19 pm
by Memblers
I don't have Jedit installed to try it out, but using ConTEXT I made a syntax highlighter (but 6502 is listed twice, so I guess someone else did also). The only really interesting thing to me was an idea I grabbed from another highlighter, where the branch instructions were highlighted a different (but similar) color.

So I wonder what yours looks like. I looked at the XML file just in a text editor and I'm left wondering what the R-prefixed branch instructions are. I know JEQ, JNE, etc. and use that a lot, but what is REQ/RNE?

Posted: Wed Jun 02, 2010 5:22 pm
by tepples
Is REQ/RNE a branch around an RTS?

(If you know what a BX LR is, you can probably start to predict what all these branch-around macros do.)