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

Function debug_inst_fetch

core/debug/debug.c:221–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221void debug_inst_fetch(void) {
222 uint32_t pc = cpu.registers.PC;
223 debug.addr[pc] |= DBG_INST_MARKER;
224 if (debug.addr[pc] & DBG_MASK_EXEC) {
225 debug_open(DBG_BREAKPOINT, pc);
226 } else if (pc == debug.tempExec) {
227 debug_open(DBG_STEP, pc);
228 }
229}
230
231void debug_inst_repeat(void) {
232 if (debug.step) {

Callers 1

cpu_fetch_byteFunction · 0.85

Calls 1

debug_openFunction · 0.85

Tested by

no test coverage detected