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

lri $AR1,    #0x88e6
lri $IX1,    #0x37b6
lri $WR1,    #0x94d4
cw 0xd
call send_back  ; 30912 (0x78c0)

lri $AR1,    #0xa82f
lri $IX1,    #0x3a1e
lri $WR1,    #0xa569
cw 0xd
call send_back  ; 30913 (0x78c1)

lri $AR1,    #0x5cd9
lri $IX1,    #0x80c2
lri $WR1,    #0x60f2
cw 0xd
call send_back  ; 30914 (0x78c2)

lri $AR1,    #0x9f00
lri $IX1,    #0x9df6
lri $WR1,    #0x2ca5
cw 0xd
call send_back  ; 30915 (0x78c3)

lri $AR1,    #0x5b4c
lri $IX1,    #0x2e0c
lri $WR1,    #0x6dec
cw 0xd
call send_back  ; 30916 (0x78c4)

lri $AR1,    #0x9aa9
lri $IX1,    #0x9da4
lri $WR1,    #0x8ff8
cw 0xd
call send_back  ; 30917 (0x78c5)

lri $AR1,    #0x9da3
lri $IX1,    #0x6bf2
lri $WR1,    #0xc16e
cw 0xd
call send_back  ; 30918 (0x78c6)

lri $AR1,    #0x9708
lri $IX1,    #0x135a
lri $WR1,    #0x8b1c
cw 0xd
call send_back  ; 30919 (0x78c7)

lri $AR1,    #0x494c
lri $IX1,    #0x961e
lri $WR1,    #0x665a
cw 0xd
call send_back  ; 30920 (0x78c8)

lri $AR1,    #0xb55a
lri $IX1,    #0xf484
lri $WR1,    #0xa322
cw 0xd
call send_back  ; 30921 (0x78c9)

lri $AR1,    #0xa943
lri $IX1,    #0x6d3c
lri $WR1,    #0x9b6a
cw 0xd
call send_back  ; 30922 (0x78ca)

lri $AR1,    #0xb07e
lri $IX1,    #0x384a
lri $WR1,    #0x42dc
cw 0xd
call send_back  ; 30923 (0x78cb)

lri $AR1,    #0x8f1d
lri $IX1,    #0x5054
lri $WR1,    #0xf765
cw 0xd
call send_back  ; 30924 (0x78cc)

lri $AR1,    #0x6cbf
lri $IX1,    #0xb5a0
lri $WR1,    #0x70c9
cw 0xd
call send_back  ; 30925 (0x78cd)

lri $AR1,    #0x838e
lri $IX1,    #0x4186
lri $WR1,    #0xaab9
cw 0xd
call send_back  ; 30926 (0x78ce)

lri $AR1,    #0x6b1b
lri $IX1,    #0x80c2
lri $WR1,    #0x8676
cw 0xd
call send_back  ; 30927 (0x78cf)

lri $AR1,    #0x4e6e
lri $IX1,    #0xfe52
lri $WR1,    #0x86ac
cw 0xd
call send_back  ; 30928 (0x78d0)

lri $AR1,    #0x680a
lri $IX1,    #0xd04a
lri $WR1,    #0xd16c
cw 0xd
call send_back  ; 30929 (0x78d1)

lri $AR1,    #0x5e4a
lri $IX1,    #0xf368
lri $WR1,    #0xf203
cw 0xd
call send_back  ; 30930 (0x78d2)

lri $AR1,    #0x6dcd
lri $IX1,    #0xf1b0
lri $WR1,    #0x8595
cw 0xd
call send_back  ; 30931 (0x78d3)

lri $AR1,    #0x9764
lri $IX1,    #0x53ec
lri $WR1,    #0x7327
cw 0xd
call send_back  ; 30932 (0x78d4)

lri $AR1,    #0x222a
lri $IX1,    #0x5552
lri $WR1,    #0x6922
cw 0xd
call send_back  ; 30933 (0x78d5)

lri $AR1,    #0x923d
lri $IX1,    #0x1c3a
lri $WR1,    #0x77ce
cw 0xd
call send_back  ; 30934 (0x78d6)

lri $AR1,    #0x97bf
lri $IX1,    #0x3a00
lri $WR1,    #0xa1f8
cw 0xd
call send_back  ; 30935 (0x78d7)

lri $AR1,    #0xd19d
lri $IX1,    #0x4832
lri $WR1,    #0x8225
cw 0xd
call send_back  ; 30936 (0x78d8)

lri $AR1,    #0x6ac2
lri $IX1,    #0x0000
lri $WR1,    #0x8c95
cw 0xd
call send_back  ; 30937 (0x78d9)

lri $AR1,    #0x7820
lri $IX1,    #0x0504
lri $WR1,    #0x6375
cw 0xd
call send_back  ; 30938 (0x78da)

