summaryrefslogtreecommitdiff
path: root/tb/sim/paging.py
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-11 17:28:03 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-16 16:29:09 -0600
commitd006be2e89aa493237f212811ee880ed8b54241b (patch)
treeb8b9c25536c6f3b42920d3f9666610396e8f2404 /tb/sim/paging.py
parentff71bcd0c5425c168f111b8f4a92d0a90a6c9c31 (diff)
Implement MMU access checks
Diffstat (limited to '')
-rw-r--r--tb/sim/paging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tb/sim/paging.py b/tb/sim/paging.py
index 2249be0..e687051 100644
--- a/tb/sim/paging.py
+++ b/tb/sim/paging.py
@@ -4,5 +4,5 @@ def final():
assert_reg(r0, 0x01234567)
assert_reg(r1, 0x89abcdef)
assert_reg(r2, 0x89abcde0)
- assert_reg(r3, 0)
+ assert_reg(r3, 0b0101) # Section translation fault, p. 720
assert_reg(r4, read_reg(r5))