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

lri $AR1,    #0x293f
lri $IX1,    #0xaae6
lri $WR1,    #0x6dcb
cw 0xd
call send_back  ; 41835 (0xa36b)

lri $AR1,    #0x8abb
lri $IX1,    #0x6f0c
lri $WR1,    #0xaad7
cw 0xd
call send_back  ; 41836 (0xa36c)

lri $AR1,    #0xb56c
lri $IX1,    #0x0670
lri $WR1,    #0x6105
cw 0xd
call send_back  ; 41837 (0xa36d)

lri $AR1,    #0xcb98
lri $IX1,    #0x1986
lri $WR1,    #0x64bd
cw 0xd
call send_back  ; 41838 (0xa36e)

lri $AR1,    #0xad1d
lri $IX1,    #0x7588
lri $WR1,    #0xabc5
cw 0xd
call send_back  ; 41839 (0xa36f)

lri $AR1,    #0x5f2d
lri $IX1,    #0x9718
lri $WR1,    #0x49d2
cw 0xd
call send_back  ; 41840 (0xa370)

lri $AR1,    #0xb426
lri $IX1,    #0xc0dc
lri $WR1,    #0x5549
cw 0xd
call send_back  ; 41841 (0xa371)

lri $AR1,    #0xbd9d
lri $IX1,    #0x9ac6
lri $WR1,    #0xddd3
cw 0xd
call send_back  ; 41842 (0xa372)

lri $AR1,    #0x669b
lri $IX1,    #0xc67a
lri $WR1,    #0xcfb5
cw 0xd
call send_back  ; 41843 (0xa373)

lri $AR1,    #0xdb40
lri $IX1,    #0x588a
lri $WR1,    #0x94a1
cw 0xd
call send_back  ; 41844 (0xa374)

lri $AR1,    #0x7e9e
lri $IX1,    #0x9dde
lri $WR1,    #0x5bf1
cw 0xd
call send_back  ; 41845 (0xa375)

lri $AR1,    #0x7f30
lri $IX1,    #0xe01c
lri $WR1,    #0x91eb
cw 0xd
call send_back  ; 41846 (0xa376)

lri $AR1,    #0x7da3
lri $IX1,    #0xdb6a
lri $WR1,    #0x8f1c
cw 0xd
call send_back  ; 41847 (0xa377)

lri $AR1,    #0x914f
lri $IX1,    #0x2b36
lri $WR1,    #0x4e56
cw 0xd
call send_back  ; 41848 (0xa378)

lri $AR1,    #0x2138
lri $IX1,    #0xfb7e
lri $WR1,    #0x616a
cw 0xd
call send_back  ; 41849 (0xa379)

lri $AR1,    #0x67cd
lri $IX1,    #0xa75a
lri $WR1,    #0x4a22
cw 0xd
call send_back  ; 41850 (0xa37a)

lri $AR1,    #0x6b52
lri $IX1,    #0x7cf8
lri $WR1,    #0x2e92
cw 0xd
call send_back  ; 41851 (0xa37b)

lri $AR1,    #0x9c32
lri $IX1,    #0x8320
lri $WR1,    #0xf556
cw 0xd
call send_back  ; 41852 (0xa37c)

lri $AR1,    #0x8610
lri $IX1,    #0xb33c
lri $WR1,    #0x8fb7
cw 0xd
call send_back  ; 41853 (0xa37d)

lri $AR1,    #0x6fe7
lri $IX1,    #0x86fe
lri $WR1,    #0x7569
cw 0xd
call send_back  ; 41854 (0xa37e)

lri $AR1,    #0xcb04
lri $IX1,    #0xd7c0
lri $WR1,    #0x76cb
cw 0xd
call send_back  ; 41855 (0xa37f)

lri $AR1,    #0x4839
lri $IX1,    #0xc18a
lri $WR1,    #0x7063
cw 0xd
call send_back  ; 41856 (0xa380)

