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

lri $AR1,    #0xe174
lri $IX1,    #0x00bc
lri $WR1,    #0x8c4a
cw 0xd
call send_back  ; 21082 (0x525a)

lri $AR1,    #0x41b6
lri $IX1,    #0x6582
lri $WR1,    #0x274f
cw 0xd
call send_back  ; 21083 (0x525b)

lri $AR1,    #0x9b41
lri $IX1,    #0x08f8
lri $WR1,    #0xb0f4
cw 0xd
call send_back  ; 21084 (0x525c)

lri $AR1,    #0x5a06
lri $IX1,    #0x993c
lri $WR1,    #0xae67
cw 0xd
call send_back  ; 21085 (0x525d)

lri $AR1,    #0x5845
lri $IX1,    #0x3f6c
lri $WR1,    #0xeb10
cw 0xd
call send_back  ; 21086 (0x525e)

lri $AR1,    #0x7ec8
lri $IX1,    #0xba4a
lri $WR1,    #0x1925
cw 0xd
call send_back  ; 21087 (0x525f)

lri $AR1,    #0x1955
lri $IX1,    #0xfa7c
lri $WR1,    #0xd952
cw 0xd
call send_back  ; 21088 (0x5260)

lri $AR1,    #0x5211
lri $IX1,    #0x69c4
lri $WR1,    #0xcda0
cw 0xd
call send_back  ; 21089 (0x5261)

lri $AR1,    #0x4639
lri $IX1,    #0x01f0
lri $WR1,    #0x6928
cw 0xd
call send_back  ; 21090 (0x5262)

lri $AR1,    #0xb9f9
lri $IX1,    #0x87dc
lri $WR1,    #0x9f8d
cw 0xd
call send_back  ; 21091 (0x5263)

lri $AR1,    #0x78af
lri $IX1,    #0x8248
lri $WR1,    #0x4ce9
cw 0xd
call send_back  ; 21092 (0x5264)

lri $AR1,    #0x4a67
lri $IX1,    #0xbbec
lri $WR1,    #0x8829
cw 0xd
call send_back  ; 21093 (0x5265)

lri $AR1,    #0x76f4
lri $IX1,    #0x2b7c
lri $WR1,    #0x6f75
cw 0xd
call send_back  ; 21094 (0x5266)

lri $AR1,    #0x7253
lri $IX1,    #0xdc00
lri $WR1,    #0xbfa6
cw 0xd
call send_back  ; 21095 (0x5267)

lri $AR1,    #0xe5cd
lri $IX1,    #0xc34a
lri $WR1,    #0x8d68
cw 0xd
call send_back  ; 21096 (0x5268)

lri $AR1,    #0x348f
lri $IX1,    #0x3bd8
lri $WR1,    #0xa00d
cw 0xd
call send_back  ; 21097 (0x5269)

lri $AR1,    #0x3a0f
lri $IX1,    #0xf2fa
lri $WR1,    #0x9bb3
cw 0xd
call send_back  ; 21098 (0x526a)

lri $AR1,    #0xb414
lri $IX1,    #0x6b7a
lri $WR1,    #0x39ab
cw 0xd
call send_back  ; 21099 (0x526b)

lri $AR1,    #0x71a6
lri $IX1,    #0x98aa
lri $WR1,    #0xa3d5
cw 0xd
call send_back  ; 21100 (0x526c)

lri $AR1,    #0x5bc4
lri $IX1,    #0x6d2a
lri $WR1,    #0x80f2
cw 0xd
call send_back  ; 21101 (0x526d)

lri $AR1,    #0x9c1e
lri $IX1,    #0x6412
lri $WR1,    #0xbd75
cw 0xd
call send_back  ; 21102 (0x526e)

lri $AR1,    #0x69b6
lri $IX1,    #0xeb02
lri $WR1,    #0x7dec
cw 0xd
call send_back  ; 21103 (0x526f)

lri $AR1,    #0xbaa9
lri $IX1,    #0x06ca
lri $WR1,    #0x4d92
cw 0xd
call send_back  ; 21104 (0x5270)

lri $AR1,    #0xa5fb
lri $IX1,    #0x73f4
lri $WR1,    #0x6515
cw 0xd
call send_back  ; 21105 (0x5271)

lri $AR1,    #0x7fab
lri $IX1,    #0xc01c
lri $WR1,    #0x3325
cw 0xd
call send_back  ; 21106 (0x5272)

lri $AR1,    #0x8ce8
lri $IX1,    #0x484e
lri $WR1,    #0x81d2
cw 0xd
call send_back  ; 21107 (0x5273)

lri $AR1,    #0x75bc
lri $IX1,    #0x8c42
lri $WR1,    #0x8953
cw 0xd
call send_back  ; 21108 (0x5274)

lri $AR1,    #0x34e0
lri $IX1,    #0xbdc8
lri $WR1,    #0xda4c
cw 0xd
call send_back  ; 21109 (0x5275)

lri $AR1,    #0x9636
lri $IX1,    #0xbf30
lri $WR1,    #0xa709
cw 0xd
call send_back  ; 21110 (0x5276)

lri $AR1,    #0x3794
lri $IX1,    #0xc306
lri $WR1,    #0x74df
cw 0xd
call send_back  ; 21111 (0x5277)

lri $AR1,    #0x573c
lri $IX1,    #0x52e2
lri $WR1,    #0x842b
cw 0xd
call send_back  ; 21112 (0x5278)

lri $AR1,    #0x66d6
lri $IX1,    #0x8aaa
lri $WR1,    #0xa702
cw 0xd
call send_back  ; 21113 (0x5279)

lri $AR1,    #0xb93d
lri $IX1,    #0xb11a
lri $WR1,    #0xac3a
cw 0xd
call send_back  ; 21114 (0x527a)

lri $AR1,    #0x94d9
lri $IX1,    #0xe5ce
lri $WR1,    #0xd5ad
cw 0xd
call send_back  ; 21115 (0x527b)

lri $AR1,    #0xdbff
lri $IX1,    #0x40b0
lri $WR1,    #0x667d
cw 0xd
call send_back  ; 21116 (0x527c)

lri $AR1,    #0x37fc
lri $IX1,    #0x5618
lri $WR1,    #0x8f40
cw 0xd
call send_back  ; 21117 (0x527d)

lri $AR1,    #0xa32e
lri $IX1,    #0x7e5a
lri $WR1,    #0x3bab
cw 0xd
call send_back  ; 21118 (0x527e)

lri $AR1,    #0x3210
lri $IX1,    #0x5f3c
lri $WR1,    #0x66eb
cw 0xd
call send_back  ; 21119 (0x527f)

lri $AR1,    #0x7256
lri $IX1,    #0xe8f0
lri $WR1,    #0x810c
cw 0xd
call send_back  ; 21120 (0x5280)

lri $AR1,    #0x8323
lri $IX1,    #0x2008
lri $WR1,    #0x799e
cw 0xd
call send_back  ; 21121 (0x5281)

lri $AR1,    #0x8877
lri $IX1,    #0x8932
lri $WR1,    #0x9129
cw 0xd
call send_back  ; 21122 (0x5282)

lri $AR1,    #0xafc7
lri $IX1,    #0xbae8
lri $WR1,    #0x8465
cw 0xd
call send_back  ; 21123 (0x5283)

lri $AR1,    #0x8305
lri $IX1,    #0x5d18
lri $WR1,    #0xd9ee
cw 0xd
call send_back  ; 21124 (0x5284)

lri $AR1,    #0x22da
lri $IX1,    #0x95ec
lri $WR1,    #0x7456
cw 0xd
call send_back  ; 21125 (0x5285)

lri $AR1,    #0x9078
lri $IX1,    #0x6e92
lri $WR1,    #0x6855
cw 0xd
call send_back  ; 21126 (0x5286)

lri $AR1,    #0xd2c9
lri $IX1,    #0xfa58
lri $WR1,    #0x57fb
cw 0xd
call send_back  ; 21127 (0x5287)

lri $AR1,    #0xda4a
lri $IX1,    #0xddd8
lri $WR1,    #0x1991
cw 0xd
call send_back  ; 21128 (0x5288)

lri $AR1,    #0x7263
lri $IX1,    #0x1ba6
lri $WR1,    #0x1a34
cw 0xd
call send_back  ; 21129 (0x5289)

lri $AR1,    #0x2e8b
lri $IX1,    #0xa728
lri $WR1,    #0x99ad
cw 0xd
call send_back  ; 21130 (0x528a)

lri $AR1,    #0x7515
lri $IX1,    #0x0e10
lri $WR1,    #0x6ea6
cw 0xd
call send_back  ; 21131 (0x528b)

lri $AR1,    #0x70dd
lri $IX1,    #0x6c1a
lri $WR1,    #0x57be
cw 0xd
call send_back  ; 21132 (0x528c)

lri $AR1,    #0xaebb
lri $IX1,    #0xb496
lri $WR1,    #0xd79c
cw 0xd
call send_back  ; 21133 (0x528d)

lri $AR1,    #0x5b04
lri $IX1,    #0x085a
lri $WR1,    #0x9782
cw 0xd
call send_back  ; 21134 (0x528e)

lri $AR1,    #0xd6e3
lri $IX1,    #0x2e88
lri $WR1,    #0xad77
cw 0xd
call send_back  ; 21135 (0x528f)

lri $AR1,    #0x94eb
lri $IX1,    #0x39fc
lri $WR1,    #0xc893
cw 0xd
call send_back  ; 21136 (0x5290)

