mirror of
https://github.com/bradgrantham/apple2a.git
synced 2024-06-11 01:29:30 +00:00
27 lines
701 B
ArmAsm
27 lines
701 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
|
|
.export _pushax := pushax
|
|
.import popax
|
|
.export _popax := popax
|
|
.import tosaddax
|
|
.export _tosaddax := tosaddax
|
|
.import tossubax
|
|
.export _tossubax := tossubax
|
|
.import tosmulax
|
|
.export _tosmulax := tosmulax
|
|
.import tosdivax
|
|
.export _tosdivax := tosdivax
|
|
|
|
.importzp ptr1
|
|
.exportzp _ptr1 = ptr1
|
|
|
|
.importzp tmp1
|
|
.exportzp _tmp1 = tmp1
|
|
|