apple2a/exporter.s

19 lines
534 B
ArmAsm
Raw Normal View History

2018-08-02 07:45:58 +00:00
; ---------------------------------------------------------------------------
; exporter.s
; ---------------------------------------------------------------------------
;
; Exports cc65-internal routines (such as "pushax") as C-visible ones ("_pushax").
; See the companion header file exporter.h.
.import pushax
.import popax
.import tosaddax
2018-08-02 21:43:55 +00:00
.importzp ptr1
2018-08-03 22:31:11 +00:00
.importzp tmp1
2018-08-02 07:45:58 +00:00
.export _pushax := pushax
.export _popax := popax
.export _tosaddax := tosaddax
2018-08-02 21:43:55 +00:00
.exportzp _ptr1 = ptr1
2018-08-03 22:31:11 +00:00
.exportzp _tmp1 = tmp1
2018-08-02 07:45:58 +00:00