DSPSpy: Add missing jumps to end_of_test

Without this, execution continues beyond the end of the function, into the great unknown (probably eventually falling into either code left from a previous test, or the start of the DSP ROM). end_of_test is just an infinite loop to stop executing until the DSP is reset.
This commit is contained in:
Pokechu22 2022-05-23 11:33:59 -07:00
parent 4f6d474e52
commit c34a738b4c
3 changed files with 7 additions and 3 deletions

View File

@ -138,3 +138,6 @@ sub $acc1, $acc0
set16
call send_back ; 20
; We're done, DO NOT DELETE THIS LINE
jmp end_of_test

View File

@ -244,5 +244,5 @@ lri $AX1.L, #0x13
nx'ldnm : $AX0.L, $AX1.L, @$AR0
call send_back ; 20
; We're done, DO NOT DELETE THIS LINE
jmp end_of_test

View File

@ -114,4 +114,5 @@ neg $ACC0
set40
call send_back ; 18
; We're done, DO NOT DELETE THIS LINE
jmp end_of_test