summaryrefslogtreecommitdiff
path: root/Source/DSPSpy/tests/dsp_test.ds
blob: 818f6815670d25f16049685e9e89287ac998b257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
incdir "tests"
include "dsp_base.inc"

;  Right here we are at a specific predetermined state.
;  Ideal environment to try instructions.
        
;  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

       set40
       lri $AC0.M, #0x1000
       set16
	call send_back

; We're done, DO NOT DELETE THIS LINE
	jmp end_of_test