MCPcopy Create free account
hub / github.com/Inori/GPCS4 / WriteList

Function WriteList

Tools/ParseOpcode.py:105–110  ·  view source on GitHub ↗
(encoding, op_list)

Source from the content-addressed store, hash-verified

103InstDefDic = {}
104
105def WriteList(encoding, op_list):
106 dst_name = encoding + '.txt'
107 with open(dst_name, 'w') as dst:
108 for opcode, value, mode in op_list:
109 line = '{}\t{}\t{}\n'.format(opcode, value, mode)
110 dst.write(line)
111
112def IsOpInList(op_name, op_list):
113

Callers 1

ProcessOpcodesFunction · 0.85

Calls 2

formatMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected