Lines Matching +full:- +full:replace
30 tag: "".join(reversed(iset.iset[tag]["enc"].replace(" ", "")))
96 ## @A2_add 11110011000.......-.....---..... Rd=%A2_add_Rd Rs=%A2_add_Rs Rt=%A2_add_Rt %PP
97 ## A2_add ..................-.....---..... @A2_add
101 f.write(f"## DO NOT MODIFY - This file is generated by {sys.argv[0]}\n\n")
114 # The subinstructions come with a 13-bit encoding, but
117 enc_str = "---" + enc_str
157 fields.append(f"{m.start()}:{sign_mark}{m.end() - m.start()}")
165 enc_str = enc_str.replace("d", "-")
167 enc_str = enc_str.replace("t", "-")
169 # Replace the operand letters with .
171 enc_str = enc_str.replace(x, ".")
188 # Replace the 0s and 1s with .
189 enc_str = enc_str.replace("0", ".").replace("1", ".")