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

Function cpu_index_address

core/cpu.c:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217static uint32_t cpu_index_address(void) {
218 uint32_t value = cpu_read_index();
219 if (cpu.PREFIX) {
220 value += cpu_fetch_offset();
221 }
222 return cpu_mask_mode(value, cpu.L);
223}
224
225static uint8_t cpu_read_reg(int i) {
226 uint8_t value;

Callers 3

cpu_read_regFunction · 0.85
cpu_write_regFunction · 0.85
cpu_executeFunction · 0.85

Calls 2

cpu_read_indexFunction · 0.85
cpu_fetch_offsetFunction · 0.85

Tested by

no test coverage detected