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

lri $AR1,    #0x6d6b
lri $IX1,    #0xa0ae
lri $WR1,    #0x7da1
cw 0x15
call send_back  ; 40196 (0x9d04)

lri $AR1,    #0xbe4a
lri $IX1,    #0x1c20
lri $WR1,    #0x213e
cw 0x15
call send_back  ; 40197 (0x9d05)

lri $AR1,    #0x95b3
lri $IX1,    #0xb7ea
lri $WR1,    #0x8fed
cw 0x15
call send_back  ; 40198 (0x9d06)

lri $AR1,    #0xafb0
lri $IX1,    #0xaac2
lri $WR1,    #0x21ca
cw 0x15
call send_back  ; 40199 (0x9d07)

lri $AR1,    #0xd977
lri $IX1,    #0xf570
lri $WR1,    #0xb54e
cw 0x15
call send_back  ; 40200 (0x9d08)

lri $AR1,    #0x91cb
lri $IX1,    #0x6f28
lri $WR1,    #0x9cdf
cw 0x15
call send_back  ; 40201 (0x9d09)

lri $AR1,    #0x4d22
lri $IX1,    #0x23a2
lri $WR1,    #0xadb2
cw 0x15
call send_back  ; 40202 (0x9d0a)

lri $AR1,    #0xbf6a
lri $IX1,    #0xf2b8
lri $WR1,    #0x5efd
cw 0x15
call send_back  ; 40203 (0x9d0b)

lri $AR1,    #0xb4b9
lri $IX1,    #0x7d8a
lri $WR1,    #0xbe0d
cw 0x15
call send_back  ; 40204 (0x9d0c)

lri $AR1,    #0x7dc5
lri $IX1,    #0x9610
lri $WR1,    #0x7553
cw 0x15
call send_back  ; 40205 (0x9d0d)

lri $AR1,    #0x245e
lri $IX1,    #0xba1a
lri $WR1,    #0x21fd
cw 0x15
call send_back  ; 40206 (0x9d0e)

lri $AR1,    #0xdfcc
lri $IX1,    #0xc384
lri $WR1,    #0x951e
cw 0x15
call send_back  ; 40207 (0x9d0f)

lri $AR1,    #0xf85d
lri $IX1,    #0x03dc
lri $WR1,    #0xc2fb
cw 0x15
call send_back  ; 40208 (0x9d10)

lri $AR1,    #0x54ea
lri $IX1,    #0x9a06
lri $WR1,    #0xec96
cw 0x15
call send_back  ; 40209 (0x9d11)

lri $AR1,    #0xacb1
lri $IX1,    #0x1532
lri $WR1,    #0x5cf9
cw 0x15
call send_back  ; 40210 (0x9d12)

lri $AR1,    #0x2b4a
lri $IX1,    #0x88b2
lri $WR1,    #0x4557
cw 0x15
call send_back  ; 40211 (0x9d13)

lri $AR1,    #0x9c0b
lri $IX1,    #0x310a
lri $WR1,    #0xb891
cw 0x15
call send_back  ; 40212 (0x9d14)

lri $AR1,    #0x4da7
lri $IX1,    #0xd2ba
lri $WR1,    #0x6040
cw 0x15
call send_back  ; 40213 (0x9d15)

lri $AR1,    #0xae5d
lri $IX1,    #0x3018
lri $WR1,    #0xa2aa
cw 0x15
call send_back  ; 40214 (0x9d16)

lri $AR1,    #0x848c
lri $IX1,    #0x73dc
lri $WR1,    #0x72e8
cw 0x15
call send_back  ; 40215 (0x9d17)

lri $AR1,    #0x7ee1
lri $IX1,    #0x5a88
lri $WR1,    #0x499f
cw 0x15
call send_back  ; 40216 (0x9d18)

lri $AR1,    #0x831f
lri $IX1,    #0x5d64
lri $WR1,    #0x2e7b
cw 0x15
call send_back  ; 40217 (0x9d19)

lri $AR1,    #0x819e
lri $IX1,    #0x463e
lri $WR1,    #0xa7ea
cw 0x15
call send_back  ; 40218 (0x9d1a)

lri $AR1,    #0x8770
lri $IX1,    #0x839c
lri $WR1,    #0x382b
cw 0x15
call send_back  ; 40219 (0x9d1b)

lri $AR1,    #0xb075
lri $IX1,    #0x718c
lri $WR1,    #0x244a
cw 0x15
call send_back  ; 40220 (0x9d1c)

lri $AR1,    #0x5630
lri $IX1,    #0xb3c8
lri $WR1,    #0x7b0f
cw 0x15
call send_back  ; 40221 (0x9d1d)

lri $AR1,    #0xc7a5
lri $IX1,    #0xd262
lri $WR1,    #0x8f6d
cw 0x15
call send_back  ; 40222 (0x9d1e)

lri $AR1,    #0x5a0f
lri $IX1,    #0xaa9a
lri $WR1,    #0x3b92
cw 0x15
call send_back  ; 40223 (0x9d1f)

lri $AR1,    #0x99d5
lri $IX1,    #0x1216
lri $WR1,    #0x2714
cw 0x15
call send_back  ; 40224 (0x9d20)

lri $AR1,    #0xae6f
lri $IX1,    #0x6330
lri $WR1,    #0x5458
cw 0x15
call send_back  ; 40225 (0x9d21)

lri $AR1,    #0x839c
lri $IX1,    #0xad88
lri $WR1,    #0x46be
cw 0x15
call send_back  ; 40226 (0x9d22)

lri $AR1,    #0x5db9
lri $IX1,    #0x1682
lri $WR1,    #0x84a6
cw 0x15
call send_back  ; 40227 (0x9d23)

lri $AR1,    #0x8687
lri $IX1,    #0xb1ec
lri $WR1,    #0x6dd1
cw 0x15
call send_back  ; 40228 (0x9d24)

lri $AR1,    #0x9b25
lri $IX1,    #0xe36a
lri $WR1,    #0xb84b
cw 0x15
call send_back  ; 40229 (0x9d25)

lri $AR1,    #0x93a5
lri $IX1,    #0x4df8
lri $WR1,    #0x4340
cw 0x15
call send_back  ; 40230 (0x9d26)

lri $AR1,    #0xbff9
lri $IX1,    #0x970c
lri $WR1,    #0xb107
cw 0x15
call send_back  ; 40231 (0x9d27)

lri $AR1,    #0x8d8a
lri $IX1,    #0xefa0
lri $WR1,    #0x3eb3
cw 0x15
call send_back  ; 40232 (0x9d28)

lri $AR1,    #0x5458
lri $IX1,    #0x8dd6
lri $WR1,    #0x7975
cw 0x15
call send_back  ; 40233 (0x9d29)

lri $AR1,    #0x89db
lri $IX1,    #0x264a
lri $WR1,    #0x9f2f
cw 0x15
call send_back  ; 40234 (0x9d2a)

lri $AR1,    #0x6b8c
lri $IX1,    #0x24f4
lri $WR1,    #0x8970
cw 0x15
call send_back  ; 40235 (0x9d2b)

lri $AR1,    #0x5a54
lri $IX1,    #0x018a
lri $WR1,    #0x5740
cw 0x15
call send_back  ; 40236 (0x9d2c)

lri $AR1,    #0x9bc5
lri $IX1,    #0xb450
lri $WR1,    #0x83fc
cw 0x15
call send_back  ; 40237 (0x9d2d)

lri $AR1,    #0x6551
lri $IX1,    #0x2458
lri $WR1,    #0x969e
cw 0x15
call send_back  ; 40238 (0x9d2e)

lri $AR1,    #0x596b
lri $IX1,    #0x8900
lri $WR1,    #0x76b0
cw 0x15
call send_back  ; 40239 (0x9d2f)

