def to_dict(self) -> dict:
        """

        :return:
        """
        result = {"address": self.address, "opcode": self.op_code}
        if self.argument:
            result["argument"] = self.argument
        return result
def to_dict ( self ) -> dict : result = { "address" : self . address , "opcode" : self . op_code } if self . argument : result [ "argument" ] = self . argument return result
:return: