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

Function exception3_read_prefetch

src/cputest.cpp:1594–1612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1592}
1593
1594void exception3_read_prefetch(uae_u32 opcode, uae_u32 addr)
1595{
1596 if (cpu_lvl == 1) {
1597 get_word_test(addr & ~1);
1598 } else {
1599 add_memory_cycles(addr, 1);
1600 }
1601 exception3_pc_inc();
1602
1603 test_exception = 3;
1604 test_exception_3_w = 0;
1605 test_exception_addr = addr;
1606 test_exception_opcode = opcode;
1607 test_exception_3_fc = 2;
1608 test_exception_3_size = sz_word;
1609 test_exception_3_di = 0;
1610
1611 doexcstack();
1612}
1613
1614void exception3_read_prefetch_68040bug(uae_u32 opcode, uae_u32 addr, uae_u16 secondarysr)
1615{

Callers

nothing calls this directly

Calls 4

get_word_testFunction · 0.85
add_memory_cyclesFunction · 0.85
exception3_pc_incFunction · 0.85
doexcstackFunction · 0.85

Tested by

no test coverage detected