Fix exception bug

This commit is contained in:
Thomas Lovén 2022-01-04 21:50:08 +01:00
parent f89fafe1fa
commit d6025a1db7

View File

@ -12,7 +12,7 @@ print("// Interrupt Service Routines")
for i in range(num_isr):
print(f"""isr{i}:
cli
{"push 0" if i in pushes_error else "nop"}
{"nop" if i in pushes_error else "push 0"}
push {i}
jmp isr_common""")