First/assembly.h

17 lines
372 B
C

#include <stdint.h>
char* disassemble(uint32_t opcode);
struct label_ll_t{
char* name;
uint32_t address;
struct label_ll_t *next;
};
struct assembler_context_t{
struct label_ll_t label_ll;
};
uint32_t assemble_line(char *line, __attribute__((unused)) struct assembler_context_t *assembler_context);
void free_assembler_context(struct assembler_context_t *tofree);