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

lri $AR1,    #0x4503
lri $IX1,    #0x284c
lri $WR1,    #0x942e
cw 0xd
call send_back  ; 50573 (0xc58d)

lri $AR1,    #0x63f6
lri $IX1,    #0xab4c
lri $WR1,    #0x79a3
cw 0xd
call send_back  ; 50574 (0xc58e)

lri $AR1,    #0x6d49
lri $IX1,    #0x8fda
lri $WR1,    #0x45bd
cw 0xd
call send_back  ; 50575 (0xc58f)

lri $AR1,    #0x6cd9
lri $IX1,    #0x1c56
lri $WR1,    #0x5cfd
cw 0xd
call send_back  ; 50576 (0xc590)

lri $AR1,    #0xc329
lri $IX1,    #0x70e8
lri $WR1,    #0x3b42
cw 0xd
call send_back  ; 50577 (0xc591)

lri $AR1,    #0x4244
lri $IX1,    #0x278c
lri $WR1,    #0x6812
cw 0xd
call send_back  ; 50578 (0xc592)

lri $AR1,    #0x84ad
lri $IX1,    #0x0b3e
lri $WR1,    #0x71ba
cw 0xd
call send_back  ; 50579 (0xc593)

lri $AR1,    #0x53c6
lri $IX1,    #0x85e4
lri $WR1,    #0x2fda
cw 0xd
call send_back  ; 50580 (0xc594)

lri $AR1,    #0x8e70
lri $IX1,    #0x5c8c
lri $WR1,    #0xa765
cw 0xd
call send_back  ; 50581 (0xc595)

lri $AR1,    #0x5034
lri $IX1,    #0x1c88
lri $WR1,    #0x879d
cw 0xd
call send_back  ; 50582 (0xc596)

lri $AR1,    #0x7cdc
lri $IX1,    #0x1bf0
lri $WR1,    #0xb937
cw 0xd
call send_back  ; 50583 (0xc597)

lri $AR1,    #0xaba4
lri $IX1,    #0x032c
lri $WR1,    #0x3e17
cw 0xd
call send_back  ; 50584 (0xc598)

lri $AR1,    #0x98fb
lri $IX1,    #0x5d00
lri $WR1,    #0x89c1
cw 0xd
call send_back  ; 50585 (0xc599)

lri $AR1,    #0xa500
lri $IX1,    #0x85cc
lri $WR1,    #0x6820
cw 0xd
call send_back  ; 50586 (0xc59a)

lri $AR1,    #0x58b6
lri $IX1,    #0x6254
lri $WR1,    #0x5990
cw 0xd
call send_back  ; 50587 (0xc59b)

lri $AR1,    #0x5308
lri $IX1,    #0x69f6
lri $WR1,    #0x60d9
cw 0xd
call send_back  ; 50588 (0xc59c)

lri $AR1,    #0x3aa5
lri $IX1,    #0xa784
lri $WR1,    #0x791d
cw 0xd
call send_back  ; 50589 (0xc59d)

lri $AR1,    #0xc0da
lri $IX1,    #0x3f98
lri $WR1,    #0xa74d
cw 0xd
call send_back  ; 50590 (0xc59e)

lri $AR1,    #0xc553
lri $IX1,    #0xaac2
lri $WR1,    #0xbc34
cw 0xd
call send_back  ; 50591 (0xc59f)

lri $AR1,    #0xa1ff
lri $IX1,    #0x0542
lri $WR1,    #0x41a1
cw 0xd
call send_back  ; 50592 (0xc5a0)

lri $AR1,    #0x7204
lri $IX1,    #0x7dce
lri $WR1,    #0x96d7
cw 0xd
call send_back  ; 50593 (0xc5a1)

lri $AR1,    #0x25ee
lri $IX1,    #0xe7ee
lri $WR1,    #0x4db2
cw 0xd
call send_back  ; 50594 (0xc5a2)

lri $AR1,    #0x4b04
lri $IX1,    #0xa68c
lri $WR1,    #0x4bab
cw 0xd
call send_back  ; 50595 (0xc5a3)

lri $AR1,    #0x7312
lri $IX1,    #0x664a
lri $WR1,    #0x6745
cw 0xd
call send_back  ; 50596 (0xc5a4)

lri $AR1,    #0x8565
lri $IX1,    #0x570a
lri $WR1,    #0x93e2
cw 0xd
call send_back  ; 50597 (0xc5a5)

lri $AR1,    #0xd15a
lri $IX1,    #0x9f7e
lri $WR1,    #0x8baf
cw 0xd
call send_back  ; 50598 (0xc5a6)

lri $AR1,    #0x5e51
lri $IX1,    #0x84fe
lri $WR1,    #0x289a
cw 0xd
call send_back  ; 50599 (0xc5a7)

lri $AR1,    #0x0c3d
lri $IX1,    #0x157a
lri $WR1,    #0xa2f6
cw 0xd
call send_back  ; 50600 (0xc5a8)

lri $AR1,    #0x83ca
lri $IX1,    #0xe8de
lri $WR1,    #0x95cd
cw 0xd
call send_back  ; 50601 (0xc5a9)

lri $AR1,    #0x943d
lri $IX1,    #0xaab6
lri $WR1,    #0x5681
cw 0xd
call send_back  ; 50602 (0xc5aa)

lri $AR1,    #0xd0f9
lri $IX1,    #0x6c5a
lri $WR1,    #0x3eb7
cw 0xd
call send_back  ; 50603 (0xc5ab)

lri $AR1,    #0x67f7
lri $IX1,    #0x237e
lri $WR1,    #0x5d39
cw 0xd
call send_back  ; 50604 (0xc5ac)

lri $AR1,    #0xa5f1
lri $IX1,    #0x106c
lri $WR1,    #0x7bbd
cw 0xd
call send_back  ; 50605 (0xc5ad)

lri $AR1,    #0x4ca6
lri $IX1,    #0xf2ba
lri $WR1,    #0x653a
cw 0xd
call send_back  ; 50606 (0xc5ae)

lri $AR1,    #0x22f6
lri $IX1,    #0xd2da
lri $WR1,    #0x39d5
cw 0xd
call send_back  ; 50607 (0xc5af)

lri $AR1,    #0xde2e
lri $IX1,    #0x9a36
lri $WR1,    #0xc2f0
cw 0xd
call send_back  ; 50608 (0xc5b0)

lri $AR1,    #0x8f4d
lri $IX1,    #0x9b48
lri $WR1,    #0x8370
cw 0xd
call send_back  ; 50609 (0xc5b1)

lri $AR1,    #0x7ea1
lri $IX1,    #0x6668
lri $WR1,    #0x8dc7
cw 0xd
call send_back  ; 50610 (0xc5b2)

lri $AR1,    #0x3379
lri $IX1,    #0xb7b0
lri $WR1,    #0xdadd
cw 0xd
call send_back  ; 50611 (0xc5b3)

lri $AR1,    #0xad49
lri $IX1,    #0xcdba
lri $WR1,    #0xd250
cw 0xd
call send_back  ; 50612 (0xc5b4)

lri $AR1,    #0x6f0b
lri $IX1,    #0xf07e
lri $WR1,    #0x4e39
cw 0xd
call send_back  ; 50613 (0xc5b5)

lri $AR1,    #0x4d2f
lri $IX1,    #0x3b50
lri $WR1,    #0x81ea
cw 0xd
call send_back  ; 50614 (0xc5b6)

lri $AR1,    #0x51e8
lri $IX1,    #0xbc08
lri $WR1,    #0xacce
cw 0xd
call send_back  ; 50615 (0xc5b7)

lri $AR1,    #0x6325
lri $IX1,    #0x8d58
lri $WR1,    #0x47e8
cw 0xd
call send_back  ; 50616 (0xc5b8)

