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

lri $AR1,    #0xacb9
lri $IX1,    #0xdf8c
lri $WR1,    #0x71a2
cw 0xd
call send_back  ; 38886 (0x97e6)

lri $AR1,    #0x3cd3
lri $IX1,    #0xba42
lri $WR1,    #0x38d7
cw 0xd
call send_back  ; 38887 (0x97e7)

lri $AR1,    #0x0c7e
lri $IX1,    #0x3de2
lri $WR1,    #0xa639
cw 0xd
call send_back  ; 38888 (0x97e8)

lri $AR1,    #0xa90a
lri $IX1,    #0x682c
lri $WR1,    #0x3f50
cw 0xd
call send_back  ; 38889 (0x97e9)

lri $AR1,    #0x4e72
lri $IX1,    #0xb312
lri $WR1,    #0x2a4a
cw 0xd
call send_back  ; 38890 (0x97ea)

lri $AR1,    #0x7260
lri $IX1,    #0x4062
lri $WR1,    #0x6b6d
cw 0xd
call send_back  ; 38891 (0x97eb)

lri $AR1,    #0x6c21
lri $IX1,    #0xb5d6
lri $WR1,    #0x7d6e
cw 0xd
call send_back  ; 38892 (0x97ec)

lri $AR1,    #0x8e57
lri $IX1,    #0xe4ce
lri $WR1,    #0x92c1
cw 0xd
call send_back  ; 38893 (0x97ed)

lri $AR1,    #0x36b6
lri $IX1,    #0x8488
lri $WR1,    #0x4b6d
cw 0xd
call send_back  ; 38894 (0x97ee)

lri $AR1,    #0x9ba5
lri $IX1,    #0x2528
lri $WR1,    #0x8c76
cw 0xd
call send_back  ; 38895 (0x97ef)

lri $AR1,    #0x5705
lri $IX1,    #0xf562
lri $WR1,    #0x4b68
cw 0xd
call send_back  ; 38896 (0x97f0)

lri $AR1,    #0x38fd
lri $IX1,    #0xdc02
lri $WR1,    #0x6a29
cw 0xd
call send_back  ; 38897 (0x97f1)

lri $AR1,    #0x2d10
lri $IX1,    #0xa24a
lri $WR1,    #0x8c79
cw 0xd
call send_back  ; 38898 (0x97f2)

lri $AR1,    #0x4f53
lri $IX1,    #0x5b4a
lri $WR1,    #0x825c
cw 0xd
call send_back  ; 38899 (0x97f3)

lri $AR1,    #0x1711
lri $IX1,    #0xb81c
lri $WR1,    #0xd7e0
cw 0xd
call send_back  ; 38900 (0x97f4)

lri $AR1,    #0x97a9
lri $IX1,    #0x7056
lri $WR1,    #0x345b
cw 0xd
call send_back  ; 38901 (0x97f5)

lri $AR1,    #0xa801
lri $IX1,    #0x316e
lri $WR1,    #0x50ae
cw 0xd
call send_back  ; 38902 (0x97f6)

lri $AR1,    #0x2453
lri $IX1,    #0x876e
lri $WR1,    #0x4da2
cw 0xd
call send_back  ; 38903 (0x97f7)

lri $AR1,    #0xd5a2
lri $IX1,    #0xc4d6
lri $WR1,    #0x78e6
cw 0xd
call send_back  ; 38904 (0x97f8)

lri $AR1,    #0xb5bf
lri $IX1,    #0xf6d2
lri $WR1,    #0x78c6
cw 0xd
call send_back  ; 38905 (0x97f9)

lri $AR1,    #0xa605
lri $IX1,    #0x4ebe
lri $WR1,    #0x4429
cw 0xd
call send_back  ; 38906 (0x97fa)

lri $AR1,    #0xa2c2
lri $IX1,    #0xf93a
lri $WR1,    #0x9de0
cw 0xd
call send_back  ; 38907 (0x97fb)

lri $AR1,    #0x6490
lri $IX1,    #0xfe9a
lri $WR1,    #0x5fdf
cw 0xd
call send_back  ; 38908 (0x97fc)

lri $AR1,    #0x1c5b
lri $IX1,    #0x5ff0
lri $WR1,    #0x9c6f
cw 0xd
call send_back  ; 38909 (0x97fd)

lri $AR1,    #0xe68c
lri $IX1,    #0x0fbe
lri $WR1,    #0x58dd
cw 0xd
call send_back  ; 38910 (0x97fe)

lri $AR1,    #0x94fc
lri $IX1,    #0x8448
lri $WR1,    #0x46c7
cw 0xd
call send_back  ; 38911 (0x97ff)

lri $AR1,    #0x6727
lri $IX1,    #0x55a4
lri $WR1,    #0xc68c
cw 0xd
call send_back  ; 38912 (0x9800)

