apple2a/exporter.s

17 lines
492 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-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-02 07:45:58 +00:00