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

lri $AR1,    #0x1794
lri $IX1,    #0x737e
lri $WR1,    #0xab65
cw 0xd
call send_back  ; 36701 (0x8f5d)

lri $AR1,    #0x722a
lri $IX1,    #0x6586
lri $WR1,    #0xc54a
cw 0xd
call send_back  ; 36702 (0x8f5e)

lri $AR1,    #0x77ea
lri $IX1,    #0x8848
lri $WR1,    #0xde73
cw 0xd
call send_back  ; 36703 (0x8f5f)

lri $AR1,    #0x47d1
lri $IX1,    #0xe964
lri $WR1,    #0x70a5
cw 0xd
call send_back  ; 36704 (0x8f60)

lri $AR1,    #0xc67b
lri $IX1,    #0xb0d0
lri $WR1,    #0x9342
cw 0xd
call send_back  ; 36705 (0x8f61)

lri $AR1,    #0x50df
lri $IX1,    #0xc5d8
lri $WR1,    #0x20f9
cw 0xd
call send_back  ; 36706 (0x8f62)

lri $AR1,    #0xde21
lri $IX1,    #0x680a
lri $WR1,    #0x4d46
cw 0xd
call send_back  ; 36707 (0x8f63)

lri $AR1,    #0x9dd5
lri $IX1,    #0xd424
lri $WR1,    #0x825b
cw 0xd
call send_back  ; 36708 (0x8f64)

lri $AR1,    #0x7b80
lri $IX1,    #0x4412
lri $WR1,    #0xb97e
cw 0xd
call send_back  ; 36709 (0x8f65)

lri $AR1,    #0x7fac
lri $IX1,    #0xa500
lri $WR1,    #0x5d6e
cw 0xd
call send_back  ; 36710 (0x8f66)

lri $AR1,    #0x2a50
lri $IX1,    #0x1db0
lri $WR1,    #0x87db
cw 0xd
call send_back  ; 36711 (0x8f67)

lri $AR1,    #0x79ec
lri $IX1,    #0xd2ec
lri $WR1,    #0xf089
cw 0xd
call send_back  ; 36712 (0x8f68)

lri $AR1,    #0xbe25
lri $IX1,    #0x1f68
lri $WR1,    #0x8e26
cw 0xd
call send_back  ; 36713 (0x8f69)

lri $AR1,    #0xf429
lri $IX1,    #0x8fee
lri $WR1,    #0x9663
cw 0xd
call send_back  ; 36714 (0x8f6a)

lri $AR1,    #0x9eb7
lri $IX1,    #0x43fc
lri $WR1,    #0x1c6a
cw 0xd
call send_back  ; 36715 (0x8f6b)

lri $AR1,    #0xb310
lri $IX1,    #0xb6e2
lri $WR1,    #0xe237
cw 0xd
call send_back  ; 36716 (0x8f6c)

lri $AR1,    #0x2fa9
lri $IX1,    #0x4c72
lri $WR1,    #0xeade
cw 0xd
call send_back  ; 36717 (0x8f6d)

lri $AR1,    #0xa0ea
lri $IX1,    #0x2842
lri $WR1,    #0xd96c
cw 0xd
call send_back  ; 36718 (0x8f6e)

lri $AR1,    #0x9bce
lri $IX1,    #0xb5a6
lri $WR1,    #0x8947
cw 0xd
call send_back  ; 36719 (0x8f6f)

lri $AR1,    #0x6dac
lri $IX1,    #0xba68
lri $WR1,    #0x72c2
cw 0xd
call send_back  ; 36720 (0x8f70)

lri $AR1,    #0x4bfc
lri $IX1,    #0xb548
lri $WR1,    #0xb7e5
cw 0xd
call send_back  ; 36721 (0x8f71)

lri $AR1,    #0x8e77
lri $IX1,    #0x855a
lri $WR1,    #0x82f5
cw 0xd
call send_back  ; 36722 (0x8f72)

lri $AR1,    #0x5146
lri $IX1,    #0xc664
lri $WR1,    #0x11da
cw 0xd
call send_back  ; 36723 (0x8f73)

lri $AR1,    #0xa4a8
lri $IX1,    #0xd214
lri $WR1,    #0xbee4
cw 0xd
call send_back  ; 36724 (0x8f74)

lri $AR1,    #0x8ace
lri $IX1,    #0xcd74
lri $WR1,    #0x710e
cw 0xd
call send_back  ; 36725 (0x8f75)

lri $AR1,    #0x5455
lri $IX1,    #0x754c
lri $WR1,    #0x7b3f
cw 0xd
call send_back  ; 36726 (0x8f76)

lri $AR1,    #0x4f08
lri $IX1,    #0x5bde
lri $WR1,    #0x73a2
cw 0xd
call send_back  ; 36727 (0x8f77)

lri $AR1,    #0x9261
lri $IX1,    #0xddba
lri $WR1,    #0x51ab
cw 0xd
call send_back  ; 36728 (0x8f78)

lri $AR1,    #0x6083
lri $IX1,    #0x1afe
lri $WR1,    #0x8ac9
cw 0xd
call send_back  ; 36729 (0x8f79)

lri $AR1,    #0x71fd
lri $IX1,    #0x9de2
lri $WR1,    #0xd368
cw 0xd
call send_back  ; 36730 (0x8f7a)

lri $AR1,    #0xf632
lri $IX1,    #0xe6b6
lri $WR1,    #0x7b3b
cw 0xd
call send_back  ; 36731 (0x8f7b)

lri $AR1,    #0x79af
lri $IX1,    #0xb95e
lri $WR1,    #0x717d
cw 0xd
call send_back  ; 36732 (0x8f7c)

lri $AR1,    #0x1f35
lri $IX1,    #0x9f66
lri $WR1,    #0x371a
cw 0xd
call send_back  ; 36733 (0x8f7d)

lri $AR1,    #0x87df
lri $IX1,    #0x7da0
lri $WR1,    #0x4261
cw 0xd
call send_back  ; 36734 (0x8f7e)

lri $AR1,    #0xca1e
lri $IX1,    #0x3b86
lri $WR1,    #0x7955
cw 0xd
call send_back  ; 36735 (0x8f7f)

lri $AR1,    #0x4edf
lri $IX1,    #0x2e42
lri $WR1,    #0x4d1c
cw 0xd
call send_back  ; 36736 (0x8f80)

lri $AR1,    #0xb7ba
lri $IX1,    #0x20a2
lri $WR1,    #0x8a9d
cw 0xd
call send_back  ; 36737 (0x8f81)

lri $AR1,    #0x7069
lri $IX1,    #0x4cc6
lri $WR1,    #0x81f5
cw 0xd
call send_back  ; 36738 (0x8f82)

lri $AR1,    #0xa15b
lri $IX1,    #0x4be2
lri $WR1,    #0x97bb
cw 0xd
call send_back  ; 36739 (0x8f83)

lri $AR1,    #0xc0b7
lri $IX1,    #0xc3e0
lri $WR1,    #0x889c
cw 0xd
call send_back  ; 36740 (0x8f84)

lri $AR1,    #0x5a9e
lri $IX1,    #0x521e
lri $WR1,    #0x8188
cw 0xd
call send_back  ; 36741 (0x8f85)

lri $AR1,    #0x38fc
lri $IX1,    #0xbe44
lri $WR1,    #0x8bca
cw 0xd
call send_back  ; 36742 (0x8f86)

lri $AR1,    #0x36b2
lri $IX1,    #0xbf54
lri $WR1,    #0x8e4c
cw 0xd
call send_back  ; 36743 (0x8f87)

lri $AR1,    #0xa176
lri $IX1,    #0x70e6
lri $WR1,    #0x2a6f
cw 0xd
call send_back  ; 36744 (0x8f88)

lri $AR1,    #0x7925
lri $IX1,    #0xddc2
lri $WR1,    #0x64a9
cw 0xd
call send_back  ; 36745 (0x8f89)

lri $AR1,    #0x7af1
lri $IX1,    #0xa0c8
lri $WR1,    #0x3659
cw 0xd
call send_back  ; 36746 (0x8f8a)

lri $AR1,    #0x9a24
lri $IX1,    #0x6c5e
lri $WR1,    #0xb801
cw 0xd
call send_back  ; 36747 (0x8f8b)

lri $AR1,    #0x2fd2
lri $IX1,    #0x2c3c
lri $WR1,    #0x685b
cw 0xd
call send_back  ; 36748 (0x8f8c)

lri $AR1,    #0xa64b
lri $IX1,    #0x4cea
lri $WR1,    #0x8e64
cw 0xd
call send_back  ; 36749 (0x8f8d)

lri $AR1,    #0x949b
lri $IX1,    #0x5fb6
lri $WR1,    #0x31f6
cw 0xd
call send_back  ; 36750 (0x8f8e)

lri $AR1,    #0x81e8
lri $IX1,    #0xb178
lri $WR1,    #0x87ee
cw 0xd
call send_back  ; 36751 (0x8f8f)

lri $AR1,    #0x3ff9
lri $IX1,    #0x5e04
lri $WR1,    #0x5480
cw 0xd
call send_back  ; 36752 (0x8f90)

lri $AR1,    #0x57c5
lri $IX1,    #0xd170
lri $WR1,    #0x8fb8
cw 0xd
call send_back  ; 36753 (0x8f91)

lri $AR1,    #0x4245
lri $IX1,    #0x642a
lri $WR1,    #0xe5cc
cw 0xd
call send_back  ; 36754 (0x8f92)

lri $AR1,    #0x7b6f
lri $IX1,    #0xae18
lri $WR1,    #0x5e3a
cw 0xd
call send_back  ; 36755 (0x8f93)

lri $AR1,    #0xc492
lri $IX1,    #0x3096
lri $WR1,    #0x6a54
cw 0xd
call send_back  ; 36756 (0x8f94)

lri $AR1,    #0x86ff
lri $IX1,    #0xeea0
lri $WR1,    #0x3539
cw 0xd
call send_back  ; 36757 (0x8f95)

lri $AR1,    #0x9731
lri $IX1,    #0x55f8
lri $WR1,    #0xacde
cw 0xd
call send_back  ; 36758 (0x8f96)

lri $AR1,    #0x7c60
lri $IX1,    #0x5ba6
lri $WR1,    #0x3d28
cw 0xd
call send_back  ; 36759 (0x8f97)

lri $AR1,    #0x37ba
lri $IX1,    #0xc182
lri $WR1,    #0x7ba7
cw 0xd
call send_back  ; 36760 (0x8f98)

lri $AR1,    #0xb21c
lri $IX1,    #0x0240
lri $WR1,    #0x6c15
cw 0xd
call send_back  ; 36761 (0x8f99)

lri $AR1,    #0x5697
lri $IX1,    #0x3cae
lri $WR1,    #0x7308
cw 0xd
call send_back  ; 36762 (0x8f9a)

lri $AR1,    #0x539d
lri $IX1,    #0x8684
lri $WR1,    #0x5e0f
cw 0xd
call send_back  ; 36763 (0x8f9b)

lri $AR1,    #0x6408
lri $IX1,    #0x328e
lri $WR1,    #0x7da0
cw 0xd
call send_back  ; 36764 (0x8f9c)

lri $AR1,    #0x3cfa
lri $IX1,    #0xad8e
lri $WR1,    #0x8710
cw 0xd
call send_back  ; 36765 (0x8f9d)

lri $AR1,    #0xacad
lri $IX1,    #0x808e
lri $WR1,    #0xb1fd
cw 0xd
call send_back  ; 36766 (0x8f9e)

