| 4312 | } |
| 4313 | |
| 4314 | static void execute_ins(uaecptr endpc, uaecptr targetpc, struct instr *dp, bool fpumode) |
| 4315 | { |
| 4316 | uae_u16 opc = regs.ir; |
| 4317 | int off = opcode_memory_address - opcode_memory_start + 2; |
| 4318 | uae_u16 opw1 = (opcode_memory[off + 0] << 8) | (opcode_memory[off + 1] << 0); |
| 4319 | uae_u16 opw2 = (opcode_memory[off + 2] << 8) | (opcode_memory[off + 3] << 0); |
| 4320 | if (opc == 0x4e72 |
| 4321 | && opw1 == 0xa000 |
| 4322 | //&& opw2 == 0x4afc |
| 4323 | ) |
| 4324 | printf(""); |
| 4325 | if (regs.sr & 0x2000) |
| 4326 | printf(""); |
| 4327 | if (regs.sr & 0x8000) |
| 4328 | printf(""); |
| 4329 | if (regs.sr & 0x4000) |
| 4330 | printf(""); |
| 4331 | |
| 4332 | // execute instruction |
| 4333 | flag_SPCFLAG_TRACE = 0; |
| 4334 | flag_SPCFLAG_DOTRACE = 0; |
| 4335 | trace_store_pc = 0xffffffff; |
| 4336 | mmufixup[0].reg = -1; |
| 4337 | mmufixup[1].reg = -1; |
| 4338 | |
| 4339 | MakeFromSR(); |
| 4340 | |
| 4341 | low_memory_accessed = 0; |
| 4342 | high_memory_accessed = 0; |
| 4343 | test_memory_accessed = 0; |
| 4344 | test_memory_access_mask = 0; |
| 4345 | testing_active = 1; |
| 4346 | testing_active_opcode = opc; |
| 4347 | hardware_bus_error = 0; |
| 4348 | hardware_bus_error_fake = 0; |
| 4349 | read_buffer_prev = regs.irc; |
| 4350 | regs.read_buffer = regs.irc; |
| 4351 | regs.write_buffer = 0xf00d; |
| 4352 | exception_extra_frame_size = 0; |
| 4353 | exception_extra_frame_type = 0; |
| 4354 | cpu_cycles = 0; |
| 4355 | regs.loop_mode = 0; |
| 4356 | regs.ipl_pin = feature_initial_interrupt; |
| 4357 | interrupt_level = regs.ipl_pin; |
| 4358 | regs.ipl[0] = regs.ipl[1] = 0; |
| 4359 | regs.ipl_evt_pre = 0; |
| 4360 | regs.ipl_evt = 0; |
| 4361 | interrupt_level = 0; |
| 4362 | interrupt_cycle_cnt = 0; |
| 4363 | test_exception_orig = 0; |
| 4364 | waitstate_cycle_cnt = 0; |
| 4365 | cpuipldelay2 = 2; |
| 4366 | cpuipldelay4 = 4; |
| 4367 | |
| 4368 | int cnt = 2; |
| 4369 | uaecptr first_pc = regs.pc; |
| 4370 | uae_u32 loop_mode_reg = 0; |
| 4371 | int stop_count = 0; |
no test coverage detected