это ужас

This commit is contained in:
2025-06-07 18:45:05 +03:00
commit 930cd451a9
4 changed files with 157 additions and 0 deletions

10
instructions.h Normal file
View File

@@ -0,0 +1,10 @@
#include "emulator.h"
void add_eb_gb() {
uint32_t addr = physical_addr(CS, IP);
uint8_t modrm_byte = ram[addr];
IP++;
ModRM modrm = parse_modrm(modrm_byte);
uint8_t gb_value = get_reg_byte(modrm.reg);
}