lri $AR1,    #0xb5fb
lri $IX1,    #0x630e
lri $WR1,    #0x7378
cw 0xd
call send_back  ; 41857 (0xa381)

lri $AR1,    #0xc9e7
lri $IX1,    #0xcf48
lri $WR1,    #0x858b
cw 0xd
call send_back  ; 41858 (0xa382)

lri $AR1,    #0x8b48
lri $IX1,    #0x3552
lri $WR1,    #0x898e
cw 0xd
call send_back  ; 41859 (0xa383)

lri $AR1,    #0x9c27
lri $IX1,    #0x05ee
lri $WR1,    #0x9b92
cw 0xd
call send_back  ; 41860 (0xa384)

lri $AR1,    #0x7986
lri $IX1,    #0x9660
lri $WR1,    #0x80e2
cw 0xd
call send_back  ; 41861 (0xa385)

lri $AR1,    #0x5b2f
lri $IX1,    #0x4b2c
lri $WR1,    #0xac2e
cw 0xd
call send_back  ; 41862 (0xa386)

lri $AR1,    #0x7ee5
lri $IX1,    #0x953a
lri $WR1,    #0x96bd
cw 0xd
call send_back  ; 41863 (0xa387)

lri $AR1,    #0x423c
lri $IX1,    #0xdefa
lri $WR1,    #0x3552
cw 0xd
call send_back  ; 41864 (0xa388)

lri $AR1,    #0x59f2
lri $IX1,    #0xcf1a
lri $WR1,    #0x78c1
cw 0xd
call send_back  ; 41865 (0xa389)

lri $AR1,    #0x951a
lri $IX1,    #0xe156
lri $WR1,    #0x77cb
cw 0xd
call send_back  ; 41866 (0xa38a)

lri $AR1,    #0x4ddc
lri $IX1,    #0x25f8
lri $WR1,    #0x7152
cw 0xd
call send_back  ; 41867 (0xa38b)

lri $AR1,    #0xd12d
lri $IX1,    #0xdb96
lri $WR1,    #0xab6d
cw 0xd
call send_back  ; 41868 (0xa38c)

lri $AR1,    #0x823e
lri $IX1,    #0x6e98
lri $WR1,    #0xad7b
cw 0xd
call send_back  ; 41869 (0xa38d)

lri $AR1,    #0x2dfa
lri $IX1,    #0x152a
lri $WR1,    #0x50b7
cw 0xd
call send_back  ; 41870 (0xa38e)

lri $AR1,    #0xc666
lri $IX1,    #0x9e0a
lri $WR1,    #0x045c
cw 0xd
call send_back  ; 41871 (0xa38f)

lri $AR1,    #0x752b
lri $IX1,    #0xfbe4
lri $WR1,    #0x47ff
cw 0xd
call send_back  ; 41872 (0xa390)

lri $AR1,    #0x801e
lri $IX1,    #0x7eb4
lri $WR1,    #0xa80c
cw 0xd
call send_back  ; 41873 (0xa391)

lri $AR1,    #0xba1a
lri $IX1,    #0x67c4
lri $WR1,    #0xd61a
cw 0xd
call send_back  ; 41874 (0xa392)

lri $AR1,    #0x8df3
lri $IX1,    #0x74de
lri $WR1,    #0xa806
cw 0xd
call send_back  ; 41875 (0xa393)

lri $AR1,    #0x78da
lri $IX1,    #0x023c
lri $WR1,    #0xbe81
cw 0xd
call send_back  ; 41876 (0xa394)

lri $AR1,    #0xe4fe
lri $IX1,    #0x5aba
lri $WR1,    #0x2d0c
cw 0xd
call send_back  ; 41877 (0xa395)

lri $AR1,    #0x24bb
lri $IX1,    #0x98fa
lri $WR1,    #0x9afb
cw 0xd
call send_back  ; 41878 (0xa396)

