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

lri $AR1,    #0x8ad4
lri $IX1,    #0x613e
lri $WR1,    #0xb1ed
cw 0xd
call send_back  ; 55269 (0xd7e5)

lri $AR1,    #0x10c3
lri $IX1,    #0xcddc
lri $WR1,    #0x70ae
cw 0xd
call send_back  ; 55270 (0xd7e6)

lri $AR1,    #0x9275
lri $IX1,    #0x96ec
lri $WR1,    #0x5cdd
cw 0xd
call send_back  ; 55271 (0xd7e7)

lri $AR1,    #0x9bf7
lri $IX1,    #0x1324
lri $WR1,    #0x5076
cw 0xd
call send_back  ; 55272 (0xd7e8)

lri $AR1,    #0xb09c
lri $IX1,    #0x6644
lri $WR1,    #0x5f05
cw 0xd
call send_back  ; 55273 (0xd7e9)

lri $AR1,    #0x125b
lri $IX1,    #0x4042
lri $WR1,    #0x8cb7
cw 0xd
call send_back  ; 55274 (0xd7ea)

lri $AR1,    #0xcce1
lri $IX1,    #0x88ea
lri $WR1,    #0x8bd1
cw 0xd
call send_back  ; 55275 (0xd7eb)

lri $AR1,    #0x5d7a
lri $IX1,    #0xbbf8
lri $WR1,    #0x550a
cw 0xd
call send_back  ; 55276 (0xd7ec)

lri $AR1,    #0x4cc8
lri $IX1,    #0x10c6
lri $WR1,    #0x68d6
cw 0xd
call send_back  ; 55277 (0xd7ed)

lri $AR1,    #0xbe80
lri $IX1,    #0xb498
lri $WR1,    #0x853b
cw 0xd
call send_back  ; 55278 (0xd7ee)

lri $AR1,    #0x3f07
lri $IX1,    #0x3d92
lri $WR1,    #0x7d3a
cw 0xd
call send_back  ; 55279 (0xd7ef)

lri $AR1,    #0xce3e
lri $IX1,    #0xf062
lri $WR1,    #0x8465
cw 0xd
call send_back  ; 55280 (0xd7f0)

lri $AR1,    #0xb24e
lri $IX1,    #0x59dc
lri $WR1,    #0x8a9d
cw 0xd
call send_back  ; 55281 (0xd7f1)

lri $AR1,    #0x5cb9
lri $IX1,    #0xf93c
lri $WR1,    #0x91a6
cw 0xd
call send_back  ; 55282 (0xd7f2)

lri $AR1,    #0x7f95
lri $IX1,    #0x2792
lri $WR1,    #0x9781
cw 0xd
call send_back  ; 55283 (0xd7f3)

lri $AR1,    #0xb82a
lri $IX1,    #0xebfe
lri $WR1,    #0xa63d
cw 0xd
call send_back  ; 55284 (0xd7f4)

lri $AR1,    #0x4fda
lri $IX1,    #0xe410
lri $WR1,    #0xb330
cw 0xd
call send_back  ; 55285 (0xd7f5)

lri $AR1,    #0xe38a
lri $IX1,    #0xb33e
lri $WR1,    #0x953b
cw 0xd
call send_back  ; 55286 (0xd7f6)

lri $AR1,    #0xa573
lri $IX1,    #0x6b98
lri $WR1,    #0x5b26
cw 0xd
call send_back  ; 55287 (0xd7f7)

lri $AR1,    #0xc49b
lri $IX1,    #0xf598
lri $WR1,    #0x90a3
cw 0xd
call send_back  ; 55288 (0xd7f8)

lri $AR1,    #0xb0cf
lri $IX1,    #0x846a
lri $WR1,    #0x69fb
cw 0xd
call send_back  ; 55289 (0xd7f9)

lri $AR1,    #0xd16d
lri $IX1,    #0x7f6e
lri $WR1,    #0xbc16
cw 0xd
call send_back  ; 55290 (0xd7fa)

lri $AR1,    #0x38c3
lri $IX1,    #0xd944
lri $WR1,    #0xf7c4
cw 0xd
call send_back  ; 55291 (0xd7fb)

lri $AR1,    #0xc568
lri $IX1,    #0x703a
lri $WR1,    #0x74fc
cw 0xd
call send_back  ; 55292 (0xd7fc)

lri $AR1,    #0xde4c
lri $IX1,    #0xab6a
lri $WR1,    #0x9404
cw 0xd
call send_back  ; 55293 (0xd7fd)

lri $AR1,    #0x65d4
lri $IX1,    #0xf350
lri $WR1,    #0x782a
cw 0xd
call send_back  ; 55294 (0xd7fe)

lri $AR1,    #0x83dd
lri $IX1,    #0xc430
lri $WR1,    #0x410b
cw 0xd
call send_back  ; 55295 (0xd7ff)

lri $AR1,    #0x5de0
lri $IX1,    #0xcc24
lri $WR1,    #0x8d09
cw 0xd
call send_back  ; 55296 (0xd800)

lri $AR1,    #0x2023
lri $IX1,    #0xae04
lri $WR1,    #0x98e8
cw 0xd
call send_back  ; 55297 (0xd801)

lri $AR1,    #0xba2a
lri $IX1,    #0x7e1e
lri $WR1,    #0x5e41
cw 0xd
call send_back  ; 55298 (0xd802)

lri $AR1,    #0x4450
lri $IX1,    #0xbcf0
lri $WR1,    #0x83c5
cw 0xd
call send_back  ; 55299 (0xd803)

lri $AR1,    #0x8bc8
lri $IX1,    #0x57d0
lri $WR1,    #0xa7e1
cw 0xd
call send_back  ; 55300 (0xd804)

lri $AR1,    #0x9de1
lri $IX1,    #0xeea8
lri $WR1,    #0x67dc
cw 0xd
call send_back  ; 55301 (0xd805)

lri $AR1,    #0x3ad0
lri $IX1,    #0x29ce
lri $WR1,    #0x6301
cw 0xd
call send_back  ; 55302 (0xd806)

lri $AR1,    #0x3be5
lri $IX1,    #0x2a0e
lri $WR1,    #0x3ad3
cw 0xd
call send_back  ; 55303 (0xd807)

lri $AR1,    #0x905f
lri $IX1,    #0xf0ec
lri $WR1,    #0x96f2
cw 0xd
call send_back  ; 55304 (0xd808)

lri $AR1,    #0x5fca
lri $IX1,    #0xe63c
lri $WR1,    #0x5cad
cw 0xd
call send_back  ; 55305 (0xd809)

lri $AR1,    #0x8021
lri $IX1,    #0x3c0a
lri $WR1,    #0x77e2
cw 0xd
call send_back  ; 55306 (0xd80a)

lri $AR1,    #0xa19c
lri $IX1,    #0xc10a
lri $WR1,    #0xa42e
cw 0xd
call send_back  ; 55307 (0xd80b)

lri $AR1,    #0xb95b
lri $IX1,    #0x9560
lri $WR1,    #0x7b05
cw 0xd
call send_back  ; 55308 (0xd80c)

lri $AR1,    #0xafda
lri $IX1,    #0x0d1c
lri $WR1,    #0x84c2
cw 0xd
call send_back  ; 55309 (0xd80d)

lri $AR1,    #0x876f
lri $IX1,    #0xb73a
lri $WR1,    #0x883b
cw 0xd
call send_back  ; 55310 (0xd80e)

lri $AR1,    #0x72ae
lri $IX1,    #0xdf62
lri $WR1,    #0xb5e7
cw 0xd
call send_back  ; 55311 (0xd80f)

lri $AR1,    #0x89ea
lri $IX1,    #0xd44e
lri $WR1,    #0x7139
cw 0xd
call send_back  ; 55312 (0xd810)

