;misc test
incdir  "tests"
include "dsp_base.inc"

lri $AR1,    #0x4000
lri $IX1,    #0x0300
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 769 (0x0301)

lri $AR1,    #0x4000
lri $IX1,    #0x0301
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 770 (0x0302)

lri $AR1,    #0x4000
lri $IX1,    #0x0302
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 771 (0x0303)

lri $AR1,    #0x4000
lri $IX1,    #0x0303
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 772 (0x0304)

lri $AR1,    #0x4000
lri $IX1,    #0x0304
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 773 (0x0305)

lri $AR1,    #0x4000
lri $IX1,    #0x0305
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 774 (0x0306)

lri $AR1,    #0x4000
lri $IX1,    #0x0306
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 775 (0x0307)

lri $AR1,    #0x4000
lri $IX1,    #0x0307
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 776 (0x0308)

lri $AR1,    #0x4000
lri $IX1,    #0x0308
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 777 (0x0309)

lri $AR1,    #0x4000
lri $IX1,    #0x0309
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 778 (0x030a)

lri $AR1,    #0x4000
lri $IX1,    #0x030a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 779 (0x030b)

lri $AR1,    #0x4000
lri $IX1,    #0x030b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 780 (0x030c)

lri $AR1,    #0x4000
lri $IX1,    #0x030c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 781 (0x030d)

lri $AR1,    #0x4000
lri $IX1,    #0x030d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 782 (0x030e)

lri $AR1,    #0x4000
lri $IX1,    #0x030e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 783 (0x030f)

lri $AR1,    #0x4000
lri $IX1,    #0x030f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 784 (0x0310)

lri $AR1,    #0x4000
lri $IX1,    #0x0310
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 785 (0x0311)

lri $AR1,    #0x4000
lri $IX1,    #0x0311
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 786 (0x0312)

lri $AR1,    #0x4000
lri $IX1,    #0x0312
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 787 (0x0313)

lri $AR1,    #0x4000
lri $IX1,    #0x0313
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 788 (0x0314)

lri $AR1,    #0x4000
lri $IX1,    #0x0314
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 789 (0x0315)

lri $AR1,    #0x4000
lri $IX1,    #0x0315
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 790 (0x0316)

lri $AR1,    #0x4000
lri $IX1,    #0x0316
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 791 (0x0317)

lri $AR1,    #0x4000
lri $IX1,    #0x0317
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 792 (0x0318)

lri $AR1,    #0x4000
lri $IX1,    #0x0318
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 793 (0x0319)

lri $AR1,    #0x4000
lri $IX1,    #0x0319
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 794 (0x031a)

lri $AR1,    #0x4000
lri $IX1,    #0x031a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 795 (0x031b)

lri $AR1,    #0x4000
lri $IX1,    #0x031b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 796 (0x031c)

lri $AR1,    #0x4000
lri $IX1,    #0x031c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 797 (0x031d)

lri $AR1,    #0x4000
lri $IX1,    #0x031d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 798 (0x031e)

lri $AR1,    #0x4000
lri $IX1,    #0x031e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 799 (0x031f)

lri $AR1,    #0x4000
lri $IX1,    #0x031f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 800 (0x0320)

lri $AR1,    #0x4000
lri $IX1,    #0x0320
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 801 (0x0321)

lri $AR1,    #0x4000
lri $IX1,    #0x0321
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 802 (0x0322)

lri $AR1,    #0x4000
lri $IX1,    #0x0322
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 803 (0x0323)

lri $AR1,    #0x4000
lri $IX1,    #0x0323
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 804 (0x0324)

lri $AR1,    #0x4000
lri $IX1,    #0x0324
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 805 (0x0325)

lri $AR1,    #0x4000
lri $IX1,    #0x0325
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 806 (0x0326)

lri $AR1,    #0x4000
lri $IX1,    #0x0326
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 807 (0x0327)

lri $AR1,    #0x4000
lri $IX1,    #0x0327
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 808 (0x0328)

lri $AR1,    #0x4000
lri $IX1,    #0x0328
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 809 (0x0329)

lri $AR1,    #0x4000
lri $IX1,    #0x0329
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 810 (0x032a)

