def __setitem__(self, idx, value): value = trim_64(value) self.regs[idx] = value if self.debug.enabled("rf"): print ':: WR.RF[%s] = %s' % (pad( "%d" % idx, 2), pad_hex(self.regs[idx], len=self.debug_nchars)),
def __setitem__( self, idx, value ): value = trim_64(value) self.regs[idx] = value if self.debug.enabled( "rf" ): print ':: WR.RF[%s] = %s' % ( pad( "%d" % idx, 2 ), pad_hex( self.regs[idx], len=self.debug_nchars ) ),
def __setitem__( self, idx, value ): return RegisterFile.__setitem__( self, idx, trim_64( value ) )
def JUMP_TARGET( s, inst ): return trim_64( s.pc + inst.uj_imm )
def BRANCH_TARGET( s, inst ): return trim_64( s.pc + inst.sb_imm )
def JUMP_TARGET(s, inst): return trim_64(s.pc + inst.uj_imm)
def BRANCH_TARGET(s, inst): return trim_64(s.pc + inst.sb_imm)
def __setitem__(self, idx, value): return RegisterFile.__setitem__(self, idx, trim_64(value))