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

lri $AR1,    #0x1b3b
lri $IX1,    #0xf68c
lri $WR1,    #0x80d5
cw 0xd
call send_back  ; 53413 (0xd0a5)

lri $AR1,    #0x6695
lri $IX1,    #0xaabc
lri $WR1,    #0x92ad
cw 0xd
call send_back  ; 53414 (0xd0a6)

lri $AR1,    #0xb3d0
lri $IX1,    #0x51f4
lri $WR1,    #0x75b3
cw 0xd
call send_back  ; 53415 (0xd0a7)

lri $AR1,    #0x906d
lri $IX1,    #0xe3ea
lri $WR1,    #0x74e1
cw 0xd
call send_back  ; 53416 (0xd0a8)

lri $AR1,    #0x8d5f
lri $IX1,    #0x7314
lri $WR1,    #0x8ba8
cw 0xd
call send_back  ; 53417 (0xd0a9)

lri $AR1,    #0xaef1
lri $IX1,    #0x5844
lri $WR1,    #0x5793
cw 0xd
call send_back  ; 53418 (0xd0aa)

lri $AR1,    #0x4c50
lri $IX1,    #0xd6da
lri $WR1,    #0x6c30
cw 0xd
call send_back  ; 53419 (0xd0ab)

lri $AR1,    #0x57fb
lri $IX1,    #0x1d54
lri $WR1,    #0x7df1
cw 0xd
call send_back  ; 53420 (0xd0ac)

lri $AR1,    #0x85f4
lri $IX1,    #0xdd82
lri $WR1,    #0xd1f1
cw 0xd
call send_back  ; 53421 (0xd0ad)

lri $AR1,    #0xf405
lri $IX1,    #0xe346
lri $WR1,    #0xde51
cw 0xd
call send_back  ; 53422 (0xd0ae)

lri $AR1,    #0x3bd3
lri $IX1,    #0xf014
lri $WR1,    #0x681f
cw 0xd
call send_back  ; 53423 (0xd0af)

lri $AR1,    #0x8e34
lri $IX1,    #0x9522
lri $WR1,    #0x9164
cw 0xd
call send_back  ; 53424 (0xd0b0)

lri $AR1,    #0x826f
lri $IX1,    #0xad70
lri $WR1,    #0x936b
cw 0xd
call send_back  ; 53425 (0xd0b1)

lri $AR1,    #0x83da
lri $IX1,    #0x54a2
lri $WR1,    #0xaed2
cw 0xd
call send_back  ; 53426 (0xd0b2)

lri $AR1,    #0x9b8c
lri $IX1,    #0xa6d6
lri $WR1,    #0x8c67
cw 0xd
call send_back  ; 53427 (0xd0b3)

lri $AR1,    #0x9b81
lri $IX1,    #0x196c
lri $WR1,    #0x3f70
cw 0xd
call send_back  ; 53428 (0xd0b4)

lri $AR1,    #0x4bfc
lri $IX1,    #0xb3ea
lri $WR1,    #0xb36d
cw 0xd
call send_back  ; 53429 (0xd0b5)

lri $AR1,    #0x8b73
lri $IX1,    #0xbbe8
lri $WR1,    #0x6cda
cw 0xd
call send_back  ; 53430 (0xd0b6)

lri $AR1,    #0x34e2
lri $IX1,    #0x6646
lri $WR1,    #0x860a
cw 0xd
call send_back  ; 53431 (0xd0b7)

lri $AR1,    #0x77c0
lri $IX1,    #0xb380
lri $WR1,    #0x96a5
cw 0xd
call send_back  ; 53432 (0xd0b8)

lri $AR1,    #0xf87e
lri $IX1,    #0xa476
lri $WR1,    #0x9de3
cw 0xd
call send_back  ; 53433 (0xd0b9)

lri $AR1,    #0x6fc9
lri $IX1,    #0x506a
lri $WR1,    #0x7503
cw 0xd
call send_back  ; 53434 (0xd0ba)

