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

Function exception3_write

src/cputest.cpp:1549–1570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1547 doexcstack();
1548}
1549void exception3_write(uae_u32 opcode, uae_u32 addr, int size, uae_u32 val, int fc)
1550{
1551 test_exception = 3;
1552 test_exception_3_w = 1;
1553 test_exception_addr = addr;
1554 test_exception_opcode = opcode;
1555 test_exception_3_fc = fc;
1556 test_exception_3_size = size & 15;
1557 regs.write_buffer = val;
1558 test_exception_3_di = 1;
1559
1560 if (currprefs.cpu_model == 68000) {
1561 if (generates_group1_exception(regs.ir) && !(opcode & 0x20000)) {
1562 test_exception_3_fc |= 8; // set N/I
1563 }
1564 if (opcode & 0x10000)
1565 test_exception_3_fc |= 8;
1566 test_exception_opcode = regs.ir;
1567 }
1568
1569 doexcstack();
1570}
1571
1572// load to irc only
1573void exception3_read_prefetch_only(uae_u32 opcode, uae_u32 addr)

Callers 1

exception3_write_accessFunction · 0.70

Calls 2

doexcstackFunction · 0.85

Tested by

no test coverage detected