1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-02 08:06:55 +00:00
C02/asm.h

18 lines
688 B
C

/*************************************
* C02 Assembly Language Routines *
*************************************/
char cmtasm[LINELEN]; //Assembly Language Comment Text
char lblasm[LABLEN+2]; //Label to emit on next asm line
void setcmt(char *s); //Set Assembly Line Comment to String
void addcmt(char *s); //Append String to Assembly Line Comment
void chrcmt(char c); //Append Character to Assembly Line Comment
void asmlin(char *opcode, char *oprnd); //Output a line of assembly code
void cmtlin(); //Output a comment lines
void equlin(); //Output an equate line
void prolog(); //Write Assembly Language Initialization Code