MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / cpu_read_rp2

Function cpu_read_rp2

core/cpu.c:313–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313static uint32_t cpu_read_rp2(int i) {
314 if (i == 3) {
315 return cpu.registers.AF;
316 } else {
317 return cpu_read_rp(i);
318 }
319}
320static void cpu_write_rp2(int i, uint32_t value) {
321 if (i == 3) {
322 cpu.registers.AF = value;

Callers 1

cpu_executeFunction · 0.85

Calls 1

cpu_read_rpFunction · 0.85

Tested by

no test coverage detected