| 62 | return (cpu.registers.MBASE << 16) | (address & 0xFFFF); |
| 63 | } |
| 64 | static void cpu_prefetch(uint32_t address, bool mode) { |
| 65 | cpu.ADL = mode; |
| 66 | cpu.registers.PC = cpu_address_mode(address, mode); |
| 67 | cpu.prefetch = mem_read_cpu(cpu.registers.PC, true); |
| 68 | } |
| 69 | static uint8_t cpu_fetch_byte(void) { |
| 70 | uint8_t value; |
| 71 | #ifdef DEBUG_SUPPORT |
no test coverage detected