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

Function exception3_read_prefetch_only

src/cputest.cpp:1573–1592  ·  view source on GitHub ↗

load to irc only

Source from the content-addressed store, hash-verified

1571
1572// load to irc only
1573void exception3_read_prefetch_only(uae_u32 opcode, uae_u32 addr)
1574{
1575 if (cpu_lvl == 1) {
1576 uae_u16 prev = regs.read_buffer;
1577 get_word_test(addr & ~1);
1578 regs.irc = regs.read_buffer;
1579 regs.read_buffer = prev;
1580 } else {
1581 add_memory_cycles(addr, 1);
1582 }
1583 test_exception = 3;
1584 test_exception_3_w = 0;
1585 test_exception_addr = addr;
1586 test_exception_opcode = opcode;
1587 test_exception_3_fc = 2;
1588 test_exception_3_size = sz_word;
1589 test_exception_3_di = 0;
1590
1591 doexcstack();
1592}
1593
1594void exception3_read_prefetch(uae_u32 opcode, uae_u32 addr)
1595{

Callers

nothing calls this directly

Calls 3

get_word_testFunction · 0.85
add_memory_cyclesFunction · 0.85
doexcstackFunction · 0.85

Tested by

no test coverage detected