code: def dump_opcodes(opmap):
      
      op2name = {}
      for k in opmap.keys():
          op2name[opmap[k]] = k
      for i in sorted(op2name.keys()):
          print("%-3s %s" % (str(i), op2name[i]))
docs: Utility for dumping opcodes