View Single Post
Old 07-10-2005, 04:52 PM   #9
Senior Member
Join Date: Apr 2001
Posts: 4,387
Default Re: 65816 Disassembler

I have minor beefs with the syntax in your pics:

'//' for comments and not ';'?
';' after every instruction?

I guess that's to make it more C-like or something... I dunno just seems strange to me.

But the biggie is your inconsitency with '$'. Looks like you put it on every digit except immediate mode -- even though immediate mode still uses hex ("LDA #CF" when you obviously mean "LDA #$CF") When there's alphabetic chars in the number it's obvious, but that makes the lines like "LDA #10" real ambiguous. Do you mean ten or sixteen? When I first looked at it I assumed ten, but now that I saw that you just drop the $ in immediate mode I'm thinking sixteen.
Disch is offline   Reply With Quote