CPU testing
This commit is contained in:
@ -63,7 +63,7 @@ void fetch_data() {
|
||||
return;
|
||||
case AM_HLI_R:
|
||||
ctx.fetched_data = cpu_read_reg(ctx.cur_inst->reg_2);
|
||||
ctx.mem_dest = bus_read(cpu_read_reg(ctx.cur_inst->reg_1));
|
||||
ctx.mem_dest = cpu_read_reg(ctx.cur_inst->reg_1);
|
||||
ctx.dest_is_mem = true;
|
||||
cpu_set_reg(RT_HL, cpu_read_reg(RT_HL)+1);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user