lri $AR1,    #0x810f
lri $IX1,    #0x9998
lri $WR1,    #0x4606
cw 0xd
call send_back  ; 50617 (0xc5b9)

lri $AR1,    #0xd34b
lri $IX1,    #0x0ec2
lri $WR1,    #0x6c3f
cw 0xd
call send_back  ; 50618 (0xc5ba)

lri $AR1,    #0xaee4
lri $IX1,    #0x1c00
lri $WR1,    #0x99c5
cw 0xd
call send_back  ; 50619 (0xc5bb)

lri $AR1,    #0x261a
lri $IX1,    #0x349a
lri $WR1,    #0x6ba2
cw 0xd
call send_back  ; 50620 (0xc5bc)

lri $AR1,    #0x6ef6
lri $IX1,    #0xab94
lri $WR1,    #0xe25d
cw 0xd
call send_back  ; 50621 (0xc5bd)

lri $AR1,    #0xdce8
lri $IX1,    #0xe6c2
lri $WR1,    #0x6d38
cw 0xd
call send_back  ; 50622 (0xc5be)

lri $AR1,    #0x2d46
lri $IX1,    #0x87b6
lri $WR1,    #0x5ff1
cw 0xd
call send_back  ; 50623 (0xc5bf)

lri $AR1,    #0x5df5
lri $IX1,    #0x9c40
lri $WR1,    #0xbdba
cw 0xd
call send_back  ; 50624 (0xc5c0)

lri $AR1,    #0x9112
lri $IX1,    #0x0fe6
lri $WR1,    #0x4d5c
cw 0xd
call send_back  ; 50625 (0xc5c1)

lri $AR1,    #0x7fef
lri $IX1,    #0x130a
lri $WR1,    #0xf821
cw 0xd
call send_back  ; 50626 (0xc5c2)

lri $AR1,    #0x931d
lri $IX1,    #0xdc3c
lri $WR1,    #0x669b
cw 0xd
call send_back  ; 50627 (0xc5c3)

lri $AR1,    #0xbcfb
lri $IX1,    #0xeb44
lri $WR1,    #0x83ca
cw 0xd
call send_back  ; 50628 (0xc5c4)

lri $AR1,    #0x8f72
lri $IX1,    #0xad7c
lri $WR1,    #0x68b7
cw 0xd
call send_back  ; 50629 (0xc5c5)

lri $AR1,    #0x9541
lri $IX1,    #0xee10
lri $WR1,    #0x901e
cw 0xd
call send_back  ; 50630 (0xc5c6)

lri $AR1,    #0x9ab2
lri $IX1,    #0xbc9a
lri $WR1,    #0x7326
cw 0xd
call send_back  ; 50631 (0xc5c7)

lri $AR1,    #0x28ed
lri $IX1,    #0x47d4
lri $WR1,    #0x35bf
cw 0xd
call send_back  ; 50632 (0xc5c8)

lri $AR1,    #0x62d9
lri $IX1,    #0x71be
lri $WR1,    #0xb2bb
cw 0xd
call send_back  ; 50633 (0xc5c9)

lri $AR1,    #0x11bc
lri $IX1,    #0x7e00
lri $WR1,    #0xe52a
cw 0xd
call send_back  ; 50634 (0xc5ca)

lri $AR1,    #0x6386
lri $IX1,    #0x0ad4
lri $WR1,    #0xbe0a
cw 0xd
call send_back  ; 50635 (0xc5cb)

lri $AR1,    #0x8400
lri $IX1,    #0x6858
lri $WR1,    #0x4ae1
cw 0xd
call send_back  ; 50636 (0xc5cc)

lri $AR1,    #0xb5c3
lri $IX1,    #0x398a
lri $WR1,    #0x8b4e
cw 0xd
call send_back  ; 50637 (0xc5cd)

lri $AR1,    #0x3f2f
lri $IX1,    #0xf5be
lri $WR1,    #0x5117
cw 0xd
call send_back  ; 50638 (0xc5ce)