lri $AR1,    #0x9352
lri $IX1,    #0x80ac
lri $WR1,    #0x86f2
cw 0xd
call send_back  ; 38913 (0x9801)

lri $AR1,    #0x8301
lri $IX1,    #0x63ac
lri $WR1,    #0x2395
cw 0xd
call send_back  ; 38914 (0x9802)

lri $AR1,    #0x388f
lri $IX1,    #0x3928
lri $WR1,    #0x9521
cw 0xd
call send_back  ; 38915 (0x9803)

lri $AR1,    #0x5b2f
lri $IX1,    #0x986e
lri $WR1,    #0x7c04
cw 0xd
call send_back  ; 38916 (0x9804)

lri $AR1,    #0x422f
lri $IX1,    #0x3b70
lri $WR1,    #0xa787
cw 0xd
call send_back  ; 38917 (0x9805)

lri $AR1,    #0x67c7
lri $IX1,    #0xd47c
lri $WR1,    #0x98f3
cw 0xd
call send_back  ; 38918 (0x9806)

lri $AR1,    #0x4f44
lri $IX1,    #0xfe64
lri $WR1,    #0x83ce
cw 0xd
call send_back  ; 38919 (0x9807)

lri $AR1,    #0x81e6
lri $IX1,    #0x24aa
lri $WR1,    #0x51b5
cw 0xd
call send_back  ; 38920 (0x9808)

lri $AR1,    #0x3138
lri $IX1,    #0x8922
lri $WR1,    #0xd9f9
cw 0xd
call send_back  ; 38921 (0x9809)

lri $AR1,    #0xad38
lri $IX1,    #0x27da
lri $WR1,    #0x2a76
cw 0xd
call send_back  ; 38922 (0x980a)

lri $AR1,    #0x901b
lri $IX1,    #0x0982
lri $WR1,    #0x50c9
cw 0xd
call send_back  ; 38923 (0x980b)

lri $AR1,    #0xa901
lri $IX1,    #0x7840
lri $WR1,    #0xe868
cw 0xd
call send_back  ; 38924 (0x980c)

lri $AR1,    #0x2a68
lri $IX1,    #0x6224
lri $WR1,    #0xabad
cw 0xd
call send_back  ; 38925 (0x980d)

lri $AR1,    #0xd0a6
lri $IX1,    #0xe02a
lri $WR1,    #0x436d
cw 0xd
call send_back  ; 38926 (0x980e)

lri $AR1,    #0xf84d
lri $IX1,    #0x37f8
lri $WR1,    #0x7223
cw 0xd
call send_back  ; 38927 (0x980f)

lri $AR1,    #0x53b0
lri $IX1,    #0xa24c
lri $WR1,    #0x5d3b
cw 0xd
call send_back  ; 38928 (0x9810)

lri $AR1,    #0x7a73
lri $IX1,    #0x8748
lri $WR1,    #0x80a2
cw 0xd
call send_back  ; 38929 (0x9811)

lri $AR1,    #0x4d5c
lri $IX1,    #0x9d88
lri $WR1,    #0xa606
cw 0xd
call send_back  ; 38930 (0x9812)

lri $AR1,    #0x7c4a
lri $IX1,    #0x483c
lri $WR1,    #0x6b03
cw 0xd
call send_back  ; 38931 (0x9813)

lri $AR1,    #0x4399
lri $IX1,    #0x942c
lri $WR1,    #0x56a6
cw 0xd
call send_back  ; 38932 (0x9814)

lri $AR1,    #0x91c6
lri $IX1,    #0x2ae0
lri $WR1,    #0x186c
cw 0xd
call send_back  ; 38933 (0x9815)

lri $AR1,    #0x959b
lri $IX1,    #0x5ec8
lri $WR1,    #0x2843
cw 0xd
call send_back  ; 38934 (0x9816)

lri $AR1,    #0x18b9
lri $IX1,    #0xf2b4
lri $WR1,    #0x80ae
cw 0xd
call send_back  ; 38935 (0x9817)

lri $AR1,    #0x61da
lri $IX1,    #0x526c
lri $WR1,    #0x7178
cw 0xd
call send_back  ; 38936 (0x9818)

lri $AR1,    #0x8586
lri $IX1,    #0x79b0
lri $WR1,    #0x7337
cw 0xd
call send_back  ; 38937 (0x9819)

lri $AR1,    #0xeb9e
lri $IX1,    #0xa278
lri $WR1,    #0x50ff
cw 0xd
call send_back  ; 38938 (0x981a)

lri $AR1,    #0x437b
lri $IX1,    #0xe2c6
lri $WR1,    #0x4f79
cw 0xd
call send_back  ; 38939 (0x981b)