lri $AR1,    #0x7274
lri $IX1,    #0xf48a
lri $WR1,    #0xa120
cw 0xd
call send_back  ; 53435 (0xd0bb)

lri $AR1,    #0x7347
lri $IX1,    #0xb8ea
lri $WR1,    #0x70eb
cw 0xd
call send_back  ; 53436 (0xd0bc)

lri $AR1,    #0xcb93
lri $IX1,    #0x7e14
lri $WR1,    #0x8c53
cw 0xd
call send_back  ; 53437 (0xd0bd)

lri $AR1,    #0x86d0
lri $IX1,    #0x7226
lri $WR1,    #0xd9c1
cw 0xd
call send_back  ; 53438 (0xd0be)

lri $AR1,    #0xb11c
lri $IX1,    #0x4bba
lri $WR1,    #0xbddd
cw 0xd
call send_back  ; 53439 (0xd0bf)

lri $AR1,    #0xdfe4
lri $IX1,    #0xbc68
lri $WR1,    #0xa080
cw 0xd
call send_back  ; 53440 (0xd0c0)

lri $AR1,    #0x778e
lri $IX1,    #0xd438
lri $WR1,    #0xaada
cw 0xd
call send_back  ; 53441 (0xd0c1)

lri $AR1,    #0xb071
lri $IX1,    #0x8ade
lri $WR1,    #0xc05f
cw 0xd
call send_back  ; 53442 (0xd0c2)

lri $AR1,    #0x70ea
lri $IX1,    #0x52ea
lri $WR1,    #0xa588
cw 0xd
call send_back  ; 53443 (0xd0c3)

lri $AR1,    #0x99dd
lri $IX1,    #0x5ef0
lri $WR1,    #0x7cfc
cw 0xd
call send_back  ; 53444 (0xd0c4)

lri $AR1,    #0x3e7c
lri $IX1,    #0xf7d2
lri $WR1,    #0x9d2d
cw 0xd
call send_back  ; 53445 (0xd0c5)

lri $AR1,    #0xcf8f
lri $IX1,    #0xcf02
lri $WR1,    #0x9e00
cw 0xd
call send_back  ; 53446 (0xd0c6)

lri $AR1,    #0x6626
lri $IX1,    #0x7722
lri $WR1,    #0xbf83
cw 0xd
call send_back  ; 53447 (0xd0c7)

lri $AR1,    #0x70f3
lri $IX1,    #0x00b8
lri $WR1,    #0x504d
cw 0xd
call send_back  ; 53448 (0xd0c8)

lri $AR1,    #0x7321
lri $IX1,    #0x0046
lri $WR1,    #0x639a
cw 0xd
call send_back  ; 53449 (0xd0c9)

lri $AR1,    #0xa304
lri $IX1,    #0xdec0
lri $WR1,    #0xd4a0
cw 0xd
call send_back  ; 53450 (0xd0ca)

lri $AR1,    #0xea50
lri $IX1,    #0x2468
lri $WR1,    #0x2647
cw 0xd
call send_back  ; 53451 (0xd0cb)

lri $AR1,    #0x7157
lri $IX1,    #0x5222
lri $WR1,    #0x23bd
cw 0xd
call send_back  ; 53452 (0xd0cc)

lri $AR1,    #0x59fa
lri $IX1,    #0xb476
lri $WR1,    #0xa006
cw 0xd
call send_back  ; 53453 (0xd0cd)

lri $AR1,    #0x7ea1
lri $IX1,    #0x46fc
lri $WR1,    #0x3012
cw 0xd
call send_back  ; 53454 (0xd0ce)

lri $AR1,    #0x4d20
lri $IX1,    #0x1eb2
lri $WR1,    #0x1c65
cw 0xd
call send_back  ; 53455 (0xd0cf)

