longjmp: optimize forcing the return value to be non-zero

This commit is contained in:
Lephenixnoir 2021-05-14 18:05:47 +02:00
parent 6275b3e73b
commit 471d6ea820
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 2 additions and 3 deletions

View File

@ -15,9 +15,8 @@ _longjmp:
! check the returned value validity
tst r5, r5
bf/s int_block
mov r5, r9
mov #1, r9
movt r9
add r5, r9
! block interrupt
int_block: