aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2020-04-30 22:38:04 +0200
committerGitHub <noreply@github.com>2020-04-30 22:38:04 +0200
commit4e18ac008b2fa958f16e30b44da097d242d22470 (patch)
tree7854d11ad3c48b081f5a9154f050d6989e4d8122
parent850d1e6b430c463a54bb1348967750a1e0baef51 (diff)
parent2984e85365529e24253b56edd395b09454c4f4ac (diff)
downloadqtmips-4e18ac008b2fa958f16e30b44da097d242d22470.tar.gz
qtmips-4e18ac008b2fa958f16e30b44da097d242d22470.tar.bz2
qtmips-4e18ac008b2fa958f16e30b44da097d242d22470.zip
Merge pull request #7 from Kaisrlik/feature/interrupt_routine
Fix instructions how to use serial port/UART receive interrupt.
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index b3ee5c2..f579e20 100644
--- a/README.md
+++ b/README.md
@@ -252,6 +252,9 @@ Following coprocessor 0 registers are recognized
| $15,1 | EBase | Exception vector base register |
| $16,0 | Config | Configuration registers |
+`mtc0` and `mfc0` are used to copy value from/to general puropose registers
+to/from comprocessor 0 register.
+
Hardware/special registers implemented:
| Number | Name | Description |
@@ -269,7 +272,7 @@ is 0x80000180. The base can be changed (`EBase` register) and then PC is set
to address EBase + 0x180. This is in accordance with MIPS release 1 and 2
manuals.
-Enable bit 10 (interrupt mask) in the Status register. Ensure that bit
+Enable bit 11 (interrupt mask) in the Status register. Ensure that bit
1 (`EXL`) is zero and bit 0 (`IE`) is set to one.
Enable interrupt in the receiver status register (bit 1 of `SERP_RX_ST_REG`).