summaryrefslogtreecommitdiff
path: root/tb/sim/shifts.py
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-12-18 00:22:13 -0600
committerAlejandro Soto <alejandro@34project.org>2022-12-18 00:22:23 -0600
commit6d458ad9629268ecfc69881b4fb10dca0498fbd0 (patch)
treeea149276a31f518788c758899ab5ced8a8a8b74c /tb/sim/shifts.py
parentca8b6e6696e279f56faacad39501019c3762a1b7 (diff)
Fix datapath of shifter carry-out during adc/sbc/rsc
Diffstat (limited to '')
-rw-r--r--tb/sim/shifts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tb/sim/shifts.py b/tb/sim/shifts.py
index 9923124..11413e5 100644
--- a/tb/sim/shifts.py
+++ b/tb/sim/shifts.py
@@ -3,3 +3,4 @@ def final():
assert_reg(r2, 0x00015000)
assert_reg(r3, 0xaaa9fd55)
assert_reg(r4, 0)
+ assert_reg(r5, -1)