0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-06-20 08:18:36 +03:00

Added support for OR r8, r/m8 instruction (opcode 0x0A) with tests

This commit is contained in:
bird_egop
2025-04-13 00:23:11 +03:00
parent 7063a4a5a8
commit 3ffaaf0057
4 changed files with 143 additions and 0 deletions

View File

@ -41,6 +41,12 @@ public static class OpcodeMap
OneByteOpcodes[0xDE] = "fiadd";
OneByteOpcodes[0xDF] = "fistp";
// OR instructions
OneByteOpcodes[0x0A] = "or"; // OR r8, r/m8
OneByteOpcodes[0x0B] = "or"; // OR r32, r/m32
OneByteOpcodes[0x0C] = "or"; // OR AL, imm8
OneByteOpcodes[0x0D] = "or"; // OR EAX, imm32
// Group 1 instructions (ADD, OR, ADC, SBB, AND, SUB, XOR, CMP)
OneByteOpcodes[0x80] = "group1b";
OneByteOpcodes[0x81] = "group1d";