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

Function cpu_write_index_partial_mode

core/cpu.c:201–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 cpu.registers.index[cpu.PREFIX].hl = value;
200}
201static void cpu_write_index_partial_mode(uint32_t value) {
202 value = cpu_mask_mode(value, cpu.L);
203 if (cpu.L) {
204 cpu.registers.index[cpu.PREFIX].hl = value;
205 } else {
206 cpu.registers.index[cpu.PREFIX].hls = value;
207 }
208}
209
210static uint32_t cpu_read_other_index(void) {
211 return cpu.registers.index[cpu.PREFIX ^ 1].hl;

Callers 1

cpu_executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected