fixed registers keeping track of last accessed register

This commit is contained in:
Anton Lydike 2021-04-18 18:56:39 +02:00
parent 7cb29c5b89
commit 2c5655d65a

View File

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