apple2a/exporter.h
2018-08-05 16:43:50 -07:00

30 lines
579 B
C

#ifndef __EXPORTER_H__
#define __EXPORTER_H__
// Defines functions exported in exporter.s.
extern void pushax();
extern void popax();
extern void tosaddax();
extern void tossubax();
extern void tosmulax();
extern void tosdivax();
extern void toseqax();
extern void tosneax();
extern void tosltax();
extern void tosgtax();
extern void tosleax();
extern void tosgeax();
extern void bnegax();
extern void negax();
// Two bytes each.
extern unsigned int ptr1;
#pragma zpsym ("ptr1");
// One byte each.
extern unsigned char tmp1;
#pragma zpsym ("tmp1");
#endif // __EXPORTER_H__