diff --git a/src/runtime/asm_avr.S b/src/runtime/asm_avr.S index 23a3d49610..b5d4cf9fd2 100644 --- a/src/runtime/asm_avr.S +++ b/src/runtime/asm_avr.S @@ -78,5 +78,8 @@ tinygo_longjmp: ld r28, X+ ld r29, X+ + ; Mark that we returned from a longjmp. + ldi r24, 1 + ; Jump to the PC (stored in the Z register) icall