$ROMSTART
(Difference between revisions)
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = Instruct the compiler to generate a hex file that starts at the specified address. <span style="font-family: Arial;"> </span> ...")
Newer edit →
(Created page with "= <span class="f_Header">Action</span> = Instruct the compiler to generate a hex file that starts at the specified address. <span style="font-family: Arial;"> </span> ...")
Newer edit →
Revision as of 23:27, 6 February 2013
Contents |
Action
Instruct the compiler to generate a hex file that starts at the specified address.
Syntax
$ROMSTART = address
Remarks
Address |
The address where the code must start. By default the first address is 0.
The bin file will still begin at address 0. |
The $ROMFILE could be used to locate code at a different address for example for a boot loader.
It is best to use the new $LOADER directive to add boot loader support.
See also
ASM
NONE
Example
$ROMSTART = &H4000
Languages | English • Deutsch |
---|