lri $AR1,    #0xb797
lri $IX1,    #0xcc92
lri $WR1,    #0x8f8c
cw 0xd
call send_back  ; 21137 (0x5291)

lri $AR1,    #0xac2c
lri $IX1,    #0x2540
lri $WR1,    #0x4b01
cw 0xd
call send_back  ; 21138 (0x5292)

lri $AR1,    #0x4fa5
lri $IX1,    #0x1536
lri $WR1,    #0x2697
cw 0xd
call send_back  ; 21139 (0x5293)

lri $AR1,    #0xf31a
lri $IX1,    #0xfbd8
lri $WR1,    #0xc988
cw 0xd
call send_back  ; 21140 (0x5294)

lri $AR1,    #0xb063
lri $IX1,    #0xe0e8
lri $WR1,    #0xa09a
cw 0xd
call send_back  ; 21141 (0x5295)

lri $AR1,    #0x4f46
lri $IX1,    #0x8fb2
lri $WR1,    #0x512c
cw 0xd
call send_back  ; 21142 (0x5296)

lri $AR1,    #0xdf01
lri $IX1,    #0x1582
lri $WR1,    #0x4e49
cw 0xd
call send_back  ; 21143 (0x5297)

lri $AR1,    #0x7f89
lri $IX1,    #0x193e
lri $WR1,    #0x4e6b
cw 0xd
call send_back  ; 21144 (0x5298)

lri $AR1,    #0x8144
lri $IX1,    #0x095e
lri $WR1,    #0x49f2
cw 0xd
call send_back  ; 21145 (0x5299)

lri $AR1,    #0x618c
lri $IX1,    #0xf93a
lri $WR1,    #0x97de
cw 0xd
call send_back  ; 21146 (0x529a)

lri $AR1,    #0x1dd8
lri $IX1,    #0x15ce
lri $WR1,    #0x8fe5
cw 0xd
call send_back  ; 21147 (0x529b)

lri $AR1,    #0xbece
lri $IX1,    #0xbdf4
lri $WR1,    #0xae65
cw 0xd
call send_back  ; 21148 (0x529c)

lri $AR1,    #0xb814
lri $IX1,    #0x6132
lri $WR1,    #0xf05a
cw 0xd
call send_back  ; 21149 (0x529d)

lri $AR1,    #0xa930
lri $IX1,    #0x341c
lri $WR1,    #0x5acc
cw 0xd
call send_back  ; 21150 (0x529e)

lri $AR1,    #0x8f43
lri $IX1,    #0x6876
lri $WR1,    #0xc2dc
cw 0xd
call send_back  ; 21151 (0x529f)

lri $AR1,    #0x6ef8
lri $IX1,    #0xcafe
lri $WR1,    #0x50f5
cw 0xd
call send_back  ; 21152 (0x52a0)

lri $AR1,    #0x4969
lri $IX1,    #0x501e
lri $WR1,    #0xc32e
cw 0xd
call send_back  ; 21153 (0x52a1)

lri $AR1,    #0xae5b
lri $IX1,    #0x1456
lri $WR1,    #0x807f
cw 0xd
call send_back  ; 21154 (0x52a2)

lri $AR1,    #0x5190
lri $IX1,    #0x84cc
lri $WR1,    #0x7fb8
cw 0xd
call send_back  ; 21155 (0x52a3)

lri $AR1,    #0x908b
lri $IX1,    #0xa792
lri $WR1,    #0xbaf1
cw 0xd
call send_back  ; 21156 (0x52a4)

lri $AR1,    #0xb18f
lri $IX1,    #0xb34a
lri $WR1,    #0x4165
cw 0xd
call send_back  ; 21157 (0x52a5)

lri $AR1,    #0xb432
lri $IX1,    #0x309c
lri $WR1,    #0xd75b
cw 0xd
call send_back  ; 21158 (0x52a6)

lri $AR1,    #0xaf4b
lri $IX1,    #0xa018
lri $WR1,    #0xd51a
cw 0xd
call send_back  ; 21159 (0x52a7)

lri $AR1,    #0x4f87
lri $IX1,    #0xf222
lri $WR1,    #0x7b88
cw 0xd
call send_back  ; 21160 (0x52a8)

lri $AR1,    #0x758a
lri $IX1,    #0xe662
lri $WR1,    #0x9e8d
cw 0xd
call send_back  ; 21161 (0x52a9)

lri $AR1,    #0x91ce
lri $IX1,    #0x835a
lri $WR1,    #0x329d
cw 0xd
call send_back  ; 21162 (0x52aa)

lri $AR1,    #0x9032
lri $IX1,    #0x269c
lri $WR1,    #0x5cba
cw 0xd
call send_back  ; 21163 (0x52ab)

