r16/asm/assembler.h
Rose Apollo 9d61e18339 labels
2024-04-24 12:02:18 +00:00

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