apple2a/exporter.s
2018-08-03 15:31:11 -07:00

19 lines
534 B
ArmAsm

; ---------------------------------------------------------------------------
; 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
.importzp ptr1
.importzp tmp1
.export _pushax := pushax
.export _popax := popax
.export _tosaddax := tosaddax
.exportzp _ptr1 = ptr1
.exportzp _tmp1 = tmp1