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

lri $AR1,    #0xd243
lri $IX1,    #0x7e00
lri $WR1,    #0x9106
cw 0xd
call send_back  ; 6009 (0x1779)

lri $AR1,    #0xb517
lri $IX1,    #0x1b16
lri $WR1,    #0x690b
cw 0xd
call send_back  ; 6010 (0x177a)

lri $AR1,    #0x4d70
lri $IX1,    #0xa724
lri $WR1,    #0x752e
cw 0xd
call send_back  ; 6011 (0x177b)

lri $AR1,    #0x5097
lri $IX1,    #0x54d0
lri $WR1,    #0x5867
cw 0xd
call send_back  ; 6012 (0x177c)

lri $AR1,    #0x6c12
lri $IX1,    #0x0e64
lri $WR1,    #0x7162
cw 0xd
call send_back  ; 6013 (0x177d)

lri $AR1,    #0xddb7
lri $IX1,    #0x3b72
lri $WR1,    #0xae30
cw 0xd
call send_back  ; 6014 (0x177e)

lri $AR1,    #0x9ab8
lri $IX1,    #0x1832
lri $WR1,    #0x7694
cw 0xd
call send_back  ; 6015 (0x177f)

lri $AR1,    #0x5cc4
lri $IX1,    #0x5090
lri $WR1,    #0xb771
cw 0xd
call send_back  ; 6016 (0x1780)

lri $AR1,    #0x3832
lri $IX1,    #0xb81a
lri $WR1,    #0xa371
cw 0xd
call send_back  ; 6017 (0x1781)

lri $AR1,    #0xdd7c
lri $IX1,    #0x73b2
lri $WR1,    #0xca71
cw 0xd
call send_back  ; 6018 (0x1782)

lri $AR1,    #0x3bd2
lri $IX1,    #0x994a
lri $WR1,    #0x1ac5
cw 0xd
call send_back  ; 6019 (0x1783)

lri $AR1,    #0x4218
lri $IX1,    #0x0d8a
lri $WR1,    #0x94dd
cw 0xd
call send_back  ; 6020 (0x1784)

lri $AR1,    #0x5732
lri $IX1,    #0x1e92
lri $WR1,    #0xd368
cw 0xd
call send_back  ; 6021 (0x1785)

lri $AR1,    #0x31cb
lri $IX1,    #0xe6cc
lri $WR1,    #0xe771
cw 0xd
call send_back  ; 6022 (0x1786)

lri $AR1,    #0x5b85
lri $IX1,    #0xc1f8
lri $WR1,    #0xc9a2
cw 0xd
call send_back  ; 6023 (0x1787)

lri $AR1,    #0xc2d3
lri $IX1,    #0xf26c
lri $WR1,    #0xa71d
cw 0xd
call send_back  ; 6024 (0x1788)

lri $AR1,    #0x2a55
lri $IX1,    #0xdbb2
lri $WR1,    #0x7a16
cw 0xd
call send_back  ; 6025 (0x1789)

lri $AR1,    #0x63fd
lri $IX1,    #0xd36c
lri $WR1,    #0x8bad
cw 0xd
call send_back  ; 6026 (0x178a)

lri $AR1,    #0x79d2
lri $IX1,    #0x58bc
lri $WR1,    #0x8e24
cw 0xd
call send_back  ; 6027 (0x178b)

lri $AR1,    #0x8dab
lri $IX1,    #0x661e
lri $WR1,    #0x53f4
cw 0xd
call send_back  ; 6028 (0x178c)

lri $AR1,    #0xb497
lri $IX1,    #0x68d8
lri $WR1,    #0xa1dc
cw 0xd
call send_back  ; 6029 (0x178d)

lri $AR1,    #0x4263
lri $IX1,    #0x14f6
lri $WR1,    #0x1776
cw 0xd
call send_back  ; 6030 (0x178e)

lri $AR1,    #0x3cf2
lri $IX1,    #0xac14
lri $WR1,    #0x8b5d
cw 0xd
call send_back  ; 6031 (0x178f)

lri $AR1,    #0x66ce
lri $IX1,    #0x40c2
lri $WR1,    #0xdd85
cw 0xd
call send_back  ; 6032 (0x1790)

lri $AR1,    #0x5bad
lri $IX1,    #0xe7da
lri $WR1,    #0x8bbc
cw 0xd
call send_back  ; 6033 (0x1791)

lri $AR1,    #0x7948
lri $IX1,    #0x8486
lri $WR1,    #0xa1f8
cw 0xd
call send_back  ; 6034 (0x1792)

lri $AR1,    #0xa255
lri $IX1,    #0xcb6e
lri $WR1,    #0x5175
cw 0xd
call send_back  ; 6035 (0x1793)