lri $AR1,    #0xd5d4
lri $IX1,    #0x44c8
lri $WR1,    #0x9958
cw 0x15
call send_back  ; 40240 (0x9d30)

lri $AR1,    #0x7de0
lri $IX1,    #0xd844
lri $WR1,    #0x829e
cw 0x15
call send_back  ; 40241 (0x9d31)

lri $AR1,    #0xab10
lri $IX1,    #0x5044
lri $WR1,    #0x6478
cw 0x15
call send_back  ; 40242 (0x9d32)

lri $AR1,    #0x41c8
lri $IX1,    #0x22fe
lri $WR1,    #0x56b4
cw 0x15
call send_back  ; 40243 (0x9d33)

lri $AR1,    #0x2f6f
lri $IX1,    #0xec44
lri $WR1,    #0x9831
cw 0x15
call send_back  ; 40244 (0x9d34)

lri $AR1,    #0x72d4
lri $IX1,    #0x01a4
lri $WR1,    #0x63ae
cw 0x15
call send_back  ; 40245 (0x9d35)

lri $AR1,    #0xdf1a
lri $IX1,    #0x8b7e
lri $WR1,    #0x7f80
cw 0x15
call send_back  ; 40246 (0x9d36)

lri $AR1,    #0xad09
lri $IX1,    #0xd0c2
lri $WR1,    #0xb179
cw 0x15
call send_back  ; 40247 (0x9d37)

lri $AR1,    #0xc604
lri $IX1,    #0xcfaa
lri $WR1,    #0x855b
cw 0x15
call send_back  ; 40248 (0x9d38)

lri $AR1,    #0x5f86
lri $IX1,    #0x35ea
lri $WR1,    #0x3e1a
cw 0x15
call send_back  ; 40249 (0x9d39)

lri $AR1,    #0x5d6a
lri $IX1,    #0x6fb6
lri $WR1,    #0xb753
cw 0x15
call send_back  ; 40250 (0x9d3a)

lri $AR1,    #0x64cf
lri $IX1,    #0xf52e
lri $WR1,    #0x4e1a
cw 0x15
call send_back  ; 40251 (0x9d3b)

lri $AR1,    #0x70e8
lri $IX1,    #0x5a76
lri $WR1,    #0x7dbd
cw 0x15
call send_back  ; 40252 (0x9d3c)

lri $AR1,    #0x7693
lri $IX1,    #0x0f18
lri $WR1,    #0x966a
cw 0x15
call send_back  ; 40253 (0x9d3d)

lri $AR1,    #0x92f4
lri $IX1,    #0x4de8
lri $WR1,    #0xb161
cw 0x15
call send_back  ; 40254 (0x9d3e)

lri $AR1,    #0x44f3
lri $IX1,    #0x9f24
lri $WR1,    #0x27ca
cw 0x15
call send_back  ; 40255 (0x9d3f)

lri $AR1,    #0xa8eb
lri $IX1,    #0x9ae4
lri $WR1,    #0x3698
cw 0x15
call send_back  ; 40256 (0x9d40)

lri $AR1,    #0x794e
lri $IX1,    #0x72b6
lri $WR1,    #0x83b7
cw 0x15
call send_back  ; 40257 (0x9d41)

lri $AR1,    #0x969f
lri $IX1,    #0x4d5a
lri $WR1,    #0xc5f8
cw 0x15
call send_back  ; 40258 (0x9d42)

lri $AR1,    #0x6c85
lri $IX1,    #0xd092
lri $WR1,    #0x42cf
cw 0x15
call send_back  ; 40259 (0x9d43)

lri $AR1,    #0x9153
lri $IX1,    #0x7100
lri $WR1,    #0x8a80
cw 0x15
call send_back  ; 40260 (0x9d44)

lri $AR1,    #0xd8c4
lri $IX1,    #0x68d6
lri $WR1,    #0xb4b9
cw 0x15
call send_back  ; 40261 (0x9d45)

