1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 06:28:57 +00:00
cc65/libsrc/apple2/exehdr.s
ol.sc 9cc99876b2 Moved Apple EXEHDR to separate module (similiar to CBMs).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5708 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-10 21:05:51 +00:00

21 lines
635 B
ArmAsm

;
; Oliver Schmidt, 2012-06-10
;
; This module supplies a 4 byte DOS 3.3 header
; containing the load address and load length.
;
.export __EXEHDR__ : absolute = 1 ; Linker referenced
.import __RAM_START__, __ZPSAVE_RUN__ ; Linker generated
.import __MOVE_START__, __MOVE_LAST__ ; Linker generated
.linecont +
; ------------------------------------------------------------------------
.segment "EXEHDR"
.addr __RAM_START__ ; Start address
.word __ZPSAVE_RUN__ - __RAM_START__ + \
__MOVE_LAST__ - __MOVE_START__ ; Size