Debian Codegraph @

Source/DSPSpy/tests/dsp_test.ds

raw
1 incdir "tests"
2 include "dsp_base.inc"
3
4 ; Right here we are at a specific predetermined state.
5 ; Ideal environment to try instructions.
6
7 ; We can call send_back at any time to send data back to the PowerPC.
8
9 test_main:
10 lri $AC0.M, #0x1000
11 call send_back
12
13 set40
14 lri $AC0.M, #0x1000
15 set16
16 call send_back
17
18 ; We're done, DO NOT DELETE THIS LINE
19 jmp end_of_test