lri $AR1,    #0xb22b
lri $IX1,    #0xfbe2
lri $WR1,    #0x5691
cw 0xd
call send_back  ; 41879 (0xa397)

lri $AR1,    #0x2e58
lri $IX1,    #0xa42e
lri $WR1,    #0x98c2
cw 0xd
call send_back  ; 41880 (0xa398)

lri $AR1,    #0x4701
lri $IX1,    #0x3870
lri $WR1,    #0xa1a5
cw 0xd
call send_back  ; 41881 (0xa399)

lri $AR1,    #0x8919
lri $IX1,    #0xc856
lri $WR1,    #0x4332
cw 0xd
call send_back  ; 41882 (0xa39a)

lri $AR1,    #0x99ed
lri $IX1,    #0x5776
lri $WR1,    #0xc157
cw 0xd
call send_back  ; 41883 (0xa39b)

lri $AR1,    #0x383d
lri $IX1,    #0x9b80
lri $WR1,    #0x83ea
cw 0xd
call send_back  ; 41884 (0xa39c)

lri $AR1,    #0xa205
lri $IX1,    #0x9114
lri $WR1,    #0x509f
cw 0xd
call send_back  ; 41885 (0xa39d)

lri $AR1,    #0x6b64
lri $IX1,    #0x761c
lri $WR1,    #0x8075
cw 0xd
call send_back  ; 41886 (0xa39e)

lri $AR1,    #0x5653
lri $IX1,    #0x57f6
lri $WR1,    #0x45c7
cw 0xd
call send_back  ; 41887 (0xa39f)

lri $AR1,    #0xb296
lri $IX1,    #0x9736
lri $WR1,    #0x7d76
cw 0xd
call send_back  ; 41888 (0xa3a0)

lri $AR1,    #0x989e
lri $IX1,    #0x6a5e
lri $WR1,    #0x8f55
cw 0xd
call send_back  ; 41889 (0xa3a1)

lri $AR1,    #0xd1c7
lri $IX1,    #0x644a
lri $WR1,    #0x6f4e
cw 0xd
call send_back  ; 41890 (0xa3a2)

lri $AR1,    #0xd3ad
lri $IX1,    #0x32b2
lri $WR1,    #0x426c
cw 0xd
call send_back  ; 41891 (0xa3a3)

lri $AR1,    #0xbbe8
lri $IX1,    #0x0c86
lri $WR1,    #0x6040
cw 0xd
call send_back  ; 41892 (0xa3a4)

lri $AR1,    #0x9517
lri $IX1,    #0x7f7a
lri $WR1,    #0x42bd
cw 0xd
call send_back  ; 41893 (0xa3a5)

lri $AR1,    #0x3d66
lri $IX1,    #0x5794
lri $WR1,    #0x5420
cw 0xd
call send_back  ; 41894 (0xa3a6)

lri $AR1,    #0x6a83
lri $IX1,    #0x1af4
lri $WR1,    #0xcbe7
cw 0xd
call send_back  ; 41895 (0xa3a7)

lri $AR1,    #0xde35
lri $IX1,    #0xe7e0
lri $WR1,    #0x5175
cw 0xd
call send_back  ; 41896 (0xa3a8)

lri $AR1,    #0x4a75
lri $IX1,    #0x4a12
lri $WR1,    #0x4465
cw 0xd
call send_back  ; 41897 (0xa3a9)

lri $AR1,    #0x835a
lri $IX1,    #0xb864
lri $WR1,    #0x3827
cw 0xd
call send_back  ; 41898 (0xa3aa)

lri $AR1,    #0xd094
lri $IX1,    #0xbb02
lri $WR1,    #0xc1f2
cw 0xd
call send_back  ; 41899 (0xa3ab)

lri $AR1,    #0x57f0
lri $IX1,    #0x1dee
lri $WR1,    #0x8d9e
cw 0xd
call send_back  ; 41900 (0xa3ac)

