[Regsietrs] ensuring register values are 32bit

kernel-mode
Anton Lydike 3 years ago
parent cc598c0910
commit c7b3693740

@ -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):

Loading…
Cancel
Save