mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Merging lai's source with this one is very irritating because they have different indentation styles. I couldn't find what profile vegard used for his version, so I used these flags (which should bring the source close to KNF): -bap -br -ce -ci4 -cli0 -d0 -di0 -i8 -ip -l79 -nbc -ncdb -ndj -ei -nfc1 -nlp -npcs -psl -sc -sob
37 lines
684 B
C
37 lines
684 B
C
/* 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"
|
|
|
|
#include "asmotor.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 */
|