lri $AR1,    #0x7151
lri $IX1,    #0xab96
lri $WR1,    #0x8479
cw 0xd
call send_back  ; 30939 (0x78db)

lri $AR1,    #0x8532
lri $IX1,    #0x2670
lri $WR1,    #0xac4d
cw 0xd
call send_back  ; 30940 (0x78dc)

lri $AR1,    #0x472f
lri $IX1,    #0x9f10
lri $WR1,    #0x860c
cw 0xd
call send_back  ; 30941 (0x78dd)

lri $AR1,    #0xa1a4
lri $IX1,    #0xa790
lri $WR1,    #0x7a2a
cw 0xd
call send_back  ; 30942 (0x78de)

lri $AR1,    #0x7d19
lri $IX1,    #0x144a
lri $WR1,    #0x9209
cw 0xd
call send_back  ; 30943 (0x78df)

lri $AR1,    #0x83ad
lri $IX1,    #0x7f24
lri $WR1,    #0xca9f
cw 0xd
call send_back  ; 30944 (0x78e0)

lri $AR1,    #0xb384
lri $IX1,    #0x5dba
lri $WR1,    #0xba64
cw 0xd
call send_back  ; 30945 (0x78e1)

lri $AR1,    #0x7276
lri $IX1,    #0x8f56
lri $WR1,    #0x7bfa
cw 0xd
call send_back  ; 30946 (0x78e2)

lri $AR1,    #0xe8e9
lri $IX1,    #0x76f0
lri $WR1,    #0x40b2
cw 0xd
call send_back  ; 30947 (0x78e3)

lri $AR1,    #0x7119
lri $IX1,    #0xf906
lri $WR1,    #0x2371
cw 0xd
call send_back  ; 30948 (0x78e4)

lri $AR1,    #0xc38e
lri $IX1,    #0xecaa
lri $WR1,    #0xae13
cw 0xd
call send_back  ; 30949 (0x78e5)

lri $AR1,    #0x9935
lri $IX1,    #0x9a8c
lri $WR1,    #0x60c7
cw 0xd
call send_back  ; 30950 (0x78e6)

lri $AR1,    #0x9ec9
lri $IX1,    #0xa452
lri $WR1,    #0x4c96
cw 0xd
call send_back  ; 30951 (0x78e7)

lri $AR1,    #0xacf0
lri $IX1,    #0x0206
lri $WR1,    #0xd774
cw 0xd
call send_back  ; 30952 (0x78e8)

lri $AR1,    #0xa3d0
lri $IX1,    #0x8b08
lri $WR1,    #0x6a25
cw 0xd
call send_back  ; 30953 (0x78e9)

lri $AR1,    #0x687d
lri $IX1,    #0x9b1e
lri $WR1,    #0x754d
cw 0xd
call send_back  ; 30954 (0x78ea)

lri $AR1,    #0xb5fa
lri $IX1,    #0xb430
lri $WR1,    #0x4ceb
cw 0xd
call send_back  ; 30955 (0x78eb)

lri $AR1,    #0x9b2b
lri $IX1,    #0x604e
lri $WR1,    #0xaeae
cw 0xd
call send_back  ; 30956 (0x78ec)

lri $AR1,    #0x7a88
lri $IX1,    #0xef72
lri $WR1,    #0xc13f
cw 0xd
call send_back  ; 30957 (0x78ed)

lri $AR1,    #0x8fe1
lri $IX1,    #0xd7b0
lri $WR1,    #0x581e
cw 0xd
call send_back  ; 30958 (0x78ee)

lri $AR1,    #0xc3f3
lri $IX1,    #0x5e46
lri $WR1,    #0x2906
cw 0xd
call send_back  ; 30959 (0x78ef)

lri $AR1,    #0x4d36
lri $IX1,    #0xa33e
lri $WR1,    #0xc57e
cw 0xd
call send_back  ; 30960 (0x78f0)

lri $AR1,    #0x28aa
lri $IX1,    #0x10fc
lri $WR1,    #0x74a0
cw 0xd
call send_back  ; 30961 (0x78f1)

lri $AR1,    #0xb4ea
lri $IX1,    #0x6c9e
lri $WR1,    #0xd6a7
cw 0xd
call send_back  ; 30962 (0x78f2)

lri $AR1,    #0x8d64
lri $IX1,    #0x3346
lri $WR1,    #0x6d4e
cw 0xd
call send_back  ; 30963 (0x78f3)

lri $AR1,    #0x8af9
lri $IX1,    #0x746c
lri $WR1,    #0x199b
cw 0xd
call send_back  ; 30964 (0x78f4)

lri $AR1,    #0xeae1
lri $IX1,    #0xd038
lri $WR1,    #0x391c
cw 0xd
call send_back  ; 30965 (0x78f5)