lri $AR1,    #0x4350
lri $IX1,    #0x40e4
lri $WR1,    #0x67d7
cw 0xd
call send_back  ; 50639 (0xc5cf)

lri $AR1,    #0x55e2
lri $IX1,    #0x0472
lri $WR1,    #0x66d0
cw 0xd
call send_back  ; 50640 (0xc5d0)

lri $AR1,    #0x2565
lri $IX1,    #0x9a36
lri $WR1,    #0xd8ed
cw 0xd
call send_back  ; 50641 (0xc5d1)

lri $AR1,    #0x5566
lri $IX1,    #0x15e6
lri $WR1,    #0x3491
cw 0xd
call send_back  ; 50642 (0xc5d2)

lri $AR1,    #0x76ff
lri $IX1,    #0xa9bc
lri $WR1,    #0x4e39
cw 0xd
call send_back  ; 50643 (0xc5d3)

lri $AR1,    #0xd4ba
lri $IX1,    #0x25fa
lri $WR1,    #0x6683
cw 0xd
call send_back  ; 50644 (0xc5d4)

lri $AR1,    #0xe2aa
lri $IX1,    #0x8a92
lri $WR1,    #0x8dae
cw 0xd
call send_back  ; 50645 (0xc5d5)

lri $AR1,    #0x7322
lri $IX1,    #0x6dcc
lri $WR1,    #0xb41c
cw 0xd
call send_back  ; 50646 (0xc5d6)

lri $AR1,    #0xb3c0
lri $IX1,    #0x7a46
lri $WR1,    #0xc0f0
cw 0xd
call send_back  ; 50647 (0xc5d7)

lri $AR1,    #0x4e26
lri $IX1,    #0x59fe
lri $WR1,    #0xcd48
cw 0xd
call send_back  ; 50648 (0xc5d8)

lri $AR1,    #0xb337
lri $IX1,    #0xebe0
lri $WR1,    #0x8c3d
cw 0xd
call send_back  ; 50649 (0xc5d9)

lri $AR1,    #0x771d
lri $IX1,    #0x7c7e
lri $WR1,    #0x5512
cw 0xd
call send_back  ; 50650 (0xc5da)

lri $AR1,    #0x97ee
lri $IX1,    #0xca66
lri $WR1,    #0x96d4
cw 0xd
call send_back  ; 50651 (0xc5db)

lri $AR1,    #0x703a
lri $IX1,    #0xc1ca
lri $WR1,    #0x91c8
cw 0xd
call send_back  ; 50652 (0xc5dc)

lri $AR1,    #0xd269
lri $IX1,    #0xf2e2
lri $WR1,    #0x6cdf
cw 0xd
call send_back  ; 50653 (0xc5dd)

lri $AR1,    #0x390c
lri $IX1,    #0xb1be
lri $WR1,    #0x7aa7
cw 0xd
call send_back  ; 50654 (0xc5de)

lri $AR1,    #0x7c24
lri $IX1,    #0x6df4
lri $WR1,    #0xa2d8
cw 0xd
call send_back  ; 50655 (0xc5df)

lri $AR1,    #0x7288
lri $IX1,    #0x03da
lri $WR1,    #0x4b01
cw 0xd
call send_back  ; 50656 (0xc5e0)

lri $AR1,    #0xb253
lri $IX1,    #0x70cc
lri $WR1,    #0xa273
cw 0xd
call send_back  ; 50657 (0xc5e1)

lri $AR1,    #0xa297
lri $IX1,    #0x4f0a
lri $WR1,    #0xc2e6
cw 0xd
call send_back  ; 50658 (0xc5e2)

lri $AR1,    #0xa431
lri $IX1,    #0xadc2
lri $WR1,    #0x8904
cw 0xd
call send_back  ; 50659 (0xc5e3)

