nes-mm5-demo/asm/vector/irq.asm

16 lines
172 B
NASM
Raw Normal View History

2022-02-03 20:11:55 +00:00
;***********
; IRQ vector
;***********
IRQ:
; save register
PHA
; clear APU interrupt
LDA APU_STATUS
; restore register
PLA
; return
RTI