lri $AR1,    #0x4000
lri $IX1,    #0x032a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 811 (0x032b)

lri $AR1,    #0x4000
lri $IX1,    #0x032b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 812 (0x032c)

lri $AR1,    #0x4000
lri $IX1,    #0x032c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 813 (0x032d)

lri $AR1,    #0x4000
lri $IX1,    #0x032d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 814 (0x032e)

lri $AR1,    #0x4000
lri $IX1,    #0x032e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 815 (0x032f)

lri $AR1,    #0x4000
lri $IX1,    #0x032f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 816 (0x0330)

lri $AR1,    #0x4000
lri $IX1,    #0x0330
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 817 (0x0331)

lri $AR1,    #0x4000
lri $IX1,    #0x0331
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 818 (0x0332)

lri $AR1,    #0x4000
lri $IX1,    #0x0332
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 819 (0x0333)

lri $AR1,    #0x4000
lri $IX1,    #0x0333
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 820 (0x0334)

lri $AR1,    #0x4000
lri $IX1,    #0x0334
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 821 (0x0335)

lri $AR1,    #0x4000
lri $IX1,    #0x0335
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 822 (0x0336)

lri $AR1,    #0x4000
lri $IX1,    #0x0336
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 823 (0x0337)

lri $AR1,    #0x4000
lri $IX1,    #0x0337
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 824 (0x0338)

lri $AR1,    #0x4000
lri $IX1,    #0x0338
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 825 (0x0339)

lri $AR1,    #0x4000
lri $IX1,    #0x0339
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 826 (0x033a)

lri $AR1,    #0x4000
lri $IX1,    #0x033a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 827 (0x033b)

lri $AR1,    #0x4000
lri $IX1,    #0x033b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 828 (0x033c)

lri $AR1,    #0x4000
lri $IX1,    #0x033c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 829 (0x033d)

lri $AR1,    #0x4000
lri $IX1,    #0x033d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 830 (0x033e)

lri $AR1,    #0x4000
lri $IX1,    #0x033e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 831 (0x033f)

lri $AR1,    #0x4000
lri $IX1,    #0x033f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 832 (0x0340)

lri $AR1,    #0x4000
lri $IX1,    #0x0340
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 833 (0x0341)

lri $AR1,    #0x4000
lri $IX1,    #0x0341
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 834 (0x0342)

lri $AR1,    #0x4000
lri $IX1,    #0x0342
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 835 (0x0343)

lri $AR1,    #0x4000
lri $IX1,    #0x0343
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 836 (0x0344)

lri $AR1,    #0x4000
lri $IX1,    #0x0344
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 837 (0x0345)

lri $AR1,    #0x4000
lri $IX1,    #0x0345
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 838 (0x0346)

lri $AR1,    #0x4000
lri $IX1,    #0x0346
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 839 (0x0347)

lri $AR1,    #0x4000
lri $IX1,    #0x0347
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 840 (0x0348)

lri $AR1,    #0x4000
lri $IX1,    #0x0348
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 841 (0x0349)

lri $AR1,    #0x4000
lri $IX1,    #0x0349
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 842 (0x034a)

lri $AR1,    #0x4000
lri $IX1,    #0x034a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 843 (0x034b)

lri $AR1,    #0x4000
lri $IX1,    #0x034b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 844 (0x034c)

lri $AR1,    #0x4000
lri $IX1,    #0x034c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 845 (0x034d)

lri $AR1,    #0x4000
lri $IX1,    #0x034d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 846 (0x034e)

lri $AR1,    #0x4000
lri $IX1,    #0x034e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 847 (0x034f)

lri $AR1,    #0x4000
lri $IX1,    #0x034f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 848 (0x0350)

lri $AR1,    #0x4000
lri $IX1,    #0x0350
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 849 (0x0351)

lri $AR1,    #0x4000
lri $IX1,    #0x0351
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 850 (0x0352)

lri $AR1,    #0x4000
lri $IX1,    #0x0352
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 851 (0x0353)

lri $AR1,    #0x4000
lri $IX1,    #0x0353
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 852 (0x0354)

lri $AR1,    #0x4000
lri $IX1,    #0x0354
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 853 (0x0355)

