1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
cc65/libsrc/sim6502/exehdr.s

20 lines
656 B
ArmAsm
Raw Normal View History

;
; Oliver Schmidt, 2013-05-16
;
2019-05-29 20:32:44 +00:00
; This module supplies a header used by sim65.
;
.export __EXEHDR__ : absolute = 1 ; Linker referenced
2019-05-28 19:29:55 +00:00
.importzp sp
.import __MAIN_START__
2019-05-29 22:06:31 +00:00
.import startup
.segment "EXEHDR"
.byte $73, $69, $6D, $36, $35 ; 'sim65'
.byte 2 ; header version
.byte .defined(__SIM65C02__) ; CPU type
.byte sp ; sp address
.addr __MAIN_START__ ; load address
2019-05-29 22:06:31 +00:00
.addr startup ; reset address