AMOS:Asm Bank format

From Amiga Coding
Jump to: navigation, search

This bank has the name "Asm". It contains Amiga machine code that was loaded into a bank using the "Pload" command and has no specific format, other than containing MC680x0 binary code.


The "Pload" command simply takes the first code hunk out of an Amiga executable and copies it into the bank, without even applying any relocations. Any absolute references to other locations in your code will be wrong, because relocs are not applied. The bank format does not store any relocations. The "Call" command jumps directly to the start of the bank. The registers (A0, A1, D0, D1, ...) can be set in preparation for a call by setting the Areg() and Dreg() arrays. Extra parameters can also be included with the