code: def get_format(inst: Instruction) -> str:
      if inst.properties.oparg:
          format = "INSTR_FMT_IB"
      else:
          format = "INSTR_FMT_IX"
      if inst.size > 1:
          format += "C"
      format += "0" * (inst.size - 2)
      return format
  
imports: import argparse
  import os.path
  import sys
  from analyzer import Analysis, Instruction, analyze_files, Skip, Uop
  from generators_common import DEFAULT_INPUT, ROOT, write_header, cflags, StackOffset
  from cwriter import CWriter
  from typing import TextIO
  from stack import get_stack_effect
label_desc: Use image node_id 6 for calling a global function with example usage: get_format(inst) and returns: format