lri $AR1,    #0x6c1b
lri $IX1,    #0x8cfc
lri $WR1,    #0xaa2a
cw 0xd
call send_back  ; 30966 (0x78f6)

lri $AR1,    #0x9737
lri $IX1,    #0xb5dc
lri $WR1,    #0x8045
cw 0xd
call send_back  ; 30967 (0x78f7)

lri $AR1,    #0xbbd1
lri $IX1,    #0xc8aa
lri $WR1,    #0x7716
cw 0xd
call send_back  ; 30968 (0x78f8)

lri $AR1,    #0x5a93
lri $IX1,    #0x802c
lri $WR1,    #0x9c20
cw 0xd
call send_back  ; 30969 (0x78f9)

lri $AR1,    #0x91ed
lri $IX1,    #0xa398
lri $WR1,    #0x94c3
cw 0xd
call send_back  ; 30970 (0x78fa)

lri $AR1,    #0x178a
lri $IX1,    #0x53a6
lri $WR1,    #0x3784
cw 0xd
call send_back  ; 30971 (0x78fb)

lri $AR1,    #0xaf96
lri $IX1,    #0xf100
lri $WR1,    #0xc556
cw 0xd
call send_back  ; 30972 (0x78fc)

lri $AR1,    #0x4eda
lri $IX1,    #0x4f52
lri $WR1,    #0x48b3
cw 0xd
call send_back  ; 30973 (0x78fd)

lri $AR1,    #0x83d4
lri $IX1,    #0x53f4
lri $WR1,    #0x5e63
cw 0xd
call send_back  ; 30974 (0x78fe)

lri $AR1,    #0x46b7
lri $IX1,    #0x3e42
lri $WR1,    #0x4cbe
cw 0xd
call send_back  ; 30975 (0x78ff)

lri $AR1,    #0x4795
lri $IX1,    #0x8bae
lri $WR1,    #0x3417
cw 0xd
call send_back  ; 30976 (0x7900)

lri $AR1,    #0x9d8d
lri $IX1,    #0x90a4
lri $WR1,    #0x2c70
cw 0xd
call send_back  ; 30977 (0x7901)

lri $AR1,    #0x3939
lri $IX1,    #0x5b4e
lri $WR1,    #0xb1d9
cw 0xd
call send_back  ; 30978 (0x7902)

lri $AR1,    #0x904e
lri $IX1,    #0x2442
lri $WR1,    #0x32b9
cw 0xd
call send_back  ; 30979 (0x7903)

lri $AR1,    #0x7f95
lri $IX1,    #0x552c
lri $WR1,    #0x4875
cw 0xd
call send_back  ; 30980 (0x7904)

lri $AR1,    #0xbc35
lri $IX1,    #0xe490
lri $WR1,    #0x7c8e
cw 0xd
call send_back  ; 30981 (0x7905)

lri $AR1,    #0x3c7f
lri $IX1,    #0x519a
lri $WR1,    #0x59c5
cw 0xd
call send_back  ; 30982 (0x7906)

lri $AR1,    #0xa416
lri $IX1,    #0xca30
lri $WR1,    #0xca58
cw 0xd
call send_back  ; 30983 (0x7907)

lri $AR1,    #0x56d3
lri $IX1,    #0xd92a
lri $WR1,    #0xc9dc
cw 0xd
call send_back  ; 30984 (0x7908)

lri $AR1,    #0x411a
lri $IX1,    #0x41fa
lri $WR1,    #0x9ad9
cw 0xd
call send_back  ; 30985 (0x7909)

lri $AR1,    #0x83ff
lri $IX1,    #0x4a82
lri $WR1,    #0x5da5
cw 0xd
call send_back  ; 30986 (0x790a)

lri $AR1,    #0x6711
lri $IX1,    #0x838c
lri $WR1,    #0x7794
cw 0xd
call send_back  ; 30987 (0x790b)

lri $AR1,    #0x9907
lri $IX1,    #0x0394
lri $WR1,    #0x8f14
cw 0xd
call send_back  ; 30988 (0x790c)

lri $AR1,    #0xc435
lri $IX1,    #0xdf44
lri $WR1,    #0xdab6
cw 0xd
call send_back  ; 30989 (0x790d)

lri $AR1,    #0xab0d
lri $IX1,    #0x566e
lri $WR1,    #0x7eca
cw 0xd
call send_back  ; 30990 (0x790e)

lri $AR1,    #0x4476
lri $IX1,    #0x8bd2
lri $WR1,    #0x967f
cw 0xd
call send_back  ; 30991 (0x790f)

lri $AR1,    #0x875d
lri $IX1,    #0x9184
lri $WR1,    #0xab3d
cw 0xd
call send_back  ; 30992 (0x7910)