lri $AR1,    #0xa24e
lri $IX1,    #0xaa96
lri $WR1,    #0x3d3a
cw 0x15
call send_back  ; 40262 (0x9d46)

lri $AR1,    #0x4ecc
lri $IX1,    #0xe570
lri $WR1,    #0x618c
cw 0x15
call send_back  ; 40263 (0x9d47)

lri $AR1,    #0x60dd
lri $IX1,    #0xdd96
lri $WR1,    #0x6666
cw 0x15
call send_back  ; 40264 (0x9d48)

lri $AR1,    #0x36b9
lri $IX1,    #0x1314
lri $WR1,    #0x54bc
cw 0x15
call send_back  ; 40265 (0x9d49)

lri $AR1,    #0x6bdd
lri $IX1,    #0x1670
lri $WR1,    #0x6c22
cw 0x15
call send_back  ; 40266 (0x9d4a)

lri $AR1,    #0xa449
lri $IX1,    #0x1ab8
lri $WR1,    #0x997c
cw 0x15
call send_back  ; 40267 (0x9d4b)

lri $AR1,    #0xaac0
lri $IX1,    #0x713e
lri $WR1,    #0x9692
cw 0x15
call send_back  ; 40268 (0x9d4c)

lri $AR1,    #0xc6a9
lri $IX1,    #0xc38e
lri $WR1,    #0x50a7
cw 0x15
call send_back  ; 40269 (0x9d4d)

lri $AR1,    #0xde1b
lri $IX1,    #0x3504
lri $WR1,    #0xb185
cw 0x15
call send_back  ; 40270 (0x9d4e)

lri $AR1,    #0x3bb5
lri $IX1,    #0x3574
lri $WR1,    #0xc82d
cw 0x15
call send_back  ; 40271 (0x9d4f)

lri $AR1,    #0x87aa
lri $IX1,    #0xdb5a
lri $WR1,    #0xf3a2
cw 0x15
call send_back  ; 40272 (0x9d50)

lri $AR1,    #0x8ec9
lri $IX1,    #0x33f2
lri $WR1,    #0x7bf5
cw 0x15
call send_back  ; 40273 (0x9d51)

lri $AR1,    #0x31d6
lri $IX1,    #0x3cb4
lri $WR1,    #0xd30c
cw 0x15
call send_back  ; 40274 (0x9d52)

lri $AR1,    #0xab01
lri $IX1,    #0x49b0
lri $WR1,    #0x684a
cw 0x15
call send_back  ; 40275 (0x9d53)

lri $AR1,    #0x9ec2
lri $IX1,    #0x9910
lri $WR1,    #0x6f8e
cw 0x15
call send_back  ; 40276 (0x9d54)

lri $AR1,    #0x8904
lri $IX1,    #0xdc70
lri $WR1,    #0x95bd
cw 0x15
call send_back  ; 40277 (0x9d55)

lri $AR1,    #0x66cf
lri $IX1,    #0xb530
lri $WR1,    #0x3a3d
cw 0x15
call send_back  ; 40278 (0x9d56)

lri $AR1,    #0x6052
lri $IX1,    #0xa182
lri $WR1,    #0x4693
cw 0x15
call send_back  ; 40279 (0x9d57)

lri $AR1,    #0x8ea5
lri $IX1,    #0xc452
lri $WR1,    #0x82a5
cw 0x15
call send_back  ; 40280 (0x9d58)

lri $AR1,    #0xa401
lri $IX1,    #0x6ac0
lri $WR1,    #0xadab
cw 0x15
call send_back  ; 40281 (0x9d59)

lri $AR1,    #0x9cc0
lri $IX1,    #0x5668
lri $WR1,    #0x9170
cw 0x15
call send_back  ; 40282 (0x9d5a)

lri $AR1,    #0x930c
lri $IX1,    #0xc406
lri $WR1,    #0x96e3
cw 0x15
call send_back  ; 40283 (0x9d5b)

