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

Function cpu_push_byte_mode

core/cpu.c:134–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 return cpu_pop_byte_mode(cpu.L);
133}
134static void cpu_push_byte_mode(uint8_t value, bool mode) {
135 mem_write_cpu(cpu_address_mode(--cpu.registers.stack[mode].hl, mode), value);
136}
137static void cpu_push_byte(uint8_t value) {
138 cpu_push_byte_mode(value, cpu.L);
139}

Callers 3

cpu_push_byteFunction · 0.85
cpu_rstFunction · 0.85
cpu_callFunction · 0.85

Calls 2

mem_write_cpuFunction · 0.85
cpu_address_modeFunction · 0.85

Tested by

no test coverage detected