(encoding, op_list)
| 103 | InstDefDic = {} |
| 104 | |
| 105 | def 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 | |
| 112 | def IsOpInList(op_name, op_list): |
| 113 |
no test coverage detected