[Regsietrs] ensuring register values are 32bit

This commit is contained in:
Anton Lydike 2021-06-08 11:36:00 +02:00
parent cc598c0910
commit c7b3693740

View File

@ -103,7 +103,7 @@ class Registers:
reg = 's1'
if mark_set:
self.last_set = reg
self.vals[reg] = val
self.vals[reg] = val & (2**32 - 1)
return True
def get(self, reg, mark_read=True):