('INT', 'rb', '0:63'), # RB/immediate
('FAST', 'fast1', '0:63'), # SRR0
('FAST', 'fast2', '0:63'), # SRR1
+ # note here that neither MSR nor CIA are read as regs: they are
+ # passed in as incoming "State", via the CompTrapOpSubset
]
def __init__(self, pspec):
super().__init__(pspec, False)
regspec = [('INT', 'o', '0:63'), # RA
('FAST', 'fast1', '0:63'), # SRR0 SPR
('FAST', 'fast2', '0:63'), # SRR1 SPR
- ('FAST', 'nia', '0:63'), # NIA (Next PC)
- ('FAST', 'msr', '0:63')] # MSR
+ ('STATE', 'nia', '0:63'), # NIA (Next PC)
+ ('STATE', 'msr', '0:63')] # MSR
def __init__(self, pspec):
super().__init__(pspec, True)
# convenience