dsp_test.ds 381 B

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