| 1521 | } |
| 1522 | |
| 1523 | void exception3_read(uae_u32 opcode, uae_u32 addr, int size, int fc) |
| 1524 | { |
| 1525 | test_exception = 3; |
| 1526 | test_exception_3_w = 0; |
| 1527 | test_exception_addr = addr; |
| 1528 | test_exception_opcode = opcode; |
| 1529 | test_exception_3_fc = fc; |
| 1530 | test_exception_3_size = size & 15; |
| 1531 | test_exception_3_di = 1; |
| 1532 | |
| 1533 | if (currprefs.cpu_model == 68000) { |
| 1534 | if (generates_group1_exception(regs.ir) && !(opcode & 0x20000)) { |
| 1535 | test_exception_3_fc |= 8; // set N/I |
| 1536 | } |
| 1537 | if (opcode & 0x10000) |
| 1538 | test_exception_3_fc |= 8; |
| 1539 | test_exception_opcode = regs.ir; |
| 1540 | } |
| 1541 | if (currprefs.cpu_model == 68010) { |
| 1542 | if (opcode & 0x40000) { |
| 1543 | test_exception_3_di = 0; |
| 1544 | } |
| 1545 | } |
| 1546 | |
| 1547 | doexcstack(); |
| 1548 | } |
| 1549 | void exception3_write(uae_u32 opcode, uae_u32 addr, int size, uae_u32 val, int fc) |
| 1550 | { |
| 1551 | test_exception = 3; |
no test coverage detected