lri $AR1,    #0x9575
lri $IX1,    #0xeb40
lri $WR1,    #0x2772
cw 0xd
call send_back  ; 41901 (0xa3ad)

lri $AR1,    #0x85b4
lri $IX1,    #0x13e2
lri $WR1,    #0x6676
cw 0xd
call send_back  ; 41902 (0xa3ae)

lri $AR1,    #0x69db
lri $IX1,    #0x8d12
lri $WR1,    #0xc45c
cw 0xd
call send_back  ; 41903 (0xa3af)

lri $AR1,    #0xc508
lri $IX1,    #0x1c8e
lri $WR1,    #0x959a
cw 0xd
call send_back  ; 41904 (0xa3b0)

lri $AR1,    #0x3d89
lri $IX1,    #0xf49c
lri $WR1,    #0xdda1
cw 0xd
call send_back  ; 41905 (0xa3b1)

lri $AR1,    #0x4c7f
lri $IX1,    #0x7ce8
lri $WR1,    #0x48f7
cw 0xd
call send_back  ; 41906 (0xa3b2)

lri $AR1,    #0x7987
lri $IX1,    #0x145a
lri $WR1,    #0x8811
cw 0xd
call send_back  ; 41907 (0xa3b3)

lri $AR1,    #0xa7e4
lri $IX1,    #0x1bda
lri $WR1,    #0xbb9e
cw 0xd
call send_back  ; 41908 (0xa3b4)

lri $AR1,    #0x95e1
lri $IX1,    #0x1134
lri $WR1,    #0x3c47
cw 0xd
call send_back  ; 41909 (0xa3b5)

lri $AR1,    #0x7ebe
lri $IX1,    #0xcd0a
lri $WR1,    #0xa56f
cw 0xd
call send_back  ; 41910 (0xa3b6)

lri $AR1,    #0xb2fe
lri $IX1,    #0xf602
lri $WR1,    #0x8c10
cw 0xd
call send_back  ; 41911 (0xa3b7)

lri $AR1,    #0xd260
lri $IX1,    #0x4f22
lri $WR1,    #0x903d
cw 0xd
call send_back  ; 41912 (0xa3b8)

lri $AR1,    #0x7e5e
lri $IX1,    #0x8e90
lri $WR1,    #0x6152
cw 0xd
call send_back  ; 41913 (0xa3b9)

lri $AR1,    #0x3b6b
lri $IX1,    #0xc594
lri $WR1,    #0xba78
cw 0xd
call send_back  ; 41914 (0xa3ba)

lri $AR1,    #0xaae4
lri $IX1,    #0xf22c
lri $WR1,    #0xae74
cw 0xd
call send_back  ; 41915 (0xa3bb)

lri $AR1,    #0xaed6
lri $IX1,    #0xf5ec
lri $WR1,    #0x2f5b
cw 0xd
call send_back  ; 41916 (0xa3bc)

lri $AR1,    #0x449e
lri $IX1,    #0xc5ac
lri $WR1,    #0x7846
cw 0xd
call send_back  ; 41917 (0xa3bd)

lri $AR1,    #0xd279
lri $IX1,    #0x108c
lri $WR1,    #0xbc86
cw 0xd
call send_back  ; 41918 (0xa3be)

lri $AR1,    #0xa80e
lri $IX1,    #0xbcf2
lri $WR1,    #0xa16c
cw 0xd
call send_back  ; 41919 (0xa3bf)

lri $AR1,    #0x6912
lri $IX1,    #0x4cfc
lri $WR1,    #0x6d38
cw 0xd
call send_back  ; 41920 (0xa3c0)

lri $AR1,    #0x64f4
lri $IX1,    #0x63fe
lri $WR1,    #0x5f42
cw 0xd
call send_back  ; 41921 (0xa3c1)

