diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-21 23:54:35 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-21 23:54:35 +0100 |
commit | ba57523f3ecba69e628a7a811f258b652cf48615 (patch) | |
tree | e2d9d81f6966bbaa105242d447cac787fa77868a | |
parent | 696589b7b6179e9955c8c9892af7a4fa1ab14075 (diff) | |
download | ovm-ba57523f3ecba69e628a7a811f258b652cf48615.tar.gz ovm-ba57523f3ecba69e628a7a811f258b652cf48615.tar.bz2 ovm-ba57523f3ecba69e628a7a811f258b652cf48615.zip |
Implemented opcode_as_cstr for NOT,OR,AND,XOR,EQ
-rw-r--r-- | src/inst.c | 45 |
1 files changed, 45 insertions, 0 deletions
@@ -59,6 +59,51 @@ const char *opcode_as_cstr(opcode_t code) case OP_MOV_HWORD: return "MOV_HWORD"; break; + case OP_NOT_BYTE: + return "NOT_BYTE"; + break; + case OP_NOT_HWORD: + return "NOT_HWORD"; + break; + case OP_NOT_WORD: + return "NOT_WORD"; + break; + case OP_OR_BYTE: + return "OR_BYTE"; + break; + case OP_OR_HWORD: + return "OR_HWORD"; + break; + case OP_OR_WORD: + return "OR_WORD"; + break; + case OP_AND_BYTE: + return "AND_BYTE"; + break; + case OP_AND_HWORD: + return "AND_HWORD"; + break; + case OP_AND_WORD: + return "AND_WORD"; + break; + case OP_XOR_BYTE: + return "XOR_BYTE"; + break; + case OP_XOR_HWORD: + return "XOR_HWORD"; + break; + case OP_XOR_WORD: + return "XOR_WORD"; + break; + case OP_EQ_BYTE: + return "EQ_BYTE"; + break; + case OP_EQ_HWORD: + return "EQ_HWORD"; + break; + case OP_EQ_WORD: + return "EQ_WORD"; + break; case OP_HALT: return "HALT"; break; |