Added some debug print out for the instruction list and a helper function to get a string for any Registers enum.

This commit is contained in:
2022-10-06 21:05:57 +00:00
parent f38da9cc74
commit d53833c25f
4 changed files with 132 additions and 60 deletions
+1
View File
@@ -43,6 +43,7 @@ void FreeInstruction(Instruction* instruction);
int IsOpcode(const char*, Mnemonic*);
int IsRegister(const char*, Registers*);
void GetMnemonicText(Mnemonic mnemonic, char buffer[12]);
void GetRegisterText(Registers reg, char buffer[3]);
unsigned char GetInstructionMask(Mnemonic type);
#endif