lri $AR1,    #0x8cbc
lri $IX1,    #0xc4d2
lri $WR1,    #0x6ce8
cw 0xd
call send_back  ; 53456 (0xd0d0)

lri $AR1,    #0x6a3b
lri $IX1,    #0x53b4
lri $WR1,    #0xbaed
cw 0xd
call send_back  ; 53457 (0xd0d1)

lri $AR1,    #0x6432
lri $IX1,    #0xe254
lri $WR1,    #0x4300
cw 0xd
call send_back  ; 53458 (0xd0d2)

lri $AR1,    #0x8587
lri $IX1,    #0xbaf4
lri $WR1,    #0x6187
cw 0xd
call send_back  ; 53459 (0xd0d3)

lri $AR1,    #0x2347
lri $IX1,    #0xdca0
lri $WR1,    #0x9ac7
cw 0xd
call send_back  ; 53460 (0xd0d4)

lri $AR1,    #0x6ece
lri $IX1,    #0x3ed2
lri $WR1,    #0x6866
cw 0xd
call send_back  ; 53461 (0xd0d5)

lri $AR1,    #0x7c79
lri $IX1,    #0x1a18
lri $WR1,    #0xa3f0
cw 0xd
call send_back  ; 53462 (0xd0d6)

lri $AR1,    #0x42ad
lri $IX1,    #0xf81a
lri $WR1,    #0xe76e
cw 0xd
call send_back  ; 53463 (0xd0d7)

lri $AR1,    #0x6c94
lri $IX1,    #0x609c
lri $WR1,    #0x82a9
cw 0xd
call send_back  ; 53464 (0xd0d8)

lri $AR1,    #0x875b
lri $IX1,    #0x8112
lri $WR1,    #0x8d1d
cw 0xd
call send_back  ; 53465 (0xd0d9)

lri $AR1,    #0x702f
lri $IX1,    #0x0758
lri $WR1,    #0x8a3b
cw 0xd
call send_back  ; 53466 (0xd0da)

lri $AR1,    #0x5cf2
lri $IX1,    #0x7802
lri $WR1,    #0xe6f3
cw 0xd
call send_back  ; 53467 (0xd0db)

lri $AR1,    #0x40bc
lri $IX1,    #0x6c0e
lri $WR1,    #0xad35
cw 0xd
call send_back  ; 53468 (0xd0dc)

lri $AR1,    #0x893b
lri $IX1,    #0x3936
lri $WR1,    #0x8358
cw 0xd
call send_back  ; 53469 (0xd0dd)

lri $AR1,    #0x2109
lri $IX1,    #0x73d8
lri $WR1,    #0x4b14
cw 0xd
call send_back  ; 53470 (0xd0de)

lri $AR1,    #0x26ef
lri $IX1,    #0x588c
lri $WR1,    #0x5508
cw 0xd
call send_back  ; 53471 (0xd0df)

lri $AR1,    #0x414c
lri $IX1,    #0x5f76
lri $WR1,    #0x836b
cw 0xd
call send_back  ; 53472 (0xd0e0)

lri $AR1,    #0xc083
lri $IX1,    #0xe274
lri $WR1,    #0xbff5
cw 0xd
call send_back  ; 53473 (0xd0e1)

lri $AR1,    #0xc2ad
lri $IX1,    #0xbb12
lri $WR1,    #0xb689
cw 0xd
call send_back  ; 53474 (0xd0e2)

lri $AR1,    #0x9e73
lri $IX1,    #0xec84
lri $WR1,    #0x37b5
cw 0xd
call send_back  ; 53475 (0xd0e3)

lri $AR1,    #0x624b
lri $IX1,    #0xb18c
lri $WR1,    #0xdba1
cw 0xd
call send_back  ; 53476 (0xd0e4)

lri $AR1,    #0x1101
lri $IX1,    #0x7d78
lri $WR1,    #0x5767
cw 0xd
call send_back  ; 53477 (0xd0e5)

