это ужас
This commit is contained in:
10
instructions.h
Normal file
10
instructions.h
Normal 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);
|
||||
}
|
Reference in New Issue
Block a user