lri $AR1,    #0x7a3d
lri $IX1,    #0xa70c
lri $WR1,    #0xa661
cw 0xd
call send_back  ; 36767 (0x8f9f)

lri $AR1,    #0x8d8b
lri $IX1,    #0x9abe
lri $WR1,    #0xb5bf
cw 0xd
call send_back  ; 36768 (0x8fa0)

lri $AR1,    #0xb22d
lri $IX1,    #0x1e42
lri $WR1,    #0xe388
cw 0xd
call send_back  ; 36769 (0x8fa1)

lri $AR1,    #0xc79b
lri $IX1,    #0xcb96
lri $WR1,    #0x4e48
cw 0xd
call send_back  ; 36770 (0x8fa2)

lri $AR1,    #0xc491
lri $IX1,    #0x9a92
lri $WR1,    #0x7ca9
cw 0xd
call send_back  ; 36771 (0x8fa3)

lri $AR1,    #0x7ac9
lri $IX1,    #0xd748
lri $WR1,    #0xc6db
cw 0xd
call send_back  ; 36772 (0x8fa4)

lri $AR1,    #0x6400
lri $IX1,    #0x378a
lri $WR1,    #0x6e73
cw 0xd
call send_back  ; 36773 (0x8fa5)

lri $AR1,    #0x5083
lri $IX1,    #0xca7a
lri $WR1,    #0x544c
cw 0xd
call send_back  ; 36774 (0x8fa6)

lri $AR1,    #0x7321
lri $IX1,    #0x3c60
lri $WR1,    #0x7d86
cw 0xd
call send_back  ; 36775 (0x8fa7)

lri $AR1,    #0xddbf
lri $IX1,    #0x3c9c
lri $WR1,    #0x9e23
cw 0xd
call send_back  ; 36776 (0x8fa8)

lri $AR1,    #0x6d78
lri $IX1,    #0x9b0a
lri $WR1,    #0x895c
cw 0xd
call send_back  ; 36777 (0x8fa9)

lri $AR1,    #0xc480
lri $IX1,    #0xcda6
lri $WR1,    #0x1545
cw 0xd
call send_back  ; 36778 (0x8faa)

lri $AR1,    #0xa3ad
lri $IX1,    #0xdeb8
lri $WR1,    #0x90b3
cw 0xd
call send_back  ; 36779 (0x8fab)

lri $AR1,    #0x9ce4
lri $IX1,    #0x2762
lri $WR1,    #0xc01e
cw 0xd
call send_back  ; 36780 (0x8fac)

lri $AR1,    #0x9352
lri $IX1,    #0x91e2
lri $WR1,    #0x4f6c
cw 0xd
call send_back  ; 36781 (0x8fad)

lri $AR1,    #0x2da4
lri $IX1,    #0x4a3c
lri $WR1,    #0x2446
cw 0xd
call send_back  ; 36782 (0x8fae)

lri $AR1,    #0xa22d
lri $IX1,    #0xa3d2
lri $WR1,    #0xddff
cw 0xd
call send_back  ; 36783 (0x8faf)

lri $AR1,    #0x7c26
lri $IX1,    #0x6d7e
lri $WR1,    #0xf5aa
cw 0xd
call send_back  ; 36784 (0x8fb0)

lri $AR1,    #0x8501
lri $IX1,    #0xd5a8
lri $WR1,    #0xba5d
cw 0xd
call send_back  ; 36785 (0x8fb1)

lri $AR1,    #0x3bfa
lri $IX1,    #0x3b1c
lri $WR1,    #0xb339
cw 0xd
call send_back  ; 36786 (0x8fb2)

lri $AR1,    #0x19d2
lri $IX1,    #0xb6e4
lri $WR1,    #0xa256
cw 0xd
call send_back  ; 36787 (0x8fb3)

