You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
644 B

/* ===========================================================================
* uz80as, an assembler for the Zilog Z80 and several other microprocessors.
*
* Symbol table for labels.
* ===========================================================================
*/
#ifndef SYM_H
#define SYM_H
/* Max symbol length + '\0'. */
#define SYMLEN 32
struct sym {
char name[SYMLEN]; /* null terminated string */
int val; /* value of symbol */
unsigned short next; /* index into symlist; 0 is no next */
unsigned char isequ; /* if val comes from EQU */
};
struct sym *lookup(const char *p, const char *q, int insert, int pc);
#endif