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

Function exception2_fetch_common

src/cputest.cpp:1429–1446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1427
1428
1429static void exception2_fetch_common(uae_u32 opcode, int offset)
1430{
1431 test_exception = 2;
1432 test_exception_3_w = 0;
1433 test_exception_addr = m68k_getpci() + offset;
1434 test_exception_opcode = opcode;
1435 test_exception_3_fc = 2;
1436 test_exception_3_size = sz_word;
1437 test_exception_3_di = 0;
1438
1439 if (currprefs.cpu_model == 68000) {
1440 if (generates_group1_exception(regs.ir) && !(opcode & 0x20000)) {
1441 test_exception_3_fc |= 8; // set N/I
1442 }
1443 if (opcode & 0x10000)
1444 test_exception_3_fc |= 8;
1445 }
1446}
1447
1448void exception2_fetch(uae_u32 opcode, int offset, int pcoffset)
1449{

Callers 2

exception2_fetchFunction · 0.70
exception2_fetch_opcodeFunction · 0.70

Calls 2

m68k_getpciFunction · 0.85

Tested by

no test coverage detected