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

16 lines
172 B
NASM

;***********
; IRQ vector
;***********
IRQ:
; save register
PHA
; clear APU interrupt
LDA APU_STATUS
; restore register
PLA
; return
RTI