lri $AR1,    #0x5dd1
lri $IX1,    #0x21ae
lri $WR1,    #0xb2e5
cw 0xd
call send_back  ; 41922 (0xa3c2)

lri $AR1,    #0x548e
lri $IX1,    #0xb768
lri $WR1,    #0xc044
cw 0xd
call send_back  ; 41923 (0xa3c3)

lri $AR1,    #0x775a
lri $IX1,    #0x5f48
lri $WR1,    #0x636c
cw 0xd
call send_back  ; 41924 (0xa3c4)

lri $AR1,    #0x2b6c
lri $IX1,    #0x9476
lri $WR1,    #0xabfa
cw 0xd
call send_back  ; 41925 (0xa3c5)

lri $AR1,    #0xba55
lri $IX1,    #0xf76e
lri $WR1,    #0xb4b8
cw 0xd
call send_back  ; 41926 (0xa3c6)

lri $AR1,    #0xceac
lri $IX1,    #0x8898
lri $WR1,    #0x445b
cw 0xd
call send_back  ; 41927 (0xa3c7)

lri $AR1,    #0x836d
lri $IX1,    #0xb702
lri $WR1,    #0x5de6
cw 0xd
call send_back  ; 41928 (0xa3c8)

lri $AR1,    #0xb4cb
lri $IX1,    #0x087a
lri $WR1,    #0x90bb
cw 0xd
call send_back  ; 41929 (0xa3c9)

lri $AR1,    #0x60e0
lri $IX1,    #0xbbf6
lri $WR1,    #0x85f8
cw 0xd
call send_back  ; 41930 (0xa3ca)

lri $AR1,    #0x99e9
lri $IX1,    #0x9684
lri $WR1,    #0x5a2b
cw 0xd
call send_back  ; 41931 (0xa3cb)

lri $AR1,    #0xb381
lri $IX1,    #0xee90
lri $WR1,    #0xa7ee
cw 0xd
call send_back  ; 41932 (0xa3cc)

lri $AR1,    #0xcf8f
lri $IX1,    #0xe0e6
lri $WR1,    #0xa16a
cw 0xd
call send_back  ; 41933 (0xa3cd)

lri $AR1,    #0x9f44
lri $IX1,    #0x462c
lri $WR1,    #0x947a
cw 0xd
call send_back  ; 41934 (0xa3ce)

lri $AR1,    #0x6ffb
lri $IX1,    #0x5f24
lri $WR1,    #0x1647
cw 0xd
call send_back  ; 41935 (0xa3cf)

lri $AR1,    #0xd344
lri $IX1,    #0x2192
lri $WR1,    #0xb922
cw 0xd
call send_back  ; 41936 (0xa3d0)

lri $AR1,    #0xbce9
lri $IX1,    #0x7714
lri $WR1,    #0x7887
cw 0xd
call send_back  ; 41937 (0xa3d1)

lri $AR1,    #0x314c
lri $IX1,    #0x7aae
lri $WR1,    #0x54e9
cw 0xd
call send_back  ; 41938 (0xa3d2)

lri $AR1,    #0x71d6
lri $IX1,    #0xb16c
lri $WR1,    #0x4a55
cw 0xd
call send_back  ; 41939 (0xa3d3)

lri $AR1,    #0x5cdd
lri $IX1,    #0x3de2
lri $WR1,    #0xc279
cw 0xd
call send_back  ; 41940 (0xa3d4)

lri $AR1,    #0x51c8
lri $IX1,    #0x05d0
lri $WR1,    #0x3c24
cw 0xd
call send_back  ; 41941 (0xa3d5)

lri $AR1,    #0xb9b8
lri $IX1,    #0x8cce
lri $WR1,    #0x7fc9
cw 0xd
call send_back  ; 41942 (0xa3d6)

lri $AR1,    #0x389d
lri $IX1,    #0xc648
lri $WR1,    #0x3a19
cw 0xd
call send_back  ; 41943 (0xa3d7)

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