diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-02-19 08:36:55 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-02-20 11:12:23 -0600 |
| commit | a9ba2e1d3e0bee4f7534b29f266d122567d6dd42 (patch) | |
| tree | 79be8e31cbcfe44309cc45f3c58c88621b5ce4f4 /tb | |
| parent | f31e32fbb1f6b010057ccbca26edd0be8f6bd60c (diff) | |
tb/sim: update constant in hazards test
Diffstat (limited to 'tb')
| -rw-r--r-- | tb/sim/hazards.S | 2 | ||||
| -rw-r--r-- | tb/sim/hazards.py | 2 |
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) |
