lazerbeat wrote:
Thanks so much that was it! Is (foobar),x in asm6 the same as [foobar],x in ASM3?
There is no
(foobar),x addressing mode in 65xxx series. There is
(foobar),y (this is called indirect indexed or sometimes "post-indexed") or
(foobar,x) (this is called indexed indirect or sometimes "pre-indexed").
asm6 -- like most 65xxx assemblers -- uses parenthesis (
()) for indirect addressing modes. It also uses parenthesis for operator ordering (ex.
((2+3)*4)); the assembler's parser is intelligent enough to know what you mean. NESASM chooses to use brackets (
[]) to specify indirect addressing.
While I'm here: please stop saying "ASM3". You mean to say NESASM 3 -- and you should refer to the exact version of the assembler you're using. The term "asm3" is bizarre and confusing.
NESASM 3 and asm6 have no relation to one another. They are completely different assemblers with completely different authors.