38 #define LC3_VAR extern
44 char*
strdup(
const char *);
47 #define LC3_WORD unsigned short
50 #define LC3_MEM_SIZE 65536
53 #define LC3_NUM_REGS 8
56 #define RETURN_ADDR_REG 7
int formBit
Definition: lc3.h:162
LC3_VAR int inHex
Definition: lc3.h:59
#define LC3_VAR
Definition: lc3.h:38
Defines the interface to symbol.c functions (do not modify)
struct inst_format inst_format_t
LC3_inst_t * lc3_get_inst_info(opcode_t opcode)
opcode
Definition: lc3.h:68
operand
Definition: lc3.h:112
struct LC3_inst LC3_inst_t
LC3_VAR sym_table_t * lc3_sym_tab
Definition: lc3.h:62
struct sym_table sym_table_t
Definition: symbol.h:43
char * strdup(const char *)
inst_format_t forms[2]
Definition: lc3.h:164
void lc3_write_LC3_word(FILE *f, int val)
int lc3_read_LC3_word(FILE *f)
operands
Definition: lc3.h:133