summaryrefslogtreecommitdiff
path: root/masm/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'masm/asm.h')
-rw-r--r--masm/asm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/masm/asm.h b/masm/asm.h
index c8a6394..267aa1c 100644
--- a/masm/asm.h
+++ b/masm/asm.h
@@ -7,6 +7,7 @@
#include <elf.h>
#include <mips.h>
+#include "mlimits.h"
#include "parse.h"
#include "lex.h"
@@ -102,6 +103,7 @@ enum section_entry_type {
ENT_WORD,
ENT_HALF,
ENT_BYTE,
+ ENT_STR,
ENT_NO_DATA,
};
@@ -117,6 +119,7 @@ struct section_entry {
// data
struct mips_instruction ins;
+ char str[MAX_LEX_LENGTH];
int32_t word;
int16_t half;
int8_t byte;