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

Chad H chadbh74 at hotmail.com
Thu Sep 4 18:28:25 EDT 2014


That makes sense thanks!

On Sep 4, 2014 3:31 PM, Tormod Volden <lists.tormod at gmail.com> wrote:
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

--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco


More information about the Coco mailing list