The (not so) subtle differences between 6502 assemblers...

Oh man... I was not aware of the pitfalls when switching between different 6502 assemblers. Until now, when I tried to reuse an old assembly listing (from Apple II assembler/editor) with the ca65 cross-assembler...

Carefully compare the definition of the > and < operators to obtain the low or high byte of an 16bit address - in these two excerpts from the respective manuals...

And no, that is not a typo in the manual of either assembler. Both correctly describe the respective assembler...

*sigh*

:-)

Content Type: