angr_platforms/msp430/instrs_msp430.py
def decorate_dst(self, dst_bits, mode_bits, imm_bits):
        """
        Computes the decorated destination operand for disassembly
        """
        dst = ArchMSP430.register_index[int(dst_bits, 2)]
        dst_mode = int(mode_bits, 2)
        dst_imm = None
        # Using sr as the dst enables "absolute addressing"
        if dst == 'sr' and dst_mode == ArchMSP430.Mode.INDEXED_MODE:
            dst_mode = ArchMSP430.Mode.ABSOLUTE_MODE
        if imm_bits:
            dst_imm = bits_to_signed_int(imm_bits)

        # two-op instructions always have a dst
        dst_str = self.decorate_reg(dst, dst_mode, dst_imm)
        # val = val.cast_to(ty)
        return dst_str

        Computes the decorated destination operand for disassembly
        
Computes the decorated destination operand for disassembly
Computes the decorated destination operand for disassembly
def decorate_dst(self, dst_bits, mode_bits, imm_bits):
        dst = ArchMSP430.register_index[int(dst_bits, 2)]
        dst_mode = int(mode_bits, 2)
        dst_imm = None
        if dst == 'sr' and dst_mode == ArchMSP430.Mode.INDEXED_MODE:
            dst_mode = ArchMSP430.Mode.ABSOLUTE_MODE
        if imm_bits:
            dst_imm = bits_to_signed_int(imm_bits)
        dst_str = self.decorate_reg(dst, dst_mode, dst_imm)
        return dst_str
def decorate_dst ( self , dst_bits , mode_bits , imm_bits ) : dst = ArchMSP430 . register_index [ int ( dst_bits , 2 ) ] dst_mode = int ( mode_bits , 2 ) dst_imm = None if dst == 'sr' and dst_mode == ArchMSP430 . Mode . INDEXED_MODE : dst_mode = ArchMSP430 . Mode . ABSOLUTE_MODE if imm_bits : dst_imm = bits_to_signed_int ( imm_bits ) dst_str = self . decorate_reg ( dst , dst_mode , dst_imm ) return dst_str
Computes the decorated destination operand for disassembly
Computes the decorated destination operand for disassembly
"""
        Computes the decorated destination operand for disassembly
        """ # Using sr as the dst enables "absolute addressing" # two-op instructions always have a dst # val = val.cast_to(ty)
self
dst_bits
mode_bits
imm_bits