lri $AR1,    #0x366b
lri $IX1,    #0x02d4
lri $WR1,    #0x788e
cw 0x15
call send_back  ; 40284 (0x9d5c)

lri $AR1,    #0xa418
lri $IX1,    #0x5926
lri $WR1,    #0x6904
cw 0x15
call send_back  ; 40285 (0x9d5d)

lri $AR1,    #0x4c5a
lri $IX1,    #0x079a
lri $WR1,    #0xc0da
cw 0x15
call send_back  ; 40286 (0x9d5e)

lri $AR1,    #0x94c3
lri $IX1,    #0x9c64
lri $WR1,    #0x692b
cw 0x15
call send_back  ; 40287 (0x9d5f)

lri $AR1,    #0x5ea2
lri $IX1,    #0x9518
lri $WR1,    #0x1d49
cw 0x15
call send_back  ; 40288 (0x9d60)

lri $AR1,    #0x6461
lri $IX1,    #0xa56c
lri $WR1,    #0xa7a8
cw 0x15
call send_back  ; 40289 (0x9d61)

lri $AR1,    #0x6049
lri $IX1,    #0xfe48
lri $WR1,    #0x4b87
cw 0x15
call send_back  ; 40290 (0x9d62)

lri $AR1,    #0x824b
lri $IX1,    #0xc0ca
lri $WR1,    #0x7e72
cw 0x15
call send_back  ; 40291 (0x9d63)

lri $AR1,    #0xc24e
lri $IX1,    #0x8566
lri $WR1,    #0xca2b
cw 0x15
call send_back  ; 40292 (0x9d64)

lri $AR1,    #0x77a6
lri $IX1,    #0xa7e2
lri $WR1,    #0x8909
cw 0x15
call send_back  ; 40293 (0x9d65)

lri $AR1,    #0xae2e
lri $IX1,    #0xfd3e
lri $WR1,    #0x8c58
cw 0x15
call send_back  ; 40294 (0x9d66)

lri $AR1,    #0xd4ab
lri $IX1,    #0xd96a
lri $WR1,    #0x7ddc
cw 0x15
call send_back  ; 40295 (0x9d67)

lri $AR1,    #0x77ef
lri $IX1,    #0xf6ce
lri $WR1,    #0x52e7
cw 0x15
call send_back  ; 40296 (0x9d68)

lri $AR1,    #0xa96d
lri $IX1,    #0x0a62
lri $WR1,    #0x5136
cw 0x15
call send_back  ; 40297 (0x9d69)

lri $AR1,    #0xcfa4
lri $IX1,    #0xb390
lri $WR1,    #0x530b
cw 0x15
call send_back  ; 40298 (0x9d6a)

lri $AR1,    #0xd223
lri $IX1,    #0x2786
lri $WR1,    #0x89a1
cw 0x15
call send_back  ; 40299 (0x9d6b)

lri $AR1,    #0x3a7b
lri $IX1,    #0x9426
lri $WR1,    #0xd281
cw 0x15
call send_back  ; 40300 (0x9d6c)

lri $AR1,    #0xdef1
lri $IX1,    #0xdf4e
lri $WR1,    #0xadd3
cw 0x15
call send_back  ; 40301 (0x9d6d)

lri $AR1,    #0xdb3e
lri $IX1,    #0x3b9a
lri $WR1,    #0xe132
cw 0x15
call send_back  ; 40302 (0x9d6e)

lri $AR1,    #0xdf2c
lri $IX1,    #0x2c62
lri $WR1,    #0xb412
cw 0x15
call send_back  ; 40303 (0x9d6f)

lri $AR1,    #0x9260
lri $IX1,    #0x1f10
lri $WR1,    #0x585a
cw 0x15
call send_back  ; 40304 (0x9d70)

lri $AR1,    #0x5826
lri $IX1,    #0xd892
lri $WR1,    #0x5b1f
cw 0x15
call send_back  ; 40305 (0x9d71)

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