lri $AR1,    #0xd3c1
lri $IX1,    #0x8b3c
lri $WR1,    #0x5479
cw 0xd
call send_back  ; 53478 (0xd0e6)

lri $AR1,    #0x7d86
lri $IX1,    #0x54ba
lri $WR1,    #0xdb1c
cw 0xd
call send_back  ; 53479 (0xd0e7)

lri $AR1,    #0xd336
lri $IX1,    #0xa040
lri $WR1,    #0x6687
cw 0xd
call send_back  ; 53480 (0xd0e8)

lri $AR1,    #0x7738
lri $IX1,    #0x996a
lri $WR1,    #0x62bd
cw 0xd
call send_back  ; 53481 (0xd0e9)

lri $AR1,    #0x76de
lri $IX1,    #0x8642
lri $WR1,    #0x81a3
cw 0xd
call send_back  ; 53482 (0xd0ea)

lri $AR1,    #0xab6b
lri $IX1,    #0xf8ec
lri $WR1,    #0xe677
cw 0xd
call send_back  ; 53483 (0xd0eb)

lri $AR1,    #0x4804
lri $IX1,    #0xc1bc
lri $WR1,    #0x7c26
cw 0xd
call send_back  ; 53484 (0xd0ec)

lri $AR1,    #0x6964
lri $IX1,    #0x3ce8
lri $WR1,    #0x449c
cw 0xd
call send_back  ; 53485 (0xd0ed)

lri $AR1,    #0x2b96
lri $IX1,    #0xc2c6
lri $WR1,    #0xec98
cw 0xd
call send_back  ; 53486 (0xd0ee)

lri $AR1,    #0x8d98
lri $IX1,    #0xe0d6
lri $WR1,    #0x5115
cw 0xd
call send_back  ; 53487 (0xd0ef)

lri $AR1,    #0xa224
lri $IX1,    #0x755e
lri $WR1,    #0x48da
cw 0xd
call send_back  ; 53488 (0xd0f0)

lri $AR1,    #0x9879
lri $IX1,    #0xaf08
lri $WR1,    #0x4e41
cw 0xd
call send_back  ; 53489 (0xd0f1)

lri $AR1,    #0xe773
lri $IX1,    #0x2d28
lri $WR1,    #0x72c5
cw 0xd
call send_back  ; 53490 (0xd0f2)

lri $AR1,    #0x38bd
lri $IX1,    #0xed2a
lri $WR1,    #0xb761
cw 0xd
call send_back  ; 53491 (0xd0f3)

lri $AR1,    #0x797b
lri $IX1,    #0x34c0
lri $WR1,    #0x5a5b
cw 0xd
call send_back  ; 53492 (0xd0f4)

lri $AR1,    #0x9125
lri $IX1,    #0x2058
lri $WR1,    #0xc480
cw 0xd
call send_back  ; 53493 (0xd0f5)

lri $AR1,    #0x8ef7
lri $IX1,    #0xc87c
lri $WR1,    #0x5d6c
cw 0xd
call send_back  ; 53494 (0xd0f6)

lri $AR1,    #0x81c4
lri $IX1,    #0xf094
lri $WR1,    #0x8fdc
cw 0xd
call send_back  ; 53495 (0xd0f7)

lri $AR1,    #0x8568
lri $IX1,    #0xc4b2
lri $WR1,    #0x0cba
cw 0xd
call send_back  ; 53496 (0xd0f8)

lri $AR1,    #0xbcca
lri $IX1,    #0x33de
lri $WR1,    #0x44ca
cw 0xd
call send_back  ; 53497 (0xd0f9)

lri $AR1,    #0x4e9e
lri $IX1,    #0xcf8a
lri $WR1,    #0x7ea8
cw 0xd
call send_back  ; 53498 (0xd0fa)

lri $AR1,    #0x6ecb
lri $IX1,    #0xa8b2
lri $WR1,    #0xc020
cw 0xd
call send_back  ; 53499 (0xd0fb)