lri $AR1,    #0xa03c
lri $IX1,    #0xfb40
lri $WR1,    #0xa625
cw 0xd
call send_back  ; 30993 (0x7911)

lri $AR1,    #0x8af2
lri $IX1,    #0xe376
lri $WR1,    #0x9560
cw 0xd
call send_back  ; 30994 (0x7912)

lri $AR1,    #0x5eb5
lri $IX1,    #0x3f74
lri $WR1,    #0x5042
cw 0xd
call send_back  ; 30995 (0x7913)

lri $AR1,    #0x617d
lri $IX1,    #0x6258
lri $WR1,    #0x7ace
cw 0xd
call send_back  ; 30996 (0x7914)

lri $AR1,    #0x939b
lri $IX1,    #0x863e
lri $WR1,    #0x82b8
cw 0xd
call send_back  ; 30997 (0x7915)

lri $AR1,    #0xb3f1
lri $IX1,    #0xfe72
lri $WR1,    #0x4d6b
cw 0xd
call send_back  ; 30998 (0x7916)

lri $AR1,    #0x2079
lri $IX1,    #0x34dc
lri $WR1,    #0x501d
cw 0xd
call send_back  ; 30999 (0x7917)

lri $AR1,    #0xce85
lri $IX1,    #0xa89c
lri $WR1,    #0x9095
cw 0xd
call send_back  ; 31000 (0x7918)

lri $AR1,    #0xc176
lri $IX1,    #0xab06
lri $WR1,    #0x769e
cw 0xd
call send_back  ; 31001 (0x7919)

lri $AR1,    #0x4643
lri $IX1,    #0x73ee
lri $WR1,    #0xc3c5
cw 0xd
call send_back  ; 31002 (0x791a)

lri $AR1,    #0xad9f
lri $IX1,    #0x356e
lri $WR1,    #0x586a
cw 0xd
call send_back  ; 31003 (0x791b)

lri $AR1,    #0xa60b
lri $IX1,    #0xfb1a
lri $WR1,    #0x82ba
cw 0xd
call send_back  ; 31004 (0x791c)

lri $AR1,    #0x92a9
lri $IX1,    #0x37d4
lri $WR1,    #0x4d9b
cw 0xd
call send_back  ; 31005 (0x791d)

lri $AR1,    #0xab1b
lri $IX1,    #0xd12c
lri $WR1,    #0x8321
cw 0xd
call send_back  ; 31006 (0x791e)

lri $AR1,    #0xb440
lri $IX1,    #0x1682
lri $WR1,    #0x379b
cw 0xd
call send_back  ; 31007 (0x791f)

lri $AR1,    #0x991d
lri $IX1,    #0x45d2
lri $WR1,    #0x97bd
cw 0xd
call send_back  ; 31008 (0x7920)

lri $AR1,    #0x76c8
lri $IX1,    #0xe75e
lri $WR1,    #0x3e0d
cw 0xd
call send_back  ; 31009 (0x7921)

lri $AR1,    #0xada4
lri $IX1,    #0x4528
lri $WR1,    #0x610d
cw 0xd
call send_back  ; 31010 (0x7922)

lri $AR1,    #0x1dad
lri $IX1,    #0x726c
lri $WR1,    #0x1d39
cw 0xd
call send_back  ; 31011 (0x7923)

lri $AR1,    #0xbb41
lri $IX1,    #0x9afe
lri $WR1,    #0x5375
cw 0xd
call send_back  ; 31012 (0x7924)

lri $AR1,    #0x8521
lri $IX1,    #0x89d6
lri $WR1,    #0x6deb
cw 0xd
call send_back  ; 31013 (0x7925)

lri $AR1,    #0x7400
lri $IX1,    #0x619a
lri $WR1,    #0x3ae9
cw 0xd
call send_back  ; 31014 (0x7926)

lri $AR1,    #0x9f6e
lri $IX1,    #0x4174
lri $WR1,    #0xcee4
cw 0xd
call send_back  ; 31015 (0x7927)

lri $AR1,    #0x6b76
lri $IX1,    #0xe40a
lri $WR1,    #0x6412
cw 0xd
call send_back  ; 31016 (0x7928)

lri $AR1,    #0x7db7
lri $IX1,    #0x0ddc
lri $WR1,    #0x57bf
cw 0xd
call send_back  ; 31017 (0x7929)

lri $AR1,    #0x5848
lri $IX1,    #0xbbea
lri $WR1,    #0x92f2
cw 0xd
call send_back  ; 31018 (0x792a)

lri $AR1,    #0xac43
lri $IX1,    #0x52e0
lri $WR1,    #0xbd56
cw 0xd
call send_back  ; 31019 (0x792b)

lri $AR1,    #0x9d32
lri $IX1,    #0x72a4
lri $WR1,    #0x6f18
cw 0xd
call send_back  ; 31020 (0x792c)

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