andc_ls_test.ds 373 B

123456789101112131415161718192021222324
  1. incdir "tests"
  2. include "dsp_base.inc"
  3. ; Test for andc'ls
  4. ;
  5. ; 3d80 andc'ls $AC1.M : $AX0.L, $AC0.M
  6. test_main:
  7. clr $ACC0
  8. clr $ACC1
  9. lri $AX0.L, #0x0000
  10. lri $AR0, #0x0FF0
  11. lri $AR3, #0x0FF0
  12. lri $AC0.M, #0x0004
  13. lri $AC1.M, #0x1234
  14. cw 0x3d80 ; andc'ls $AC1.M : $AX0.L, $AC0.M
  15. call send_back
  16. ; We're done, DO NOT DELETE THIS LINE
  17. jmp end_of_test