Black reformat

This commit is contained in:
Danny Staple 2022-01-02 13:22:11 +00:00
parent fa2b8689ce
commit b065422813

View file

@ -106,7 +106,9 @@ def assemble(text_program):
try:
assembled[-1] |= CONDITIONS.index(instruction[1]) << 5
except ValueError as exc:
raise SyntaxError(f"Invalid jmp condition {instruction[1]}") from exc
raise SyntaxError(
f"Invalid jmp condition {instruction[1]}"
) from exc
elif instruction[0] == "wait":
# instr delay p sr index