[Coco] Assembly .BIN -> .CCC/.ROM = SOLVED!

Tormod Volden lists.tormod at gmail.com
Thu Sep 4 16:31:52 EDT 2014


On Thu, Sep 4, 2014 at 8:29 PM, Chad H wrote:
> I will check this after work when I get home..might save couple of bytes.  Not sure I understand the JMP [2,X] at the end.  X being the offset in the ROM image, I don't want to execute it. I want to execute the address that is stored there (.bin postamble). I will try and see.

The brackets indicate indirect address mode. It will jump to the
address that is stored at 2,X instead of jumping to 2,X. Some
assemblers accept parentheses instead of square brackets.

Tormod


More information about the Coco mailing list