Todo List
globalScope> Global asm_init (void)
implement this function
globalScope> Global asm_pass_one (const char *asm_file_name, const char *sym_file_name)
implement this function
globalScope> Global asm_pass_two (const char *obj_file_name, line_info_t *list)
implement this function
globalScope> Global asm_term (line_info_t *list)
implement this function
globalScope> Global lc3_instruction_map []
complete the initializtion of this data structure A sorted list of all the opcode names the assembler might see. There are more entries than there are opcodes because some LC3 instructions have multiple forms. These include JSR/JSRR, RET/JMP, the eight BR instructions and various pseudo-ops. In other implementations, this might be a hash table or a BST.
globalScope> Global numOps
initialize this value
globalScope> Global symbol_add (sym_table_t *symTab, const char *name, int addr)
implement this function
globalScope> Global symbol_find_by_addr (sym_table_t *symTab, int addr)
implement this function
globalScope> Global symbol_find_by_name (sym_table_t *symTab, const char *name)
implement this function
globalScope> Global symbol_init (int table_size)
implement this function
globalScope> Global symbol_iterate (sym_table_t *symTab, iterate_fnc_t fnc, void *data)
implement this function
globalScope> Global symbol_remove_by_addr (sym_table_t *symTab, int addr1, int addr2)
implement this function
globalScope> Global symbol_reset (sym_table_t *symTab)
implement this function
globalScope> Global symbol_search (sym_table_t *symTab, const char *name, int *hash, int *index)
implement this function
globalScope> Global symbol_term (sym_table_t *symTab)
implement this function
globalScope> Global util_bin_search (name_val_t map[], int numNames, const char *name)
implement this function
globalScope> Global util_get_int (const char *token, int *value)
implement this function
globalScope> Global util_get_opcode (const char *name)
implement this function
globalScope> Global util_is_valid_label (const char *s)
implement this function
globalScope> Global util_parse_cond (const char *condCodeStr)
implement this function