lri $AR1,    #0x9f14
lri $IX1,    #0x1cea
lri $WR1,    #0xbd4b
cw 0xd
call send_back  ; 50660 (0xc5e4)

lri $AR1,    #0x9cc2
lri $IX1,    #0xfc4e
lri $WR1,    #0x7f6d
cw 0xd
call send_back  ; 50661 (0xc5e5)

lri $AR1,    #0x2860
lri $IX1,    #0x2896
lri $WR1,    #0x43b3
cw 0xd
call send_back  ; 50662 (0xc5e6)

lri $AR1,    #0x501f
lri $IX1,    #0xe09c
lri $WR1,    #0x737c
cw 0xd
call send_back  ; 50663 (0xc5e7)

lri $AR1,    #0x3b5d
lri $IX1,    #0x10e8
lri $WR1,    #0x4755
cw 0xd
call send_back  ; 50664 (0xc5e8)

lri $AR1,    #0x343b
lri $IX1,    #0xfa8e
lri $WR1,    #0x1ada
cw 0xd
call send_back  ; 50665 (0xc5e9)

lri $AR1,    #0xa302
lri $IX1,    #0x464c
lri $WR1,    #0xa7c8
cw 0xd
call send_back  ; 50666 (0xc5ea)

lri $AR1,    #0xad2d
lri $IX1,    #0xe444
lri $WR1,    #0xa774
cw 0xd
call send_back  ; 50667 (0xc5eb)

lri $AR1,    #0xd159
lri $IX1,    #0x7bfe
lri $WR1,    #0xaf26
cw 0xd
call send_back  ; 50668 (0xc5ec)

lri $AR1,    #0x54f8
lri $IX1,    #0x8828
lri $WR1,    #0x1560
cw 0xd
call send_back  ; 50669 (0xc5ed)

lri $AR1,    #0x880f
lri $IX1,    #0x64d4
lri $WR1,    #0x2bb9
cw 0xd
call send_back  ; 50670 (0xc5ee)

lri $AR1,    #0x26d3
lri $IX1,    #0x7674
lri $WR1,    #0x7a43
cw 0xd
call send_back  ; 50671 (0xc5ef)

lri $AR1,    #0x5876
lri $IX1,    #0x038a
lri $WR1,    #0xcf1e
cw 0xd
call send_back  ; 50672 (0xc5f0)

lri $AR1,    #0xd5f0
lri $IX1,    #0x4236
lri $WR1,    #0xbe3d
cw 0xd
call send_back  ; 50673 (0xc5f1)

lri $AR1,    #0x8311
lri $IX1,    #0x5688
lri $WR1,    #0x7af1
cw 0xd
call send_back  ; 50674 (0xc5f2)

lri $AR1,    #0x97c2
lri $IX1,    #0x6dde
lri $WR1,    #0x264f
cw 0xd
call send_back  ; 50675 (0xc5f3)

lri $AR1,    #0x3e9b
lri $IX1,    #0xa726
lri $WR1,    #0xa2f3
cw 0xd
call send_back  ; 50676 (0xc5f4)

lri $AR1,    #0x29cc
lri $IX1,    #0xef44
lri $WR1,    #0x9844
cw 0xd
call send_back  ; 50677 (0xc5f5)

lri $AR1,    #0x6e8c
lri $IX1,    #0x447c
lri $WR1,    #0x6cb4
cw 0xd
call send_back  ; 50678 (0xc5f6)

lri $AR1,    #0xdae2
lri $IX1,    #0xd32c
lri $WR1,    #0x8019
cw 0xd
call send_back  ; 50679 (0xc5f7)

lri $AR1,    #0x5125
lri $IX1,    #0xf1a2
lri $WR1,    #0xb4b5
cw 0xd
call send_back  ; 50680 (0xc5f8)

lri $AR1,    #0x5ff3
lri $IX1,    #0x0858
lri $WR1,    #0x3ee4
cw 0xd
call send_back  ; 50681 (0xc5f9)

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