MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / Exception_cpu_oldpc

Function Exception_cpu_oldpc

src/newcpu.cpp:3512–3526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3510}
3511
3512void REGPARAM2 Exception_cpu_oldpc(int nr, uaecptr oldpc)
3513{
3514 bool t0 = currprefs.cpu_model >= 68020 && regs.t0 && !regs.t1;
3515 ExceptionX(nr, 0xffffffff, oldpc);
3516 // Check T0 trace
3517 // RTE format error ignores T0 trace
3518 if (nr != 14) {
3519 if (currprefs.cpu_model >= 68040 && internalexception(nr)) {
3520 t0 = false;
3521 }
3522 if (t0) {
3523 activate_trace();
3524 }
3525 }
3526}
3527void REGPARAM2 Exception_cpu(int nr)
3528{
3529 Exception_cpu_oldpc(nr, 0xffffffff);

Callers 4

fpuop_trapccFunction · 0.70
Exception_cpuFunction · 0.70
divsl_divbyzeroFunction · 0.70
divul_divbyzeroFunction · 0.70

Calls 3

ExceptionXFunction · 0.85
internalexceptionFunction · 0.85
activate_traceFunction · 0.70

Tested by

no test coverage detected