lri $AR1,    #0x30e3
lri $IX1,    #0x1cb0
lri $WR1,    #0xef45
cw 0xd
call send_back  ; 6036 (0x1794)

lri $AR1,    #0x8903
lri $IX1,    #0xcc04
lri $WR1,    #0xb44a
cw 0xd
call send_back  ; 6037 (0x1795)

lri $AR1,    #0x0bf0
lri $IX1,    #0x39f0
lri $WR1,    #0xb636
cw 0xd
call send_back  ; 6038 (0x1796)

lri $AR1,    #0x8fa2
lri $IX1,    #0xa038
lri $WR1,    #0x92ae
cw 0xd
call send_back  ; 6039 (0x1797)

lri $AR1,    #0x5608
lri $IX1,    #0x8778
lri $WR1,    #0x8b05
cw 0xd
call send_back  ; 6040 (0x1798)

lri $AR1,    #0xaabc
lri $IX1,    #0x6320
lri $WR1,    #0xb8b1
cw 0xd
call send_back  ; 6041 (0x1799)

lri $AR1,    #0xad93
lri $IX1,    #0xacc2
lri $WR1,    #0x700c
cw 0xd
call send_back  ; 6042 (0x179a)

lri $AR1,    #0x43bb
lri $IX1,    #0xe6d2
lri $WR1,    #0x3861
cw 0xd
call send_back  ; 6043 (0x179b)

lri $AR1,    #0x90d2
lri $IX1,    #0x12e0
lri $WR1,    #0x55ea
cw 0xd
call send_back  ; 6044 (0x179c)

lri $AR1,    #0x94b6
lri $IX1,    #0x3e6c
lri $WR1,    #0x1bb8
cw 0xd
call send_back  ; 6045 (0x179d)

lri $AR1,    #0x7a65
lri $IX1,    #0xb53e
lri $WR1,    #0x792c
cw 0xd
call send_back  ; 6046 (0x179e)

lri $AR1,    #0xa7b7
lri $IX1,    #0x0798
lri $WR1,    #0x5800
cw 0xd
call send_back  ; 6047 (0x179f)

lri $AR1,    #0x9551
lri $IX1,    #0x45ec
lri $WR1,    #0x4575
cw 0xd
call send_back  ; 6048 (0x17a0)

lri $AR1,    #0x4185
lri $IX1,    #0x7b9c
lri $WR1,    #0x6abd
cw 0xd
call send_back  ; 6049 (0x17a1)

lri $AR1,    #0x908e
lri $IX1,    #0x6d62
lri $WR1,    #0x6623
cw 0xd
call send_back  ; 6050 (0x17a2)

lri $AR1,    #0x7fe7
lri $IX1,    #0xcfda
lri $WR1,    #0x8814
cw 0xd
call send_back  ; 6051 (0x17a3)

lri $AR1,    #0x9a0a
lri $IX1,    #0x6dd2
lri $WR1,    #0xac7d
cw 0xd
call send_back  ; 6052 (0x17a4)

lri $AR1,    #0x7374
lri $IX1,    #0xedde
lri $WR1,    #0x42b3
cw 0xd
call send_back  ; 6053 (0x17a5)

lri $AR1,    #0x8933
lri $IX1,    #0xf1e2
lri $WR1,    #0x7353
cw 0xd
call send_back  ; 6054 (0x17a6)

lri $AR1,    #0xfcd2
lri $IX1,    #0x0ae4
lri $WR1,    #0x953d
cw 0xd
call send_back  ; 6055 (0x17a7)

lri $AR1,    #0xc0fc
lri $IX1,    #0x4f02
lri $WR1,    #0xa830
cw 0xd
call send_back  ; 6056 (0x17a8)

lri $AR1,    #0xb588
lri $IX1,    #0x26da
lri $WR1,    #0x3529
cw 0xd
call send_back  ; 6057 (0x17a9)

lri $AR1,    #0x516b
lri $IX1,    #0x032a
lri $WR1,    #0x21f8
cw 0xd
call send_back  ; 6058 (0x17aa)

lri $AR1,    #0xac3a
lri $IX1,    #0xfaf6
lri $WR1,    #0x9734
cw 0xd
call send_back  ; 6059 (0x17ab)

lri $AR1,    #0x609d
lri $IX1,    #0xb626
lri $WR1,    #0x6d17
cw 0xd
call send_back  ; 6060 (0x17ac)

lri $AR1,    #0xbc7e
lri $IX1,    #0x5fb0
lri $WR1,    #0x8d44
cw 0xd
call send_back  ; 6061 (0x17ad)

lri $AR1,    #0x634c
lri $IX1,    #0x865c
lri $WR1,    #0x3525
cw 0xd
call send_back  ; 6062 (0x17ae)

lri $AR1,    #0x4a17
lri $IX1,    #0xb24e
lri $WR1,    #0xe5ce
cw 0xd
call send_back  ; 6063 (0x17af)

