int util_get_reg(const char *regStr)
Definition: util.c:63
struct name_val name_val_t
opcode_t util_get_opcode(const char *name)
Definition: util.c:36
bool util_is_valid_label(const char *s)
Definition: util.c:41
int util_parse_cond(const char *condCodeStr)
Definition: util.c:69
name_val_t * util_bin_search(name_val_t map[], int numNames, const char *name)
Definition: util.c:31
char * name
Definition: util.h:40
int val
Definition: util.h:41
definitions of the LC3 instruction set architecture (ISA) (do not modify)
bool util_get_int(const char *token, int *value)
Definition: util.c:74