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

lri $AR1,    #0x6673
lri $IX1,    #0x4cb0
lri $WR1,    #0xefb2
cw 0x15
call send_back  ; 8303 (0x206f)

lri $AR1,    #0x86e5
lri $IX1,    #0x38ee
lri $WR1,    #0xbbec
cw 0x15
call send_back  ; 8304 (0x2070)

lri $AR1,    #0x4994
lri $IX1,    #0x00fe
lri $WR1,    #0xa39a
cw 0x15
call send_back  ; 8305 (0x2071)

lri $AR1,    #0x71cf
lri $IX1,    #0x8d70
lri $WR1,    #0x97fb
cw 0x15
call send_back  ; 8306 (0x2072)

lri $AR1,    #0x3f96
lri $IX1,    #0x8fea
lri $WR1,    #0xaf2d
cw 0x15
call send_back  ; 8307 (0x2073)

lri $AR1,    #0x9540
lri $IX1,    #0xdbe6
lri $WR1,    #0x3afa
cw 0x15
call send_back  ; 8308 (0x2074)

lri $AR1,    #0x7b5a
lri $IX1,    #0xa340
lri $WR1,    #0x9715
cw 0x15
call send_back  ; 8309 (0x2075)

lri $AR1,    #0x9314
lri $IX1,    #0x63da
lri $WR1,    #0xb65b
cw 0x15
call send_back  ; 8310 (0x2076)

lri $AR1,    #0x6b12
lri $IX1,    #0x53da
lri $WR1,    #0x782f
cw 0x15
call send_back  ; 8311 (0x2077)

lri $AR1,    #0x81e9
lri $IX1,    #0x86d6
lri $WR1,    #0x147e
cw 0x15
call send_back  ; 8312 (0x2078)

lri $AR1,    #0xed11
lri $IX1,    #0xfe96
lri $WR1,    #0x5671
cw 0x15
call send_back  ; 8313 (0x2079)

lri $AR1,    #0x7ab2
lri $IX1,    #0x7e92
lri $WR1,    #0xcb68
cw 0x15
call send_back  ; 8314 (0x207a)

lri $AR1,    #0x9808
lri $IX1,    #0x69da
lri $WR1,    #0x5d52
cw 0x15
call send_back  ; 8315 (0x207b)

lri $AR1,    #0x2db6
lri $IX1,    #0x4fb6
lri $WR1,    #0xe4df
cw 0x15
call send_back  ; 8316 (0x207c)

lri $AR1,    #0xded7
lri $IX1,    #0x3380
lri $WR1,    #0x79b3
cw 0x15
call send_back  ; 8317 (0x207d)

lri $AR1,    #0x871d
lri $IX1,    #0x310e
lri $WR1,    #0x8417
cw 0x15
call send_back  ; 8318 (0x207e)

lri $AR1,    #0x57d0
lri $IX1,    #0xff52
lri $WR1,    #0xb546
cw 0x15
call send_back  ; 8319 (0x207f)

lri $AR1,    #0x6af6
lri $IX1,    #0x1f46
lri $WR1,    #0x70db
cw 0x15
call send_back  ; 8320 (0x2080)

lri $AR1,    #0x6f7f
lri $IX1,    #0x5e04
lri $WR1,    #0xbb77
cw 0x15
call send_back  ; 8321 (0x2081)

lri $AR1,    #0x90bf
lri $IX1,    #0xd516
lri $WR1,    #0x5031
cw 0x15
call send_back  ; 8322 (0x2082)

lri $AR1,    #0xcef8
lri $IX1,    #0xe4ae
lri $WR1,    #0x6fd5
cw 0x15
call send_back  ; 8323 (0x2083)

lri $AR1,    #0x866e
lri $IX1,    #0xe00c
lri $WR1,    #0x3289
cw 0x15
call send_back  ; 8324 (0x2084)

lri $AR1,    #0xbd97
lri $IX1,    #0x6cba
lri $WR1,    #0x7df4
cw 0x15
call send_back  ; 8325 (0x2085)

lri $AR1,    #0x62f8
lri $IX1,    #0x09b4
lri $WR1,    #0x1f5b
cw 0x15
call send_back  ; 8326 (0x2086)

lri $AR1,    #0xc64c
lri $IX1,    #0xf464
lri $WR1,    #0xcadf
cw 0x15
call send_back  ; 8327 (0x2087)

lri $AR1,    #0x305c
lri $IX1,    #0xcd5a
lri $WR1,    #0xc659
cw 0x15
call send_back  ; 8328 (0x2088)

lri $AR1,    #0x6861
lri $IX1,    #0x17b6
lri $WR1,    #0xaff7
cw 0x15
call send_back  ; 8329 (0x2089)

