movable sp for sim65

This commit is contained in:
bbbradsmith
2019-05-28 15:29:55 -04:00
committed by Oliver Schmidt
parent 38d2eb7a0e
commit 2f3cae0d2e
8 changed files with 33 additions and 18 deletions

View File

@@ -1,11 +1,14 @@
;
; Oliver Schmidt, 2013-05-16
;
; This module supplies a 1 byte header identifying the simulator type
; This module supplies a 2 byte header identifying the simulator type,
; and parameter stack pointer sp.
;
.export __EXEHDR__ : absolute = 1 ; Linker referenced
.importzp sp
.segment "EXEHDR"
.byte .defined(__SIM65C02__)
.byte sp