fixed registers keeping track of last accessed register
This commit is contained in:
parent
7cb29c5b89
commit
2c5655d65a
@ -84,6 +84,7 @@ class Registers:
|
||||
raise InvalidRegisterException(reg)
|
||||
if reg == 'fp':
|
||||
reg = 's0'
|
||||
self.last_access = reg
|
||||
return self.vals[reg]
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
Reference in New Issue
Block a user