lri $AR1,    #0x9525
lri $IX1,    #0x123e
lri $WR1,    #0x7e10
cw 0x15
call send_back  ; 8330 (0x208a)

lri $AR1,    #0x9bc8
lri $IX1,    #0x99f4
lri $WR1,    #0x675f
cw 0x15
call send_back  ; 8331 (0x208b)

lri $AR1,    #0x4577
lri $IX1,    #0xe248
lri $WR1,    #0xb813
cw 0x15
call send_back  ; 8332 (0x208c)

lri $AR1,    #0x70dc
lri $IX1,    #0xf79e
lri $WR1,    #0x91e4
cw 0x15
call send_back  ; 8333 (0x208d)

lri $AR1,    #0x4397
lri $IX1,    #0x554c
lri $WR1,    #0x12a2
cw 0x15
call send_back  ; 8334 (0x208e)

lri $AR1,    #0x93a7
lri $IX1,    #0x78e2
lri $WR1,    #0xbe65
cw 0x15
call send_back  ; 8335 (0x208f)

lri $AR1,    #0x77ee
lri $IX1,    #0x68b6
lri $WR1,    #0x2fd5
cw 0x15
call send_back  ; 8336 (0x2090)

lri $AR1,    #0x7ab8
lri $IX1,    #0xbc98
lri $WR1,    #0xdab9
cw 0x15
call send_back  ; 8337 (0x2091)

lri $AR1,    #0x2898
lri $IX1,    #0xfbc4
lri $WR1,    #0x7a3e
cw 0x15
call send_back  ; 8338 (0x2092)

lri $AR1,    #0x095a
lri $IX1,    #0x33ba
lri $WR1,    #0x761b
cw 0x15
call send_back  ; 8339 (0x2093)

lri $AR1,    #0x5867
lri $IX1,    #0xa848
lri $WR1,    #0x7f17
cw 0x15
call send_back  ; 8340 (0x2094)

lri $AR1,    #0x6d65
lri $IX1,    #0x855a
lri $WR1,    #0xbd0c
cw 0x15
call send_back  ; 8341 (0x2095)

lri $AR1,    #0x956b
lri $IX1,    #0xafd2
lri $WR1,    #0x85e6
cw 0x15
call send_back  ; 8342 (0x2096)

lri $AR1,    #0x8087
lri $IX1,    #0x5316
lri $WR1,    #0x96c1
cw 0x15
call send_back  ; 8343 (0x2097)

lri $AR1,    #0xbefe
lri $IX1,    #0xb572
lri $WR1,    #0x8da8
cw 0x15
call send_back  ; 8344 (0x2098)

lri $AR1,    #0x7507
lri $IX1,    #0x561a
lri $WR1,    #0x4c09
cw 0x15
call send_back  ; 8345 (0x2099)

lri $AR1,    #0x4b4a
lri $IX1,    #0x7bea
lri $WR1,    #0x5776
cw 0x15
call send_back  ; 8346 (0x209a)

lri $AR1,    #0x960f
lri $IX1,    #0x4c90
lri $WR1,    #0x9fb1
cw 0x15
call send_back  ; 8347 (0x209b)

lri $AR1,    #0x944d
lri $IX1,    #0x6068
lri $WR1,    #0xa6ae
cw 0x15
call send_back  ; 8348 (0x209c)

lri $AR1,    #0x6378
lri $IX1,    #0xaf9c
lri $WR1,    #0x4075
cw 0x15
call send_back  ; 8349 (0x209d)

lri $AR1,    #0x3467
lri $IX1,    #0xc9c4
lri $WR1,    #0x5ea0
cw 0x15
call send_back  ; 8350 (0x209e)

lri $AR1,    #0x510b
lri $IX1,    #0xa9d0
lri $WR1,    #0x7c5e
cw 0x15
call send_back  ; 8351 (0x209f)

lri $AR1,    #0x7a5f
lri $IX1,    #0x442e
lri $WR1,    #0x25aa
cw 0x15
call send_back  ; 8352 (0x20a0)

lri $AR1,    #0x714e
lri $IX1,    #0x4628
lri $WR1,    #0x9daf
cw 0x15
call send_back  ; 8353 (0x20a1)

lri $AR1,    #0x7ceb
lri $IX1,    #0x816a
lri $WR1,    #0x35f0
cw 0x15
call send_back  ; 8354 (0x20a2)

lri $AR1,    #0x53ca
lri $IX1,    #0x4f82
lri $WR1,    #0xd94e
cw 0x15
call send_back  ; 8355 (0x20a3)

lri $AR1,    #0x55bb
lri $IX1,    #0xf588
lri $WR1,    #0x8374
cw 0x15
call send_back  ; 8356 (0x20a4)

lri $AR1,    #0x5ed4
lri $IX1,    #0xd892
lri $WR1,    #0xb6ab
cw 0x15
call send_back  ; 8357 (0x20a5)

