// IRQ - IRQ Interrupt
// XXXX - valid for 6502
IRQ Interrupt
XXXX - valid for 6502
// IRQ - IRQ Interrupt // XXXX - valid for 6502
func (cpu *CPU) irq() {
	cpu.push(cpu.RK)
	cpu.push16(cpu.PC)		
	cpu.push(cpu.Flags())
	cpu.I  = 1
	cpu.D  = 0
	cpu.RK = 0
	cpu.PC   = cpu.nRead16_cross(0x00, 0xFFEE)
}
func ( cpu * CPU ) irq ( ) { cpu . push ( cpu . RK ) cpu . push16 ( cpu . PC ) cpu . push ( cpu . Flags ( ) ) cpu . I = 1 cpu . D = 0 cpu . RK = 0 cpu . PC = cpu . nRead16_cross ( 0x00 , 0xFFEE ) }
IRQ Interrupt
XXXX - valid for 6502
IRQ Interrupt XXXX - valid for 6502
// "next instruction to be executed" means current pc because irq is processed at start of new comm. //mylog.Logger.Log(fmt.Sprintf("\ncpu: irq triggered, PC %4X", cpu.PC))