lri $AR1,    #0x65c1
lri $IX1,    #0x463c
lri $WR1,    #0x575d
cw 0xd
call send_back  ; 53500 (0xd0fc)

lri $AR1,    #0xc285
lri $IX1,    #0x6818
lri $WR1,    #0x8a1f
cw 0xd
call send_back  ; 53501 (0xd0fd)

lri $AR1,    #0xd3d8
lri $IX1,    #0xb5dc
lri $WR1,    #0x2e6d
cw 0xd
call send_back  ; 53502 (0xd0fe)

lri $AR1,    #0x882c
lri $IX1,    #0x9724
lri $WR1,    #0x91dc
cw 0xd
call send_back  ; 53503 (0xd0ff)

lri $AR1,    #0x4bd4
lri $IX1,    #0x279e
lri $WR1,    #0x7a04
cw 0xd
call send_back  ; 53504 (0xd100)

lri $AR1,    #0xc82c
lri $IX1,    #0x5ffe
lri $WR1,    #0x9221
cw 0xd
call send_back  ; 53505 (0xd101)

lri $AR1,    #0x6611
lri $IX1,    #0x08aa
lri $WR1,    #0x2787
cw 0xd
call send_back  ; 53506 (0xd102)

lri $AR1,    #0x8977
lri $IX1,    #0xba76
lri $WR1,    #0x87db
cw 0xd
call send_back  ; 53507 (0xd103)

lri $AR1,    #0x8368
lri $IX1,    #0xf552
lri $WR1,    #0x89c4
cw 0xd
call send_back  ; 53508 (0xd104)

lri $AR1,    #0x9349
lri $IX1,    #0x0bfe
lri $WR1,    #0xa202
cw 0xd
call send_back  ; 53509 (0xd105)

lri $AR1,    #0xdfab
lri $IX1,    #0x2fe8
lri $WR1,    #0xc498
cw 0xd
call send_back  ; 53510 (0xd106)

lri $AR1,    #0x7274
lri $IX1,    #0x2738
lri $WR1,    #0x92ff
cw 0xd
call send_back  ; 53511 (0xd107)

lri $AR1,    #0xdbba
lri $IX1,    #0x0b04
lri $WR1,    #0x5e10
cw 0xd
call send_back  ; 53512 (0xd108)

lri $AR1,    #0x8a21
lri $IX1,    #0xb2fc
lri $WR1,    #0xab91
cw 0xd
call send_back  ; 53513 (0xd109)

lri $AR1,    #0x8700
lri $IX1,    #0x0f46
lri $WR1,    #0x9d1b
cw 0xd
call send_back  ; 53514 (0xd10a)

lri $AR1,    #0x7822
lri $IX1,    #0x80e8
lri $WR1,    #0xa73f
cw 0xd
call send_back  ; 53515 (0xd10b)

lri $AR1,    #0x7081
lri $IX1,    #0x24a0
lri $WR1,    #0xddac
cw 0xd
call send_back  ; 53516 (0xd10c)

lri $AR1,    #0x94b1
lri $IX1,    #0xdb5a
lri $WR1,    #0x9234
cw 0xd
call send_back  ; 53517 (0xd10d)

lri $AR1,    #0x4761
lri $IX1,    #0x8724
lri $WR1,    #0x8264
cw 0xd
call send_back  ; 53518 (0xd10e)

lri $AR1,    #0xd5bc
lri $IX1,    #0x5302
lri $WR1,    #0x30ae
cw 0xd
call send_back  ; 53519 (0xd10f)

lri $AR1,    #0x52ec
lri $IX1,    #0xcf46
lri $WR1,    #0x2bb9
cw 0xd
call send_back  ; 53520 (0xd110)

lri $AR1,    #0x5dac
lri $IX1,    #0x13ea
lri $WR1,    #0x4fe6
cw 0xd
call send_back  ; 53521 (0xd111)

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