lri $AR1,    #0x4000
lri $IX1,    #0x0355
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 854 (0x0356)

lri $AR1,    #0x4000
lri $IX1,    #0x0356
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 855 (0x0357)

lri $AR1,    #0x4000
lri $IX1,    #0x0357
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 856 (0x0358)

lri $AR1,    #0x4000
lri $IX1,    #0x0358
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 857 (0x0359)

lri $AR1,    #0x4000
lri $IX1,    #0x0359
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 858 (0x035a)

lri $AR1,    #0x4000
lri $IX1,    #0x035a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 859 (0x035b)

lri $AR1,    #0x4000
lri $IX1,    #0x035b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 860 (0x035c)

lri $AR1,    #0x4000
lri $IX1,    #0x035c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 861 (0x035d)

lri $AR1,    #0x4000
lri $IX1,    #0x035d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 862 (0x035e)

lri $AR1,    #0x4000
lri $IX1,    #0x035e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 863 (0x035f)

lri $AR1,    #0x4000
lri $IX1,    #0x035f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 864 (0x0360)

lri $AR1,    #0x4000
lri $IX1,    #0x0360
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 865 (0x0361)

lri $AR1,    #0x4000
lri $IX1,    #0x0361
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 866 (0x0362)

lri $AR1,    #0x4000
lri $IX1,    #0x0362
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 867 (0x0363)

lri $AR1,    #0x4000
lri $IX1,    #0x0363
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 868 (0x0364)

lri $AR1,    #0x4000
lri $IX1,    #0x0364
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 869 (0x0365)

lri $AR1,    #0x4000
lri $IX1,    #0x0365
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 870 (0x0366)

lri $AR1,    #0x4000
lri $IX1,    #0x0366
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 871 (0x0367)

lri $AR1,    #0x4000
lri $IX1,    #0x0367
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 872 (0x0368)

lri $AR1,    #0x4000
lri $IX1,    #0x0368
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 873 (0x0369)

lri $AR1,    #0x4000
lri $IX1,    #0x0369
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 874 (0x036a)

lri $AR1,    #0x4000
lri $IX1,    #0x036a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 875 (0x036b)

lri $AR1,    #0x4000
lri $IX1,    #0x036b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 876 (0x036c)

lri $AR1,    #0x4000
lri $IX1,    #0x036c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 877 (0x036d)

lri $AR1,    #0x4000
lri $IX1,    #0x036d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 878 (0x036e)

lri $AR1,    #0x4000
lri $IX1,    #0x036e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 879 (0x036f)

lri $AR1,    #0x4000
lri $IX1,    #0x036f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 880 (0x0370)

lri $AR1,    #0x4000
lri $IX1,    #0x0370
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 881 (0x0371)

lri $AR1,    #0x4000
lri $IX1,    #0x0371
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 882 (0x0372)

lri $AR1,    #0x4000
lri $IX1,    #0x0372
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 883 (0x0373)

lri $AR1,    #0x4000
lri $IX1,    #0x0373
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 884 (0x0374)

lri $AR1,    #0x4000
lri $IX1,    #0x0374
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 885 (0x0375)

lri $AR1,    #0x4000
lri $IX1,    #0x0375
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 886 (0x0376)

lri $AR1,    #0x4000
lri $IX1,    #0x0376
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 887 (0x0377)

lri $AR1,    #0x4000
lri $IX1,    #0x0377
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 888 (0x0378)

lri $AR1,    #0x4000
lri $IX1,    #0x0378
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 889 (0x0379)

lri $AR1,    #0x4000
lri $IX1,    #0x0379
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 890 (0x037a)

lri $AR1,    #0x4000
lri $IX1,    #0x037a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 891 (0x037b)

lri $AR1,    #0x4000
lri $IX1,    #0x037b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 892 (0x037c)

lri $AR1,    #0x4000
lri $IX1,    #0x037c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 893 (0x037d)

lri $AR1,    #0x4000
lri $IX1,    #0x037d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 894 (0x037e)

lri $AR1,    #0x4000
lri $IX1,    #0x037e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 895 (0x037f)

lri $AR1,    #0x4000
lri $IX1,    #0x037f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 896 (0x0380)

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

