fixed registers keeping track of last accessed register

float_support
Anton Lydike 4 years ago
parent 7cb29c5b89
commit 2c5655d65a

@ -84,6 +84,7 @@ class Registers:
raise InvalidRegisterException(reg) raise InvalidRegisterException(reg)
if reg == 'fp': if reg == 'fp':
reg = 's0' reg = 's0'
self.last_access = reg
return self.vals[reg] return self.vals[reg]
@staticmethod @staticmethod

Loading…
Cancel
Save