lri $AR1,    #0x8bfc
lri $IX1,    #0x4822
lri $WR1,    #0x5fc9
cw 0x15
call send_back  ; 8358 (0x20a6)

lri $AR1,    #0x6cd5
lri $IX1,    #0xe45e
lri $WR1,    #0x5926
cw 0x15
call send_back  ; 8359 (0x20a7)

lri $AR1,    #0x3661
lri $IX1,    #0x520a
lri $WR1,    #0xc339
cw 0x15
call send_back  ; 8360 (0x20a8)

lri $AR1,    #0x7510
lri $IX1,    #0x2732
lri $WR1,    #0x92f6
cw 0x15
call send_back  ; 8361 (0x20a9)

lri $AR1,    #0x5cb0
lri $IX1,    #0xdf84
lri $WR1,    #0xe367
cw 0x15
call send_back  ; 8362 (0x20aa)

lri $AR1,    #0x87ec
lri $IX1,    #0x581e
lri $WR1,    #0xa99b
cw 0x15
call send_back  ; 8363 (0x20ab)

lri $AR1,    #0x20c6
lri $IX1,    #0xef06
lri $WR1,    #0xbf81
cw 0x15
call send_back  ; 8364 (0x20ac)

lri $AR1,    #0x66be
lri $IX1,    #0x0aea
lri $WR1,    #0x33b7
cw 0x15
call send_back  ; 8365 (0x20ad)

lri $AR1,    #0xb71c
lri $IX1,    #0xa468
lri $WR1,    #0xc9dd
cw 0x15
call send_back  ; 8366 (0x20ae)

lri $AR1,    #0x7f08
lri $IX1,    #0x8a8c
lri $WR1,    #0x7881
cw 0x15
call send_back  ; 8367 (0x20af)

lri $AR1,    #0xb6d7
lri $IX1,    #0xa8a0
lri $WR1,    #0xd72c
cw 0x15
call send_back  ; 8368 (0x20b0)

lri $AR1,    #0x1150
lri $IX1,    #0xac24
lri $WR1,    #0xb8a9
cw 0x15
call send_back  ; 8369 (0x20b1)

lri $AR1,    #0xc949
lri $IX1,    #0x2df6
lri $WR1,    #0x7b17
cw 0x15
call send_back  ; 8370 (0x20b2)

lri $AR1,    #0x4b59
lri $IX1,    #0x1274
lri $WR1,    #0xc8c2
cw 0x15
call send_back  ; 8371 (0x20b3)

lri $AR1,    #0xc0fc
lri $IX1,    #0x50be
lri $WR1,    #0x7a70
cw 0x15
call send_back  ; 8372 (0x20b4)

lri $AR1,    #0x9df5
lri $IX1,    #0xd9d2
lri $WR1,    #0x6523
cw 0x15
call send_back  ; 8373 (0x20b5)

lri $AR1,    #0xa03a
lri $IX1,    #0x0c96
lri $WR1,    #0x7ad6
cw 0x15
call send_back  ; 8374 (0x20b6)

lri $AR1,    #0x9646
lri $IX1,    #0x24aa
lri $WR1,    #0xa75c
cw 0x15
call send_back  ; 8375 (0x20b7)

lri $AR1,    #0x9713
lri $IX1,    #0x7e12
lri $WR1,    #0x97dd
cw 0x15
call send_back  ; 8376 (0x20b8)

lri $AR1,    #0x828f
lri $IX1,    #0x806e
lri $WR1,    #0x8512
cw 0x15
call send_back  ; 8377 (0x20b9)

lri $AR1,    #0x80e9
lri $IX1,    #0xa8fe
lri $WR1,    #0x85b7
cw 0x15
call send_back  ; 8378 (0x20ba)

lri $AR1,    #0xaa72
lri $IX1,    #0x9b0e
lri $WR1,    #0xc06b
cw 0x15
call send_back  ; 8379 (0x20bb)

lri $AR1,    #0x6972
lri $IX1,    #0x7b10
lri $WR1,    #0x695c
cw 0x15
call send_back  ; 8380 (0x20bc)

lri $AR1,    #0x62bc
lri $IX1,    #0x40f8
lri $WR1,    #0x31f9
cw 0x15
call send_back  ; 8381 (0x20bd)

lri $AR1,    #0xa148
lri $IX1,    #0x4328
lri $WR1,    #0x8e2d
cw 0x15
call send_back  ; 8382 (0x20be)

lri $AR1,    #0xc4b2
lri $IX1,    #0x1b86
lri $WR1,    #0xd420
cw 0x15
call send_back  ; 8383 (0x20bf)

lri $AR1,    #0x69e7
lri $IX1,    #0x54fc
lri $WR1,    #0xa128
cw 0x15
call send_back  ; 8384 (0x20c0)

lri $AR1,    #0x50cf
lri $IX1,    #0x27fc
lri $WR1,    #0x77f9
cw 0x15
call send_back  ; 8385 (0x20c1)

lri $AR1,    #0xc140
lri $IX1,    #0x115a
lri $WR1,    #0x9983
cw 0x15
call send_back  ; 8386 (0x20c2)

lri $AR1,    #0x4517
lri $IX1,    #0x5efe
lri $WR1,    #0x8bc2
cw 0x15
call send_back  ; 8387 (0x20c3)

lri $AR1,    #0xd4b9
lri $IX1,    #0x0ada
lri $WR1,    #0x76db
cw 0x15
call send_back  ; 8388 (0x20c4)

lri $AR1,    #0x6ed5
lri $IX1,    #0x848a
lri $WR1,    #0x5ac4
cw 0x15
call send_back  ; 8389 (0x20c5)

lri $AR1,    #0xa3b6
lri $IX1,    #0x7f1c
lri $WR1,    #0x7cdd
cw 0x15
call send_back  ; 8390 (0x20c6)

lri $AR1,    #0xbfeb
lri $IX1,    #0x986e
lri $WR1,    #0xaeb5
cw 0x15
call send_back  ; 8391 (0x20c7)

lri $AR1,    #0x59a5
lri $IX1,    #0xdc7c
lri $WR1,    #0x9466
cw 0x15
call send_back  ; 8392 (0x20c8)

lri $AR1,    #0x6f93
lri $IX1,    #0xdf3e
lri $WR1,    #0xbaa8
cw 0x15
call send_back  ; 8393 (0x20c9)

lri $AR1,    #0x6783
lri $IX1,    #0x8c46
lri $WR1,    #0x7a34
cw 0x15
call send_back  ; 8394 (0x20ca)

lri $AR1,    #0x6ead
lri $IX1,    #0xfbd2
lri $WR1,    #0x3771
cw 0x15
call send_back  ; 8395 (0x20cb)

lri $AR1,    #0xe4e3
lri $IX1,    #0xb978
lri $WR1,    #0x630d
cw 0x15
call send_back  ; 8396 (0x20cc)

lri $AR1,    #0x7783
lri $IX1,    #0x1138
lri $WR1,    #0x998c
cw 0x15
call send_back  ; 8397 (0x20cd)

lri $AR1,    #0xc079
lri $IX1,    #0x4bf2
lri $WR1,    #0x3d5e
cw 0x15
call send_back  ; 8398 (0x20ce)

lri $AR1,    #0x8115
lri $IX1,    #0x652e
lri $WR1,    #0x4887
cw 0x15
call send_back  ; 8399 (0x20cf)

lri $AR1,    #0xc820
lri $IX1,    #0xd030
lri $WR1,    #0xb870
cw 0x15
call send_back  ; 8400 (0x20d0)

lri $AR1,    #0xdddb
lri $IX1,    #0x7b20
lri $WR1,    #0x3fec
cw 0x15
call send_back  ; 8401 (0x20d1)

lri $AR1,    #0x9062
lri $IX1,    #0x8384
lri $WR1,    #0x3905
cw 0x15
call send_back  ; 8402 (0x20d2)

lri $AR1,    #0xce14
lri $IX1,    #0x1f94
lri $WR1,    #0x81a2
cw 0x15
call send_back  ; 8403 (0x20d3)

lri $AR1,    #0x4381
lri $IX1,    #0x3cca
lri $WR1,    #0xe387
cw 0x15
call send_back  ; 8404 (0x20d4)

lri $AR1,    #0x4d87
lri $IX1,    #0x5c2c
lri $WR1,    #0xc1dc
cw 0x15
call send_back  ; 8405 (0x20d5)

lri $AR1,    #0x6001
lri $IX1,    #0x69a6
lri $WR1,    #0x63ac
cw 0x15
call send_back  ; 8406 (0x20d6)

lri $AR1,    #0x64d2
lri $IX1,    #0xcc18
lri $WR1,    #0xb480
cw 0x15
call send_back  ; 8407 (0x20d7)

lri $AR1,    #0xeea8
lri $IX1,    #0xd836
lri $WR1,    #0x99a1
cw 0x15
call send_back  ; 8408 (0x20d8)

lri $AR1,    #0xc62b
lri $IX1,    #0x4912
lri $WR1,    #0xe40c
cw 0x15
call send_back  ; 8409 (0x20d9)

lri $AR1,    #0x380f
lri $IX1,    #0x854e
lri $WR1,    #0xd4af
cw 0x15
call send_back  ; 8410 (0x20da)

lri $AR1,    #0xfdaf
lri $IX1,    #0x68d6
lri $WR1,    #0x79fd
cw 0x15
call send_back  ; 8411 (0x20db)

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