r16/asm/assembler.h

17 lines
497 B
C
Raw Normal View History

2024-04-22 13:05:10 +00:00
#ifndef ASM_ASSEMBLER_H
#define ASM_ASSEMBLER_H
2024-04-24 12:02:18 +00:00
#include <stdbool.h>
#include "asm_const.h"
2024-04-22 13:05:10 +00:00
2024-04-24 12:02:18 +00:00
#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);
2024-04-22 13:05:10 +00:00
#endif