shithub: rgbds

ref: 4577a01c688aa0b9a28c69fd89153cc96808a667
dir: /include/asm/asm.h/

View raw version
/*	asm.h
 *
 *	Contains some assembler-wide defines and externs
 *
 *	Copyright 1997 Carsten Sorensen
 *
 */

#ifndef ASMOTOR_ASM_ASM_H
#define ASMOTOR_ASM_ASM_H

#include <stdlib.h>
#include <stdio.h>

#include "asm/types.h"
#include "asm/symbol.h"

#include "localasm.h"

extern SLONG nLineNo;
extern ULONG nTotalLines;
extern ULONG nPC;
extern ULONG nPass;
extern ULONG nIFDepth;
extern char tzCurrentFileName[_MAX_PATH + 1];
extern struct Section *pCurrentSection;
extern struct sSymbol *tHashedSymbols[HASHSIZE];
extern struct sSymbol *pPCSymbol;
extern UBYTE oDontExpandStrings;

#define MAXMACROARGS	9
#define MAXINCPATHS		16

#endif	/* //       ASM_H */