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

Function exception_pc

src/newcpu_common.cpp:1396–1402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1394#endif
1395
1396uae_u32 exception_pc(int nr)
1397{
1398 // bus error, address error, illegal instruction, privilege violation, a-line, f-line
1399 if (nr == 2 || nr == 3 || nr == 4 || nr == 8 || nr == 10 || nr == 11)
1400 return regs.instruction_pc;
1401 return m68k_getpc();
1402}
1403
1404void Exception_build_stack_frame(uae_u32 oldpc, uae_u32 currpc, uae_u32 ssw, int nr, int format)
1405{

Callers 1

Exception_normalFunction · 0.85

Calls 1

m68k_getpcFunction · 0.85

Tested by

no test coverage detected