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

Function cpu_read_byte

core/cpu.c:103–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103static uint8_t cpu_read_byte(uint32_t address) {
104 uint32_t cpuAddress = cpu_address_mode(address, cpu.L);
105 return mem_read_cpu(cpuAddress, false);
106}
107static void cpu_write_byte(uint32_t address, uint8_t value) {
108 uint32_t cpuAddress = cpu_address_mode(address, cpu.L);
109 mem_write_cpu(cpuAddress, value);

Callers 5

cpu_read_wordFunction · 0.85
cpu_read_regFunction · 0.85
cpu_read_reg_prefetchedFunction · 0.85
cpu_execute_bliFunction · 0.85
cpu_executeFunction · 0.85

Calls 2

cpu_address_modeFunction · 0.85
mem_read_cpuFunction · 0.85

Tested by

no test coverage detected