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

Function cpu_nmi

core/cpu.c:834–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832}
833
834void cpu_nmi(void) {
835 cpu.NMI = 1;
836 cpu_restore_next();
837#ifdef DEBUG_SUPPORT
838 if (debug_get_flags() & DBG_OPEN_ON_RESET) {
839 debug_open(DBG_NMI_TRIGGERED, cpu.registers.PC);
840 }
841#endif
842}
843
844void cpu_set_signal(uint8_t signal) {
845 atomic8_fetch_or_explicit(&cpu_atomics.signals, signal, memory_order_release);

Callers 3

mem_write_cpuFunction · 0.85
watchdog_pulseFunction · 0.85
cpu_write_outFunction · 0.85

Calls 3

cpu_restore_nextFunction · 0.85
debug_get_flagsFunction · 0.85
debug_openFunction · 0.85

Tested by

no test coverage detected