def dump(self, f=sys.stdout, suffix='\n'):
    f.write(('%4.4x:' % self.code_unit_idx))
    for code_unit in self.code_units:
        f.write((' %4.4x' % swap16(code_unit)))
    num_code_units = len(self.code_units)
    if (num_code_units < 5):
        pad = (5 - num_code_units)
        for i in range(pad):
            f.write('     ')
    f.write(' ')
    self.instruction.dump(f=f)
    if suffix:
        f.write(suffix)
def dump(self, f=sys.stdout, suffix='\n'):
    f.write(('%4.4x:' % self.code_unit_idx))
    for code_unit in self.code_units:
        f.write((' %4.4x' % swap16(code_unit)))
    num_code_units = len(self.code_units)
    if (num_code_units < 5):
        pad = (5 - num_code_units)
        for i in range(pad):
            f.write('     ')
    f.write(' ')
    self.instruction.dump(f=f)
    if suffix:
        f.write(suffix)