lri $AR1,    #0x4c63
lri $IX1,    #0x1154
lri $WR1,    #0x7943
cw 0xd
call send_back  ; 21164 (0x52ac)

lri $AR1,    #0x8416
lri $IX1,    #0xac80
lri $WR1,    #0x87c8
cw 0xd
call send_back  ; 21165 (0x52ad)

lri $AR1,    #0xeb41
lri $IX1,    #0xebb4
lri $WR1,    #0xe756
cw 0xd
call send_back  ; 21166 (0x52ae)

lri $AR1,    #0xca3d
lri $IX1,    #0x1496
lri $WR1,    #0x306b
cw 0xd
call send_back  ; 21167 (0x52af)

lri $AR1,    #0xc50b
lri $IX1,    #0xa508
lri $WR1,    #0x9f02
cw 0xd
call send_back  ; 21168 (0x52b0)

lri $AR1,    #0x76a8
lri $IX1,    #0xf93e
lri $WR1,    #0x48d5
cw 0xd
call send_back  ; 21169 (0x52b1)

lri $AR1,    #0xca95
lri $IX1,    #0x8e86
lri $WR1,    #0xa972
cw 0xd
call send_back  ; 21170 (0x52b2)

lri $AR1,    #0xd29c
lri $IX1,    #0x2f36
lri $WR1,    #0xbf16
cw 0xd
call send_back  ; 21171 (0x52b3)

lri $AR1,    #0x9de8
lri $IX1,    #0xd758
lri $WR1,    #0x68f8
cw 0xd
call send_back  ; 21172 (0x52b4)

lri $AR1,    #0xb26b
lri $IX1,    #0x99a6
lri $WR1,    #0x510a
cw 0xd
call send_back  ; 21173 (0x52b5)

lri $AR1,    #0x18cd
lri $IX1,    #0x1766
lri $WR1,    #0xc8b4
cw 0xd
call send_back  ; 21174 (0x52b6)

lri $AR1,    #0xceb8
lri $IX1,    #0x1da6
lri $WR1,    #0x81bc
cw 0xd
call send_back  ; 21175 (0x52b7)

lri $AR1,    #0xcad6
lri $IX1,    #0x8d94
lri $WR1,    #0x51b9
cw 0xd
call send_back  ; 21176 (0x52b8)

lri $AR1,    #0x6944
lri $IX1,    #0xbd42
lri $WR1,    #0x9853
cw 0xd
call send_back  ; 21177 (0x52b9)

lri $AR1,    #0x76e3
lri $IX1,    #0xd99c
lri $WR1,    #0xcdb8
cw 0xd
call send_back  ; 21178 (0x52ba)

lri $AR1,    #0x8532
lri $IX1,    #0x6208
lri $WR1,    #0x9076
cw 0xd
call send_back  ; 21179 (0x52bb)

lri $AR1,    #0x982b
lri $IX1,    #0x7944
lri $WR1,    #0x9f2a
cw 0xd
call send_back  ; 21180 (0x52bc)

lri $AR1,    #0x7ad0
lri $IX1,    #0x5f0e
lri $WR1,    #0x6435
cw 0xd
call send_back  ; 21181 (0x52bd)

lri $AR1,    #0x76c8
lri $IX1,    #0xd132
lri $WR1,    #0x76f1
cw 0xd
call send_back  ; 21182 (0x52be)

lri $AR1,    #0xaee1
lri $IX1,    #0x3278
lri $WR1,    #0x9775
cw 0xd
call send_back  ; 21183 (0x52bf)

lri $AR1,    #0x53b8
lri $IX1,    #0x092a
lri $WR1,    #0x8f89
cw 0xd
call send_back  ; 21184 (0x52c0)

lri $AR1,    #0xb563
lri $IX1,    #0x8e82
lri $WR1,    #0x6cd0
cw 0xd
call send_back  ; 21185 (0x52c1)

lri $AR1,    #0xb468
lri $IX1,    #0x83e0
lri $WR1,    #0x95ab
cw 0xd
call send_back  ; 21186 (0x52c2)

lri $AR1,    #0xa7d6
lri $IX1,    #0x3206
lri $WR1,    #0xac03
cw 0xd
call send_back  ; 21187 (0x52c3)

lri $AR1,    #0x55c1
lri $IX1,    #0x3a3a
lri $WR1,    #0x6670
cw 0xd
call send_back  ; 21188 (0x52c4)

lri $AR1,    #0x7708
lri $IX1,    #0x988a
lri $WR1,    #0x61d6
cw 0xd
call send_back  ; 21189 (0x52c5)

lri $AR1,    #0x4ea6
lri $IX1,    #0xc21a
lri $WR1,    #0x4b07
cw 0xd
call send_back  ; 21190 (0x52c6)

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