fix typo (INC->INP)

This commit is contained in:
XOR 2023-04-19 17:34:30 +02:00
parent 32159f7eb3
commit 9b903db2e3

View file

@ -5,7 +5,7 @@
// Change this code if you want to configure changes to the instruction format
instruction_information_config_t config[] = {
{.name = "INC",
{.name = "INP",
.name_length = 3,
.requires_adress = 1,
.supports_adress_label = 0,
@ -90,9 +90,10 @@ shash_hashtable_t create_instruction_information_hastable(void)
current_instruction_info->supports_adress_label = current_instr_config.supports_adress_label;
current_instruction_info->opcode = current_instr_config.opcode;
shash_set(current_instr_config.name, current_instr_config.name_length, current_instruction_info, &instruction_information_table);
i++;
} while (strncmp(current_instr_config.name, "", MAX_TOKEN_SIZE) != 0);
} while (config[i].name != 0);
return instruction_information_table;
}