DSPSpy: save and restore $sr properly

This commit is contained in:
Tillmann Karras
2020-06-02 01:50:02 +01:00
parent 3118a68246
commit fb041f75e5
3 changed files with 27 additions and 36 deletions

View File

@ -6,9 +6,6 @@ include "dsp_base.inc"
; We can call send_back at any time to send data back to the PowerPC.
; Calling set40 here seemed to crash the dsp tester in strange ways
; until I added set16 in send_back. Seems clear that it affects something important.
lri $AC0.M, #0x1000
call send_back