From c1a44ed41dcf92d1567ab927d7f1675d6918aff9 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Wed, 11 Sep 2024 12:47:27 -0400 Subject: add ascii and asciiz directives, fix symtab bug --- include/mips.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'include/mips.h') diff --git a/include/mips.h b/include/mips.h index 8d76d12..1233693 100644 --- a/include/mips.h +++ b/include/mips.h @@ -475,30 +475,4 @@ MIPS_INS(XORI, I, .op = MIPS_OP_XORI) #undef MIPS_INS -/* mips directive types */ -enum mips_directive_type { - MIPS_DIRECTIVE_ALIGN, - MIPS_DIRECTIVE_SPACE, - MIPS_DIRECTIVE_WORD, - MIPS_DIRECTIVE_HALF, - MIPS_DIRECTIVE_BYTE, - MIPS_DIRECTIVE_SECTION, - MIPS_DIRECTIVE_EXTERN, - MIPS_DIRECTIVE_GLOBL, -}; - -/* mip32 directive */ -struct mips_directive { - enum mips_directive_type type; - uint32_t len; // used for words, halfs, bytes - union { - uint16_t align; - uint16_t space; - uint32_t words[MAX_ARG_LENGTH]; - uint16_t halfs[MAX_ARG_LENGTH]; - uint8_t bytes[MAX_ARG_LENGTH]; - char name[MAX_ARG_LENGTH]; - }; -}; - #endif /* __MIPS_H__ */ -- cgit v1.2.3-freya