17 lines
497 B
C
17 lines
497 B
C
#ifndef ASM_ASSEMBLER_H
|
|
#define ASM_ASSEMBLER_H
|
|
|
|
#include <stdbool.h>
|
|
#include "asm_const.h"
|
|
|
|
#define ARRAY_SNAP_SIZE 32
|
|
|
|
char *FindNextChar(char *data, char toFind, bool careAboutNull);
|
|
char *FindNextNonSpaceChar(char *data, bool careAboutNull);
|
|
char *FindNextSpaceChar(char *data, bool careAboutNull);
|
|
|
|
AsmInstructionArray *InterpretAssembly(char *data);
|
|
AsmLabelArray *GenerateLabels(AsmInstructionArray *assembly);
|
|
BinaryInstructionArray *CompileAsembly(AsmInstructionArray *assembly);
|
|
|
|
#endif |