lri $AR1,    #0xacdb
lri $IX1,    #0xe91c
lri $WR1,    #0x7410
cw 0xd
call send_back  ; 6064 (0x17b0)

lri $AR1,    #0x27c9
lri $IX1,    #0x41f2
lri $WR1,    #0x74c1
cw 0xd
call send_back  ; 6065 (0x17b1)

lri $AR1,    #0x5edd
lri $IX1,    #0xe658
lri $WR1,    #0x8ec4
cw 0xd
call send_back  ; 6066 (0x17b2)

lri $AR1,    #0x7198
lri $IX1,    #0x4c1a
lri $WR1,    #0x6df0
cw 0xd
call send_back  ; 6067 (0x17b3)

lri $AR1,    #0x401d
lri $IX1,    #0xf7fe
lri $WR1,    #0x8753
cw 0xd
call send_back  ; 6068 (0x17b4)

lri $AR1,    #0xa296
lri $IX1,    #0x90b0
lri $WR1,    #0x78f5
cw 0xd
call send_back  ; 6069 (0x17b5)

lri $AR1,    #0x8323
lri $IX1,    #0x54b0
lri $WR1,    #0x6c9a
cw 0xd
call send_back  ; 6070 (0x17b6)

lri $AR1,    #0x2e27
lri $IX1,    #0x0588
lri $WR1,    #0x669d
cw 0xd
call send_back  ; 6071 (0x17b7)

lri $AR1,    #0x8440
lri $IX1,    #0xee1c
lri $WR1,    #0xaf6e
cw 0xd
call send_back  ; 6072 (0x17b8)

lri $AR1,    #0x64c9
lri $IX1,    #0xb170
lri $WR1,    #0x6fce
cw 0xd
call send_back  ; 6073 (0x17b9)

lri $AR1,    #0x8716
lri $IX1,    #0xeab2
lri $WR1,    #0x8542
cw 0xd
call send_back  ; 6074 (0x17ba)

lri $AR1,    #0x6c61
lri $IX1,    #0x36b8
lri $WR1,    #0x65ee
cw 0xd
call send_back  ; 6075 (0x17bb)

lri $AR1,    #0x7b9c
lri $IX1,    #0xe2fc
lri $WR1,    #0x804b
cw 0xd
call send_back  ; 6076 (0x17bc)

lri $AR1,    #0x13fe
lri $IX1,    #0x1532
lri $WR1,    #0xbcd0
cw 0xd
call send_back  ; 6077 (0x17bd)

lri $AR1,    #0xd2a9
lri $IX1,    #0xaa60
lri $WR1,    #0x852f
cw 0xd
call send_back  ; 6078 (0x17be)

lri $AR1,    #0xcb22
lri $IX1,    #0x2bc4
lri $WR1,    #0xd616
cw 0xd
call send_back  ; 6079 (0x17bf)

lri $AR1,    #0x69fd
lri $IX1,    #0xeb62
lri $WR1,    #0x4627
cw 0xd
call send_back  ; 6080 (0x17c0)

lri $AR1,    #0x848a
lri $IX1,    #0x816c
lri $WR1,    #0x761a
cw 0xd
call send_back  ; 6081 (0x17c1)

lri $AR1,    #0x97c6
lri $IX1,    #0x5f78
lri $WR1,    #0x6bab
cw 0xd
call send_back  ; 6082 (0x17c2)

lri $AR1,    #0xcc78
lri $IX1,    #0xddc0
lri $WR1,    #0xca5a
cw 0xd
call send_back  ; 6083 (0x17c3)

lri $AR1,    #0x5dab
lri $IX1,    #0xea44
lri $WR1,    #0x9299
cw 0xd
call send_back  ; 6084 (0x17c4)

lri $AR1,    #0x5a79
lri $IX1,    #0x390a
lri $WR1,    #0x6960
cw 0xd
call send_back  ; 6085 (0x17c5)

lri $AR1,    #0x4b51
lri $IX1,    #0x606c
lri $WR1,    #0xc7db
cw 0xd
call send_back  ; 6086 (0x17c6)

lri $AR1,    #0xe6ac
lri $IX1,    #0x8bb6
lri $WR1,    #0xb420
cw 0xd
call send_back  ; 6087 (0x17c7)

lri $AR1,    #0x1864
lri $IX1,    #0x41d4
lri $WR1,    #0xa991
cw 0xd
call send_back  ; 6088 (0x17c8)

lri $AR1,    #0x8a8f
lri $IX1,    #0x0572
lri $WR1,    #0x80ef
cw 0xd
call send_back  ; 6089 (0x17c9)

lri $AR1,    #0x7e23
lri $IX1,    #0x2f6a
lri $WR1,    #0x55b9
cw 0xd
call send_back  ; 6090 (0x17ca)

