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

Added support for LEA instruction (opcode 0x8D) with tests

This commit is contained in:
bird_egop
2025-04-13 00:34:03 +03:00
parent 79bb19df6b
commit 70f2acd3d1
4 changed files with 180 additions and 1 deletions

View File

@ -47,6 +47,9 @@ public static class OpcodeMap
OneByteOpcodes[0x0C] = "or"; // OR AL, imm8
OneByteOpcodes[0x0D] = "or"; // OR EAX, imm32
// LEA instruction
OneByteOpcodes[0x8D] = "lea"; // LEA r32, m
// Group 1 instructions (ADD, OR, ADC, SBB, AND, SUB, XOR, CMP)
OneByteOpcodes[0x80] = "group1b";
OneByteOpcodes[0x81] = "group1d";