Implement interrupt status register

Upon an interrupt, you can read from the interrupt status register to
see what caused the interrupt.
This commit is contained in:
Byron Lathi
2022-03-14 13:30:01 -05:00
parent e012eb7d4d
commit a5474b5ae5
5 changed files with 46 additions and 1 deletions

View File

@@ -4,3 +4,5 @@ UART = $7ff4
UART_TXB = UART
UART_RXB = UART
UART_STATUS = UART + 1
IRQ_STATUS = $7fff