lri $AR1,    #0x5ac5
lri $IX1,    #0xa422
lri $WR1,    #0xc416
cw 0xd
call send_back  ; 55313 (0xd811)

lri $AR1,    #0x4c05
lri $IX1,    #0xbb78
lri $WR1,    #0xd633
cw 0xd
call send_back  ; 55314 (0xd812)

lri $AR1,    #0x238a
lri $IX1,    #0xc384
lri $WR1,    #0x7328
cw 0xd
call send_back  ; 55315 (0xd813)

lri $AR1,    #0xc3b2
lri $IX1,    #0x1f0e
lri $WR1,    #0x2004
cw 0xd
call send_back  ; 55316 (0xd814)

lri $AR1,    #0x50f8
lri $IX1,    #0x5d9a
lri $WR1,    #0x5a40
cw 0xd
call send_back  ; 55317 (0xd815)

lri $AR1,    #0x4024
lri $IX1,    #0xc79a
lri $WR1,    #0xb7d0
cw 0xd
call send_back  ; 55318 (0xd816)

lri $AR1,    #0xb0d9
lri $IX1,    #0xa5de
lri $WR1,    #0xa132
cw 0xd
call send_back  ; 55319 (0xd817)

lri $AR1,    #0x4fd2
lri $IX1,    #0xfa2e
lri $WR1,    #0x2436
cw 0xd
call send_back  ; 55320 (0xd818)

lri $AR1,    #0xa797
lri $IX1,    #0xe648
lri $WR1,    #0x476d
cw 0xd
call send_back  ; 55321 (0xd819)

lri $AR1,    #0xa607
lri $IX1,    #0xda28
lri $WR1,    #0xb3ed
cw 0xd
call send_back  ; 55322 (0xd81a)

lri $AR1,    #0x907c
lri $IX1,    #0xb1d0
lri $WR1,    #0x5c5e
cw 0xd
call send_back  ; 55323 (0xd81b)

lri $AR1,    #0x87e1
lri $IX1,    #0x0e78
lri $WR1,    #0x5df6
cw 0xd
call send_back  ; 55324 (0xd81c)

lri $AR1,    #0x797e
lri $IX1,    #0x4e70
lri $WR1,    #0x9160
cw 0xd
call send_back  ; 55325 (0xd81d)

lri $AR1,    #0x48e0
lri $IX1,    #0x726a
lri $WR1,    #0x7f3c
cw 0xd
call send_back  ; 55326 (0xd81e)

lri $AR1,    #0x828a
lri $IX1,    #0xdeb4
lri $WR1,    #0x8d1e
cw 0xd
call send_back  ; 55327 (0xd81f)

lri $AR1,    #0x5eeb
lri $IX1,    #0x19ee
lri $WR1,    #0x1dc3
cw 0xd
call send_back  ; 55328 (0xd820)

lri $AR1,    #0xa843
lri $IX1,    #0x52c2
lri $WR1,    #0x687a
cw 0xd
call send_back  ; 55329 (0xd821)

lri $AR1,    #0x95da
lri $IX1,    #0x715c
lri $WR1,    #0x594a
cw 0xd
call send_back  ; 55330 (0xd822)

lri $AR1,    #0xc253
lri $IX1,    #0xa8de
lri $WR1,    #0x3cfa
cw 0xd
call send_back  ; 55331 (0xd823)

lri $AR1,    #0x6a79
lri $IX1,    #0xc0c6
lri $WR1,    #0xb175
cw 0xd
call send_back  ; 55332 (0xd824)

lri $AR1,    #0x7d30
lri $IX1,    #0x8572
lri $WR1,    #0xacad
cw 0xd
call send_back  ; 55333 (0xd825)

lri $AR1,    #0x9515
lri $IX1,    #0xdab2
lri $WR1,    #0x4978
cw 0xd
call send_back  ; 55334 (0xd826)