lri $AR1,    #0x753f
lri $IX1,    #0x33a8
lri $WR1,    #0x77df
cw 0xd
call send_back  ; 6091 (0x17cb)

lri $AR1,    #0xd85e
lri $IX1,    #0x6476
lri $WR1,    #0x4e57
cw 0xd
call send_back  ; 6092 (0x17cc)

lri $AR1,    #0xbb47
lri $IX1,    #0x1f86
lri $WR1,    #0x88ad
cw 0xd
call send_back  ; 6093 (0x17cd)

lri $AR1,    #0x160d
lri $IX1,    #0xfb58
lri $WR1,    #0x7b1a
cw 0xd
call send_back  ; 6094 (0x17ce)

lri $AR1,    #0x89e7
lri $IX1,    #0xeb8e
lri $WR1,    #0x6228
cw 0xd
call send_back  ; 6095 (0x17cf)

lri $AR1,    #0x8148
lri $IX1,    #0x45d0
lri $WR1,    #0x7089
cw 0xd
call send_back  ; 6096 (0x17d0)

lri $AR1,    #0x85d8
lri $IX1,    #0xf898
lri $WR1,    #0xd317
cw 0xd
call send_back  ; 6097 (0x17d1)

lri $AR1,    #0x66da
lri $IX1,    #0x00ce
lri $WR1,    #0xa4a6
cw 0xd
call send_back  ; 6098 (0x17d2)

lri $AR1,    #0x9d97
lri $IX1,    #0x1a5e
lri $WR1,    #0xfca5
cw 0xd
call send_back  ; 6099 (0x17d3)

lri $AR1,    #0x2546
lri $IX1,    #0xabb6
lri $WR1,    #0xb91e
cw 0xd
call send_back  ; 6100 (0x17d4)

lri $AR1,    #0x972d
lri $IX1,    #0xe37a
lri $WR1,    #0x3e42
cw 0xd
call send_back  ; 6101 (0x17d5)

lri $AR1,    #0xab4d
lri $IX1,    #0xcb24
lri $WR1,    #0x82e5
cw 0xd
call send_back  ; 6102 (0x17d6)

lri $AR1,    #0x2175
lri $IX1,    #0x90fe
lri $WR1,    #0x4316
cw 0xd
call send_back  ; 6103 (0x17d7)

lri $AR1,    #0x6df8
lri $IX1,    #0x5f3a
lri $WR1,    #0x7766
cw 0xd
call send_back  ; 6104 (0x17d8)

lri $AR1,    #0x30e9
lri $IX1,    #0x9d70
lri $WR1,    #0x98dc
cw 0xd
call send_back  ; 6105 (0x17d9)

lri $AR1,    #0xde20
lri $IX1,    #0x5564
lri $WR1,    #0xa72d
cw 0xd
call send_back  ; 6106 (0x17da)

lri $AR1,    #0xefe3
lri $IX1,    #0x8354
lri $WR1,    #0x3855
cw 0xd
call send_back  ; 6107 (0x17db)

lri $AR1,    #0x6574
lri $IX1,    #0x3da4
lri $WR1,    #0x6e09
cw 0xd
call send_back  ; 6108 (0x17dc)

lri $AR1,    #0x8a6a
lri $IX1,    #0xb738
lri $WR1,    #0x672a
cw 0xd
call send_back  ; 6109 (0x17dd)

lri $AR1,    #0x7305
lri $IX1,    #0x0b54
lri $WR1,    #0x80b5
cw 0xd
call send_back  ; 6110 (0x17de)

lri $AR1,    #0x1d78
lri $IX1,    #0x613a
lri $WR1,    #0x5b55
cw 0xd
call send_back  ; 6111 (0x17df)

lri $AR1,    #0x9f4a
lri $IX1,    #0x2974
lri $WR1,    #0x8006
cw 0xd
call send_back  ; 6112 (0x17e0)

lri $AR1,    #0x91c3
lri $IX1,    #0xde0a
lri $WR1,    #0x8809
cw 0xd
call send_back  ; 6113 (0x17e1)

lri $AR1,    #0x6fa7
lri $IX1,    #0xaa70
lri $WR1,    #0xb988
cw 0xd
call send_back  ; 6114 (0x17e2)

lri $AR1,    #0xaa05
lri $IX1,    #0x8f80
lri $WR1,    #0x7c1c
cw 0xd
call send_back  ; 6115 (0x17e3)

lri $AR1,    #0x417c
lri $IX1,    #0xdb62
lri $WR1,    #0x3db3
cw 0xd
call send_back  ; 6116 (0x17e4)

lri $AR1,    #0x0cc1
lri $IX1,    #0x0494
lri $WR1,    #0xb9ed
cw 0xd
call send_back  ; 6117 (0x17e5)

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