lri $AR1,    #0xa5ec
lri $IX1,    #0xaf04
lri $WR1,    #0x5901
cw 0xd
call send_back  ; 36788 (0x8fb4)

lri $AR1,    #0x7db2
lri $IX1,    #0x396a
lri $WR1,    #0xa784
cw 0xd
call send_back  ; 36789 (0x8fb5)

lri $AR1,    #0xbe84
lri $IX1,    #0x61d8
lri $WR1,    #0x4fe3
cw 0xd
call send_back  ; 36790 (0x8fb6)

lri $AR1,    #0xa604
lri $IX1,    #0x6514
lri $WR1,    #0xe4b7
cw 0xd
call send_back  ; 36791 (0x8fb7)

lri $AR1,    #0x9413
lri $IX1,    #0x8744
lri $WR1,    #0xc2b1
cw 0xd
call send_back  ; 36792 (0x8fb8)

lri $AR1,    #0xc549
lri $IX1,    #0x32b0
lri $WR1,    #0x3cd1
cw 0xd
call send_back  ; 36793 (0x8fb9)

lri $AR1,    #0x7c3b
lri $IX1,    #0x67be
lri $WR1,    #0x80de
cw 0xd
call send_back  ; 36794 (0x8fba)

lri $AR1,    #0x4363
lri $IX1,    #0x1688
lri $WR1,    #0x8b3c
cw 0xd
call send_back  ; 36795 (0x8fbb)

lri $AR1,    #0x58f2
lri $IX1,    #0x9dca
lri $WR1,    #0x16a1
cw 0xd
call send_back  ; 36796 (0x8fbc)

lri $AR1,    #0x9162
lri $IX1,    #0x4276
lri $WR1,    #0xadc7
cw 0xd
call send_back  ; 36797 (0x8fbd)

lri $AR1,    #0x6d12
lri $IX1,    #0xded0
lri $WR1,    #0x429e
cw 0xd
call send_back  ; 36798 (0x8fbe)

lri $AR1,    #0x20c8
lri $IX1,    #0x275a
lri $WR1,    #0xd017
cw 0xd
call send_back  ; 36799 (0x8fbf)

lri $AR1,    #0xc859
lri $IX1,    #0x9754
lri $WR1,    #0x7111
cw 0xd
call send_back  ; 36800 (0x8fc0)

lri $AR1,    #0x4652
lri $IX1,    #0x3e32
lri $WR1,    #0x6085
cw 0xd
call send_back  ; 36801 (0x8fc1)

lri $AR1,    #0x52f4
lri $IX1,    #0x22ca
lri $WR1,    #0x646f
cw 0xd
call send_back  ; 36802 (0x8fc2)

lri $AR1,    #0x5042
lri $IX1,    #0xa09a
lri $WR1,    #0x1691
cw 0xd
call send_back  ; 36803 (0x8fc3)

lri $AR1,    #0x808a
lri $IX1,    #0xe6da
lri $WR1,    #0x3397
cw 0xd
call send_back  ; 36804 (0x8fc4)

lri $AR1,    #0x9825
lri $IX1,    #0x78d4
lri $WR1,    #0x72bf
cw 0xd
call send_back  ; 36805 (0x8fc5)

lri $AR1,    #0xb2c2
lri $IX1,    #0x1a24
lri $WR1,    #0x4573
cw 0xd
call send_back  ; 36806 (0x8fc6)

lri $AR1,    #0x581a
lri $IX1,    #0xd154
lri $WR1,    #0x200a
cw 0xd
call send_back  ; 36807 (0x8fc7)

lri $AR1,    #0xd347
lri $IX1,    #0x7e8e
lri $WR1,    #0x7223
cw 0xd
call send_back  ; 36808 (0x8fc8)

lri $AR1,    #0x8b9e
lri $IX1,    #0xcbc2
lri $WR1,    #0x1ec2
cw 0xd
call send_back  ; 36809 (0x8fc9)

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