lri $AR1,    #0x8808
lri $IX1,    #0x05d8
lri $WR1,    #0x8dd8
cw 0xd
call send_back  ; 38940 (0x981c)

lri $AR1,    #0x708e
lri $IX1,    #0x03f6
lri $WR1,    #0x96cc
cw 0xd
call send_back  ; 38941 (0x981d)

lri $AR1,    #0x9a96
lri $IX1,    #0x67da
lri $WR1,    #0x54ef
cw 0xd
call send_back  ; 38942 (0x981e)

lri $AR1,    #0xbca9
lri $IX1,    #0x8fcc
lri $WR1,    #0xbfd8
cw 0xd
call send_back  ; 38943 (0x981f)

lri $AR1,    #0x2932
lri $IX1,    #0xec6c
lri $WR1,    #0x7c46
cw 0xd
call send_back  ; 38944 (0x9820)

lri $AR1,    #0x3472
lri $IX1,    #0x066a
lri $WR1,    #0xb384
cw 0xd
call send_back  ; 38945 (0x9821)

lri $AR1,    #0x8fb0
lri $IX1,    #0x0fec
lri $WR1,    #0x739c
cw 0xd
call send_back  ; 38946 (0x9822)

lri $AR1,    #0xbf93
lri $IX1,    #0xf616
lri $WR1,    #0x5b55
cw 0xd
call send_back  ; 38947 (0x9823)

lri $AR1,    #0x5adf
lri $IX1,    #0x2a64
lri $WR1,    #0x8a99
cw 0xd
call send_back  ; 38948 (0x9824)

lri $AR1,    #0x9a7f
lri $IX1,    #0x9338
lri $WR1,    #0xa958
cw 0xd
call send_back  ; 38949 (0x9825)

lri $AR1,    #0x530d
lri $IX1,    #0x1e60
lri $WR1,    #0xb46c
cw 0xd
call send_back  ; 38950 (0x9826)

lri $AR1,    #0x93c0
lri $IX1,    #0x2fee
lri $WR1,    #0x818f
cw 0xd
call send_back  ; 38951 (0x9827)

lri $AR1,    #0xbe0d
lri $IX1,    #0x7b2e
lri $WR1,    #0x70ff
cw 0xd
call send_back  ; 38952 (0x9828)

lri $AR1,    #0x54b9
lri $IX1,    #0x9b08
lri $WR1,    #0xecd2
cw 0xd
call send_back  ; 38953 (0x9829)

lri $AR1,    #0x60c5
lri $IX1,    #0xdaa6
lri $WR1,    #0x8397
cw 0xd
call send_back  ; 38954 (0x982a)

lri $AR1,    #0x7df2
lri $IX1,    #0xee9a
lri $WR1,    #0x7d40
cw 0xd
call send_back  ; 38955 (0x982b)

lri $AR1,    #0x4832
lri $IX1,    #0xc274
lri $WR1,    #0x9f00
cw 0xd
call send_back  ; 38956 (0x982c)

lri $AR1,    #0x5edc
lri $IX1,    #0xd5f8
lri $WR1,    #0xcc1a
cw 0xd
call send_back  ; 38957 (0x982d)

lri $AR1,    #0x61ed
lri $IX1,    #0xd0de
lri $WR1,    #0xaf32
cw 0xd
call send_back  ; 38958 (0x982e)

lri $AR1,    #0x9120
lri $IX1,    #0xd350
lri $WR1,    #0x7939
cw 0xd
call send_back  ; 38959 (0x982f)

lri $AR1,    #0x6c3b
lri $IX1,    #0x7d14
lri $WR1,    #0xe87c
cw 0xd
call send_back  ; 38960 (0x9830)

lri $AR1,    #0xbf5e
lri $IX1,    #0x8c9e
lri $WR1,    #0x93ec
cw 0xd
call send_back  ; 38961 (0x9831)

lri $AR1,    #0x458f
lri $IX1,    #0x32e8
lri $WR1,    #0x4429
cw 0xd
call send_back  ; 38962 (0x9832)

lri $AR1,    #0x5f7a
lri $IX1,    #0xa844
lri $WR1,    #0x5564
cw 0xd
call send_back  ; 38963 (0x9833)

lri $AR1,    #0xa391
lri $IX1,    #0x1228
lri $WR1,    #0x92aa
cw 0xd
call send_back  ; 38964 (0x9834)

lri $AR1,    #0x2868
lri $IX1,    #0x410a
lri $WR1,    #0x149d
cw 0xd
call send_back  ; 38965 (0x9835)

lri $AR1,    #0x39ac
lri $IX1,    #0x1956
lri $WR1,    #0x4b3e
cw 0xd
call send_back  ; 38966 (0x9836)

lri $AR1,    #0x8b6a
lri $IX1,    #0x79a2
lri $WR1,    #0x5bc3
cw 0xd
call send_back  ; 38967 (0x9837)

