]> git.sur5r.net Git - cc65/blob - libsrc/apple2/exehdr.s
778eee9039ac76b70e3b6afa2d840dcee7d6769f
[cc65] / libsrc / apple2 / exehdr.s
1 ;
2 ; Oliver Schmidt, 2012-06-10
3 ;
4 ; This module supplies a 4 byte DOS 3.3 header
5 ; containing the load address and load length.
6 ;
7
8         .export         __EXEHDR__ : absolute = 1       ; Linker referenced
9         .import         __MAIN_START__, __MAIN_LAST__   ; Linker generated
10
11 ; ------------------------------------------------------------------------
12
13         .segment        "EXEHDR"
14
15         .addr           __MAIN_START__                  ; Load address
16         .word           __MAIN_LAST__ - __MAIN_START__  ; Load length