lri $AR1,    #0x1761
lri $IX1,    #0xaa98
lri $WR1,    #0x4b93
cw 0xd
call send_back  ; 55335 (0xd827)

lri $AR1,    #0x4b86
lri $IX1,    #0x3e70
lri $WR1,    #0x513b
cw 0xd
call send_back  ; 55336 (0xd828)

lri $AR1,    #0xaa4b
lri $IX1,    #0x5722
lri $WR1,    #0x5288
cw 0xd
call send_back  ; 55337 (0xd829)

lri $AR1,    #0xc2ae
lri $IX1,    #0x75d6
lri $WR1,    #0x3c04
cw 0xd
call send_back  ; 55338 (0xd82a)

lri $AR1,    #0xc672
lri $IX1,    #0x1522
lri $WR1,    #0x83a4
cw 0xd
call send_back  ; 55339 (0xd82b)

lri $AR1,    #0x778a
lri $IX1,    #0xf694
lri $WR1,    #0x6c9d
cw 0xd
call send_back  ; 55340 (0xd82c)

lri $AR1,    #0xab4e
lri $IX1,    #0xfff2
lri $WR1,    #0x2830
cw 0xd
call send_back  ; 55341 (0xd82d)

lri $AR1,    #0x47b6
lri $IX1,    #0x4ef0
lri $WR1,    #0x7eff
cw 0xd
call send_back  ; 55342 (0xd82e)

lri $AR1,    #0x6280
lri $IX1,    #0x09ba
lri $WR1,    #0x8ffe
cw 0xd
call send_back  ; 55343 (0xd82f)

lri $AR1,    #0x6175
lri $IX1,    #0xe614
lri $WR1,    #0xd779
cw 0xd
call send_back  ; 55344 (0xd830)

lri $AR1,    #0x86ae
lri $IX1,    #0x4878
lri $WR1,    #0x7a61
cw 0xd
call send_back  ; 55345 (0xd831)

lri $AR1,    #0x9338
lri $IX1,    #0x17da
lri $WR1,    #0x1f55
cw 0xd
call send_back  ; 55346 (0xd832)

lri $AR1,    #0x7dbc
lri $IX1,    #0xd28e
lri $WR1,    #0x508a
cw 0xd
call send_back  ; 55347 (0xd833)

lri $AR1,    #0x82aa
lri $IX1,    #0xf408
lri $WR1,    #0x5706
cw 0xd
call send_back  ; 55348 (0xd834)

lri $AR1,    #0x6e99
lri $IX1,    #0x32c2
lri $WR1,    #0x9972
cw 0xd
call send_back  ; 55349 (0xd835)

lri $AR1,    #0xd335
lri $IX1,    #0x6928
lri $WR1,    #0xa5ca
cw 0xd
call send_back  ; 55350 (0xd836)

lri $AR1,    #0x3a8b
lri $IX1,    #0xfbcc
lri $WR1,    #0x8f47
cw 0xd
call send_back  ; 55351 (0xd837)

lri $AR1,    #0x4409
lri $IX1,    #0x22c0
lri $WR1,    #0x8ed5
cw 0xd
call send_back  ; 55352 (0xd838)

lri $AR1,    #0xc1f2
lri $IX1,    #0x8356
lri $WR1,    #0x3e50
cw 0xd
call send_back  ; 55353 (0xd839)

lri $AR1,    #0xcda8
lri $IX1,    #0xe326
lri $WR1,    #0xb3f9
cw 0xd
call send_back  ; 55354 (0xd83a)

lri $AR1,    #0xbc90
lri $IX1,    #0x4c92
lri $WR1,    #0x9552
cw 0xd
call send_back  ; 55355 (0xd83b)

lri $AR1,    #0x46e8
lri $IX1,    #0xa0c2
lri $WR1,    #0xcdcc
cw 0xd
call send_back  ; 55356 (0xd83c)

