Skeleton of an HC11 Program

All HC11 programs have the same basic structure, shown here. We'll see that different programs may need to have some extra "goodies" added to them.


* definitions of constants
EEPROM  equ   $f800    * equ defines a symbol

        org   EEPROM
start   
* program code




eloop   bra    eloop  * end of code goes into a loop
end     start         * tells the assembler where to start the code executing


Last modified: Mon Feb 2 08:36:45 MST 2004