lri $AR1,    #0x5710
lri $IX1,    #0x03fe
lri $WR1,    #0x4119
cw 0xd
call send_back  ; 38968 (0x9838)

lri $AR1,    #0x78e1
lri $IX1,    #0x37be
lri $WR1,    #0x871a
cw 0xd
call send_back  ; 38969 (0x9839)

lri $AR1,    #0x843f
lri $IX1,    #0xa474
lri $WR1,    #0x660c
cw 0xd
call send_back  ; 38970 (0x983a)

lri $AR1,    #0x388f
lri $IX1,    #0x8e8a
lri $WR1,    #0x556c
cw 0xd
call send_back  ; 38971 (0x983b)

lri $AR1,    #0xa810
lri $IX1,    #0x0122
lri $WR1,    #0xc2af
cw 0xd
call send_back  ; 38972 (0x983c)

lri $AR1,    #0x1d64
lri $IX1,    #0xe0bc
lri $WR1,    #0x51e9
cw 0xd
call send_back  ; 38973 (0x983d)

lri $AR1,    #0x3c39
lri $IX1,    #0xfd48
lri $WR1,    #0x4c07
cw 0xd
call send_back  ; 38974 (0x983e)

lri $AR1,    #0xdcc2
lri $IX1,    #0x4216
lri $WR1,    #0x7f94
cw 0xd
call send_back  ; 38975 (0x983f)

lri $AR1,    #0x995c
lri $IX1,    #0xd552
lri $WR1,    #0x3ead
cw 0xd
call send_back  ; 38976 (0x9840)

lri $AR1,    #0xd145
lri $IX1,    #0x2078
lri $WR1,    #0x2e28
cw 0xd
call send_back  ; 38977 (0x9841)

lri $AR1,    #0xe287
lri $IX1,    #0x368e
lri $WR1,    #0xa77a
cw 0xd
call send_back  ; 38978 (0x9842)

lri $AR1,    #0x7112
lri $IX1,    #0xbc5a
lri $WR1,    #0x6082
cw 0xd
call send_back  ; 38979 (0x9843)

lri $AR1,    #0x983f
lri $IX1,    #0x3a86
lri $WR1,    #0x41aa
cw 0xd
call send_back  ; 38980 (0x9844)

lri $AR1,    #0xbf92
lri $IX1,    #0x78e2
lri $WR1,    #0x2c8a
cw 0xd
call send_back  ; 38981 (0x9845)

lri $AR1,    #0xdb09
lri $IX1,    #0x0db8
lri $WR1,    #0x5289
cw 0xd
call send_back  ; 38982 (0x9846)

lri $AR1,    #0x82c8
lri $IX1,    #0x8b60
lri $WR1,    #0x7c98
cw 0xd
call send_back  ; 38983 (0x9847)

lri $AR1,    #0x6573
lri $IX1,    #0x89ee
lri $WR1,    #0xaa96
cw 0xd
call send_back  ; 38984 (0x9848)

lri $AR1,    #0x840d
lri $IX1,    #0x125e
lri $WR1,    #0x1a5e
cw 0xd
call send_back  ; 38985 (0x9849)

lri $AR1,    #0x459a
lri $IX1,    #0x8bf6
lri $WR1,    #0x742e
cw 0xd
call send_back  ; 38986 (0x984a)

lri $AR1,    #0xa463
lri $IX1,    #0x1c28
lri $WR1,    #0x6b50
cw 0xd
call send_back  ; 38987 (0x984b)

lri $AR1,    #0xde31
lri $IX1,    #0x4cf4
lri $WR1,    #0x77b6
cw 0xd
call send_back  ; 38988 (0x984c)

lri $AR1,    #0x8c35
lri $IX1,    #0xa4ce
lri $WR1,    #0x4689
cw 0xd
call send_back  ; 38989 (0x984d)

lri $AR1,    #0xb70c
lri $IX1,    #0x8728
lri $WR1,    #0x7d3d
cw 0xd
call send_back  ; 38990 (0x984e)

lri $AR1,    #0xbe9e
lri $IX1,    #0x13b0
lri $WR1,    #0xcc39
cw 0xd
call send_back  ; 38991 (0x984f)

lri $AR1,    #0xa526
lri $IX1,    #0xae36
lri $WR1,    #0x73ab
cw 0xd
call send_back  ; 38992 (0x9850)

lri $AR1,    #0xd83b
lri $IX1,    #0x4084
lri $WR1,    #0xa688
cw 0xd
call send_back  ; 38993 (0x9851)

lri $AR1,    #0x5229
lri $IX1,    #0x02ec
lri $WR1,    #0x8561
cw 0xd
call send_back  ; 38994 (0x9852)

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