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

Function cpu_fetch_word_no_prefetch

core/cpu.c:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 return value;
91}
92static uint32_t cpu_fetch_word_no_prefetch(void) {
93 uint32_t value = cpu_fetch_byte();
94 value |= cpu.prefetch << 8;
95 if (cpu.IL) {
96 cpu_fetch_byte();
97 value |= cpu.prefetch << 16;
98 }
99 cpu.registers.PC++;
100 return value;
101}
102
103static uint8_t cpu_read_byte(uint32_t address) {
104 uint32_t cpuAddress = cpu_address_mode(address, cpu.L);

Callers 1

cpu_executeFunction · 0.85

Calls 1

cpu_fetch_byteFunction · 0.85

Tested by

no test coverage detected