summaryrefslogtreecommitdiff
path: root/tb
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2024-02-19 08:36:55 -0600
committerAlejandro Soto <alejandro@34project.org>2024-02-20 11:12:23 -0600
commita9ba2e1d3e0bee4f7534b29f266d122567d6dd42 (patch)
tree79be8e31cbcfe44309cc45f3c58c88621b5ce4f4 /tb
parentf31e32fbb1f6b010057ccbca26edd0be8f6bd60c (diff)
tb/sim: update constant in hazards test
Diffstat (limited to 'tb')
-rw-r--r--tb/sim/hazards.S2
-rw-r--r--tb/sim/hazards.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tb/sim/hazards.S b/tb/sim/hazards.S
index 3e6213a..356647d 100644
--- a/tb/sim/hazards.S
+++ b/tb/sim/hazards.S
@@ -6,7 +6,7 @@ reset:
mov r9, #9
mov sp, #256
str r5, [sp, #-4]
- mov r0, #69
+ mov r0, #70
mov r1, #-10
.loop1:
diff --git a/tb/sim/hazards.py b/tb/sim/hazards.py
index 8699c47..59d52f8 100644
--- a/tb/sim/hazards.py
+++ b/tb/sim/hazards.py
@@ -4,7 +4,7 @@ cycles = 1024
mem_dumps = [range(SP - 4, SP)]
def final():
- assert_reg(r0, 59)
+ assert_reg(r0, 60)
assert_reg(r1, 0)
assert_reg(sp_svc, SP)
assert_mem(SP - 4, 3)