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:
parent
4f6d474e52
commit
c34a738b4c
|
@ -138,3 +138,6 @@ sub $acc1, $acc0
|
|||
set16
|
||||
|
||||
call send_back ; 20
|
||||
|
||||
; We're done, DO NOT DELETE THIS LINE
|
||||
jmp end_of_test
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -114,4 +114,5 @@ neg $ACC0
|
|||
set40
|
||||
call send_back ; 18
|
||||
|
||||
|
||||
; We're done, DO NOT DELETE THIS LINE
|
||||
jmp end_of_test
|
||||
|
|
Loading…
Reference in New Issue