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

Function cpu_fetch_word

core/cpu.c:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 return (int8_t)cpu_fetch_byte();
83}
84static uint32_t cpu_fetch_word(void) {
85 uint32_t value = cpu_fetch_byte();
86 value |= cpu_fetch_byte() << 8;
87 if (cpu.IL) {
88 value |= cpu_fetch_byte() << 16;
89 }
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;

Callers 1

cpu_executeFunction · 0.85

Calls 1

cpu_fetch_byteFunction · 0.85

Tested by

no test coverage detected