lri $AR1,    #0x6d55
lri $IX1,    #0x2a34
lri $WR1,    #0xcf7f
cw 0xd
call send_back  ; 55357 (0xd83d)

lri $AR1,    #0x9983
lri $IX1,    #0x2eda
lri $WR1,    #0x8154
cw 0xd
call send_back  ; 55358 (0xd83e)

lri $AR1,    #0x79a2
lri $IX1,    #0xa000
lri $WR1,    #0x9fd9
cw 0xd
call send_back  ; 55359 (0xd83f)

lri $AR1,    #0x8e16
lri $IX1,    #0xb9d2
lri $WR1,    #0xbb2b
cw 0xd
call send_back  ; 55360 (0xd840)

lri $AR1,    #0x2c17
lri $IX1,    #0x8bd0
lri $WR1,    #0x861c
cw 0xd
call send_back  ; 55361 (0xd841)

lri $AR1,    #0x37b0
lri $IX1,    #0xdefe
lri $WR1,    #0x3827
cw 0xd
call send_back  ; 55362 (0xd842)

lri $AR1,    #0x6ad2
lri $IX1,    #0x9e24
lri $WR1,    #0x3527
cw 0xd
call send_back  ; 55363 (0xd843)

lri $AR1,    #0x86d7
lri $IX1,    #0xa7e6
lri $WR1,    #0x6388
cw 0xd
call send_back  ; 55364 (0xd844)

lri $AR1,    #0xa944
lri $IX1,    #0xaa1a
lri $WR1,    #0x72df
cw 0xd
call send_back  ; 55365 (0xd845)

lri $AR1,    #0x8c12
lri $IX1,    #0x310a
lri $WR1,    #0xb296
cw 0xd
call send_back  ; 55366 (0xd846)

lri $AR1,    #0x1d68
lri $IX1,    #0x5508
lri $WR1,    #0x599d
cw 0xd
call send_back  ; 55367 (0xd847)

lri $AR1,    #0x71ec
lri $IX1,    #0x442e
lri $WR1,    #0xa5d2
cw 0xd
call send_back  ; 55368 (0xd848)

lri $AR1,    #0x809f
lri $IX1,    #0x2d78
lri $WR1,    #0x6314
cw 0xd
call send_back  ; 55369 (0xd849)

lri $AR1,    #0xb683
lri $IX1,    #0xae26
lri $WR1,    #0x979b
cw 0xd
call send_back  ; 55370 (0xd84a)

lri $AR1,    #0xa3e5
lri $IX1,    #0xb1b2
lri $WR1,    #0xa4b5
cw 0xd
call send_back  ; 55371 (0xd84b)

lri $AR1,    #0xac8a
lri $IX1,    #0x9814
lri $WR1,    #0x8052
cw 0xd
call send_back  ; 55372 (0xd84c)

lri $AR1,    #0x9fa5
lri $IX1,    #0x4dc6
lri $WR1,    #0xa59e
cw 0xd
call send_back  ; 55373 (0xd84d)

lri $AR1,    #0x4bd5
lri $IX1,    #0xac38
lri $WR1,    #0x580a
cw 0xd
call send_back  ; 55374 (0xd84e)

lri $AR1,    #0x6700
lri $IX1,    #0xd918
lri $WR1,    #0x35fe
cw 0xd
call send_back  ; 55375 (0xd84f)

lri $AR1,    #0x595f
lri $IX1,    #0x4e36
lri $WR1,    #0x3da7
cw 0xd
call send_back  ; 55376 (0xd850)

lri $AR1,    #0x868c
lri $IX1,    #0x9b5e
lri $WR1,    #0xaffd
cw 0xd
call send_back  ; 55377 (0xd851)

lri $AR1,    #0x6ed2
lri $IX1,    #0xaede
lri $WR1,    #0x0b8e
cw 0xd
call send_back  ; 55378 (0xd852)

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