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

lri $AR1,    #0x7a83
lri $IX1,    #0x0baa
lri $WR1,    #0xac37
cw 0xd
call send_back  ; 32769 (0x8001)

lri $AR1,    #0x4a52
lri $IX1,    #0xf5c2
lri $WR1,    #0x7994
cw 0xd
call send_back  ; 32770 (0x8002)

lri $AR1,    #0x8026
lri $IX1,    #0x83bc
lri $WR1,    #0x97a3
cw 0xd
call send_back  ; 32771 (0x8003)

lri $AR1,    #0x74f5
lri $IX1,    #0x8caa
lri $WR1,    #0x6791
cw 0xd
call send_back  ; 32772 (0x8004)

lri $AR1,    #0x2bcd
lri $IX1,    #0x543a
lri $WR1,    #0x1b67
cw 0xd
call send_back  ; 32773 (0x8005)

lri $AR1,    #0x34a3
lri $IX1,    #0xd07e
lri $WR1,    #0x692f
cw 0xd
call send_back  ; 32774 (0x8006)

lri $AR1,    #0x8288
lri $IX1,    #0x8a06
lri $WR1,    #0xbb2c
cw 0xd
call send_back  ; 32775 (0x8007)

lri $AR1,    #0x5878
lri $IX1,    #0xf412
lri $WR1,    #0x63be
cw 0xd
call send_back  ; 32776 (0x8008)

lri $AR1,    #0xdbc1
lri $IX1,    #0x623a
lri $WR1,    #0x84f5
cw 0xd
call send_back  ; 32777 (0x8009)

lri $AR1,    #0x7a20
lri $IX1,    #0x5c48
lri $WR1,    #0x896d
cw 0xd
call send_back  ; 32778 (0x800a)

lri $AR1,    #0x858b
lri $IX1,    #0xe0ae
lri $WR1,    #0x1d84
cw 0xd
call send_back  ; 32779 (0x800b)

lri $AR1,    #0x0ee0
lri $IX1,    #0x0952
lri $WR1,    #0x6d6d
cw 0xd
call send_back  ; 32780 (0x800c)

lri $AR1,    #0x845d
lri $IX1,    #0x5e06
lri $WR1,    #0x6645
cw 0xd
call send_back  ; 32781 (0x800d)

lri $AR1,    #0xc81b
lri $IX1,    #0xcb84
lri $WR1,    #0x35a0
cw 0xd
call send_back  ; 32782 (0x800e)

lri $AR1,    #0x3668
lri $IX1,    #0x9532
lri $WR1,    #0x24b9
cw 0xd
call send_back  ; 32783 (0x800f)

lri $AR1,    #0xcb5b
lri $IX1,    #0x8b8c
lri $WR1,    #0x91bd
cw 0xd
call send_back  ; 32784 (0x8010)

lri $AR1,    #0xa255
lri $IX1,    #0x3878
lri $WR1,    #0x1356
cw 0xd
call send_back  ; 32785 (0x8011)

lri $AR1,    #0x49dc
lri $IX1,    #0x6e4e
lri $WR1,    #0x9ff5
cw 0xd
call send_back  ; 32786 (0x8012)

lri $AR1,    #0xb991
lri $IX1,    #0x9600
lri $WR1,    #0x43f6
cw 0xd
call send_back  ; 32787 (0x8013)

lri $AR1,    #0x7f90
lri $IX1,    #0x1c18
lri $WR1,    #0x6723
cw 0xd
call send_back  ; 32788 (0x8014)

lri $AR1,    #0x5615
lri $IX1,    #0x53da
lri $WR1,    #0x3bbc
cw 0xd
call send_back  ; 32789 (0x8015)

lri $AR1,    #0x21a7
lri $IX1,    #0xf37a
lri $WR1,    #0x8e6e
cw 0xd
call send_back  ; 32790 (0x8016)

lri $AR1,    #0x3bac
lri $IX1,    #0xcb86
lri $WR1,    #0xb07c
cw 0xd
call send_back  ; 32791 (0x8017)

lri $AR1,    #0xc49c
lri $IX1,    #0x6f84
lri $WR1,    #0x7a72
cw 0xd
call send_back  ; 32792 (0x8018)

lri $AR1,    #0xe4c0
lri $IX1,    #0x0cf6
lri $WR1,    #0x4fa3
cw 0xd
call send_back  ; 32793 (0x8019)

lri $AR1,    #0xc1b6
lri $IX1,    #0x8996
lri $WR1,    #0x77e7
cw 0xd
call send_back  ; 32794 (0x801a)

lri $AR1,    #0x629b
lri $IX1,    #0x1124
lri $WR1,    #0x76a3
cw 0xd
call send_back  ; 32795 (0x801b)

lri $AR1,    #0xa417
lri $IX1,    #0x5e9c
lri $WR1,    #0x1bce
cw 0xd
call send_back  ; 32796 (0x801c)

lri $AR1,    #0x1933
lri $IX1,    #0x240a
lri $WR1,    #0x44d4
cw 0xd
call send_back  ; 32797 (0x801d)

lri $AR1,    #0xa53b
lri $IX1,    #0xdfe4
lri $WR1,    #0x8112
cw 0xd
call send_back  ; 32798 (0x801e)

lri $AR1,    #0x9e75
lri $IX1,    #0x0e34
lri $WR1,    #0x6ede
cw 0xd
call send_back  ; 32799 (0x801f)

lri $AR1,    #0x410d
lri $IX1,    #0xd75c
lri $WR1,    #0x8bb7
cw 0xd
call send_back  ; 32800 (0x8020)

lri $AR1,    #0x8504
lri $IX1,    #0x05c8
lri $WR1,    #0x3ba9
cw 0xd
call send_back  ; 32801 (0x8021)

lri $AR1,    #0xe961
lri $IX1,    #0x0762
lri $WR1,    #0x597c
cw 0xd
call send_back  ; 32802 (0x8022)

lri $AR1,    #0x5a8a
lri $IX1,    #0xef0a
lri $WR1,    #0x92b7
cw 0xd
call send_back  ; 32803 (0x8023)

lri $AR1,    #0x6106
lri $IX1,    #0xae00
lri $WR1,    #0x8805
cw 0xd
call send_back  ; 32804 (0x8024)

lri $AR1,    #0xa17c
lri $IX1,    #0xf464
lri $WR1,    #0x8418
cw 0xd
call send_back  ; 32805 (0x8025)

lri $AR1,    #0xc649
lri $IX1,    #0x33c2
lri $WR1,    #0x7886
cw 0xd
call send_back  ; 32806 (0x8026)

lri $AR1,    #0x8e64
lri $IX1,    #0xfdf0
lri $WR1,    #0x31cd
cw 0xd
call send_back  ; 32807 (0x8027)

lri $AR1,    #0x54ff
lri $IX1,    #0x4df6
lri $WR1,    #0x38e8
cw 0xd
call send_back  ; 32808 (0x8028)

lri $AR1,    #0x50a3
lri $IX1,    #0x1080
lri $WR1,    #0x82af
cw 0xd
call send_back  ; 32809 (0x8029)

lri $AR1,    #0x680e
lri $IX1,    #0x5c74
lri $WR1,    #0xba6e
cw 0xd
call send_back  ; 32810 (0x802a)

lri $AR1,    #0x2ec1
lri $IX1,    #0x1c26
lri $WR1,    #0x86da
cw 0xd
call send_back  ; 32811 (0x802b)

lri $AR1,    #0x4270
lri $IX1,    #0x4ae6
lri $WR1,    #0x7de6
cw 0xd
call send_back  ; 32812 (0x802c)

lri $AR1,    #0xbe32
lri $IX1,    #0x423c
lri $WR1,    #0x7592
cw 0xd
call send_back  ; 32813 (0x802d)

lri $AR1,    #0x27c2
lri $IX1,    #0xbd98
lri $WR1,    #0x5d45
cw 0xd
call send_back  ; 32814 (0x802e)

lri $AR1,    #0x7e9b
lri $IX1,    #0x1ae8
lri $WR1,    #0xacaf
cw 0xd
call send_back  ; 32815 (0x802f)

lri $AR1,    #0xcc46
lri $IX1,    #0xd1b4
lri $WR1,    #0x9add
cw 0xd
call send_back  ; 32816 (0x8030)

lri $AR1,    #0xa09f
lri $IX1,    #0x022e
lri $WR1,    #0x9980
cw 0xd
call send_back  ; 32817 (0x8031)

lri $AR1,    #0xa46f
lri $IX1,    #0x390e
lri $WR1,    #0x5df8
cw 0xd
call send_back  ; 32818 (0x8032)

lri $AR1,    #0xc023
lri $IX1,    #0xf46a
lri $WR1,    #0x7336
cw 0xd
call send_back  ; 32819 (0x8033)

lri $AR1,    #0x9be8
lri $IX1,    #0xf972
lri $WR1,    #0x4507
cw 0xd
call send_back  ; 32820 (0x8034)

lri $AR1,    #0x5a16
lri $IX1,    #0x0264
lri $WR1,    #0xaecd
cw 0xd
call send_back  ; 32821 (0x8035)

lri $AR1,    #0x3c18
lri $IX1,    #0x9768
lri $WR1,    #0xb549
cw 0xd
call send_back  ; 32822 (0x8036)

lri $AR1,    #0x45be
lri $IX1,    #0xe4d2
lri $WR1,    #0x9471
cw 0xd
call send_back  ; 32823 (0x8037)

lri $AR1,    #0x4a33
lri $IX1,    #0xf476
lri $WR1,    #0x8ff1
cw 0xd
call send_back  ; 32824 (0x8038)

lri $AR1,    #0x797b
lri $IX1,    #0xb764
lri $WR1,    #0x5e66
cw 0xd
call send_back  ; 32825 (0x8039)

lri $AR1,    #0x64b7
lri $IX1,    #0xa8f2
lri $WR1,    #0xf4d3
cw 0xd
call send_back  ; 32826 (0x803a)

lri $AR1,    #0x630f
lri $IX1,    #0x6346
lri $WR1,    #0xc976
cw 0xd
call send_back  ; 32827 (0x803b)

lri $AR1,    #0xa87e
lri $IX1,    #0x2146
lri $WR1,    #0xba84
cw 0xd
call send_back  ; 32828 (0x803c)

lri $AR1,    #0x9b69
lri $IX1,    #0xc12e
lri $WR1,    #0x7ed1
cw 0xd
call send_back  ; 32829 (0x803d)

lri $AR1,    #0x653e
lri $IX1,    #0x46b2
lri $WR1,    #0x440a
cw 0xd
call send_back  ; 32830 (0x803e)

lri $AR1,    #0x3ded
lri $IX1,    #0xfae0
lri $WR1,    #0x3f7a
cw 0xd
call send_back  ; 32831 (0x803f)

lri $AR1,    #0xe997
lri $IX1,    #0xfba0
lri $WR1,    #0xdbff
cw 0xd
call send_back  ; 32832 (0x8040)

lri $AR1,    #0xab38
lri $IX1,    #0x3436
lri $WR1,    #0x392c
cw 0xd
call send_back  ; 32833 (0x8041)

lri $AR1,    #0x6e98
lri $IX1,    #0x3364
lri $WR1,    #0xbd39
cw 0xd
call send_back  ; 32834 (0x8042)

lri $AR1,    #0x7f69
lri $IX1,    #0x03b0
lri $WR1,    #0x6cc5
cw 0xd
call send_back  ; 32835 (0x8043)

lri $AR1,    #0x2ac6
lri $IX1,    #0xed80
lri $WR1,    #0x70f8
cw 0xd
call send_back  ; 32836 (0x8044)

lri $AR1,    #0x83ef
lri $IX1,    #0xc26c
lri $WR1,    #0x8e2a
cw 0xd
call send_back  ; 32837 (0x8045)

lri $AR1,    #0x94a5
lri $IX1,    #0xdc7a
lri $WR1,    #0xaa84
cw 0xd
call send_back  ; 32838 (0x8046)

lri $AR1,    #0x64cb
lri $IX1,    #0x3bc0
lri $WR1,    #0x45b6
cw 0xd
call send_back  ; 32839 (0x8047)

lri $AR1,    #0x5cc6
lri $IX1,    #0x0016
lri $WR1,    #0xc85e
cw 0xd
call send_back  ; 32840 (0x8048)

lri $AR1,    #0x7157
lri $IX1,    #0xc436
lri $WR1,    #0x3b1a
cw 0xd
call send_back  ; 32841 (0x8049)

lri $AR1,    #0xa742
lri $IX1,    #0xfb22
lri $WR1,    #0xa2e5
cw 0xd
call send_back  ; 32842 (0x804a)

lri $AR1,    #0xb094
lri $IX1,    #0x4016
lri $WR1,    #0x51c9
cw 0xd
call send_back  ; 32843 (0x804b)

lri $AR1,    #0x8ccf
lri $IX1,    #0x6cc6
lri $WR1,    #0x507a
cw 0xd
call send_back  ; 32844 (0x804c)

lri $AR1,    #0x10ea
lri $IX1,    #0x2170
lri $WR1,    #0x7ee1
cw 0xd
call send_back  ; 32845 (0x804d)

lri $AR1,    #0x6b41
lri $IX1,    #0x1542
lri $WR1,    #0x8731
cw 0xd
call send_back  ; 32846 (0x804e)

lri $AR1,    #0x7b7a
lri $IX1,    #0xe5a8
lri $WR1,    #0xa08f
cw 0xd
call send_back  ; 32847 (0x804f)

lri $AR1,    #0x8d90
lri $IX1,    #0x0e36
lri $WR1,    #0xc3eb
cw 0xd
call send_back  ; 32848 (0x8050)

lri $AR1,    #0x12dd
lri $IX1,    #0x1a74
lri $WR1,    #0x3efd
cw 0xd
call send_back  ; 32849 (0x8051)

lri $AR1,    #0x336a
lri $IX1,    #0xde72
lri $WR1,    #0x5f11
cw 0xd
call send_back  ; 32850 (0x8052)

lri $AR1,    #0x656f
lri $IX1,    #0x726a
lri $WR1,    #0x9eb0
cw 0xd
call send_back  ; 32851 (0x8053)

lri $AR1,    #0x802f
lri $IX1,    #0xb13a
lri $WR1,    #0xb6a8
cw 0xd
call send_back  ; 32852 (0x8054)

lri $AR1,    #0x5b1b
lri $IX1,    #0xf10c
lri $WR1,    #0x8c80
cw 0xd
call send_back  ; 32853 (0x8055)

lri $AR1,    #0xd980
lri $IX1,    #0x790a
lri $WR1,    #0x9609
cw 0xd
call send_back  ; 32854 (0x8056)

lri $AR1,    #0xa69b
lri $IX1,    #0xb648
lri $WR1,    #0x4aef
cw 0xd
call send_back  ; 32855 (0x8057)

lri $AR1,    #0x3d49
lri $IX1,    #0x45e4
lri $WR1,    #0x82ff
cw 0xd
call send_back  ; 32856 (0x8058)

lri $AR1,    #0x8248
lri $IX1,    #0x7182
lri $WR1,    #0x891b
cw 0xd
call send_back  ; 32857 (0x8059)

lri $AR1,    #0x173f
lri $IX1,    #0x9714
lri $WR1,    #0x9875
cw 0xd
call send_back  ; 32858 (0x805a)

lri $AR1,    #0x805f
lri $IX1,    #0x0422
lri $WR1,    #0x4b23
cw 0xd
call send_back  ; 32859 (0x805b)

lri $AR1,    #0x9df5
lri $IX1,    #0xf07a
lri $WR1,    #0x9698
cw 0xd
call send_back  ; 32860 (0x805c)

lri $AR1,    #0xb6c3
lri $IX1,    #0x5b92
lri $WR1,    #0xac11
cw 0xd
call send_back  ; 32861 (0x805d)

lri $AR1,    #0x3f58
lri $IX1,    #0x7b54
lri $WR1,    #0x5088
cw 0xd
call send_back  ; 32862 (0x805e)

lri $AR1,    #0x8e51
lri $IX1,    #0x0ad2
lri $WR1,    #0x613f
cw 0xd
call send_back  ; 32863 (0x805f)

lri $AR1,    #0xa4c2
lri $IX1,    #0xfa80
lri $WR1,    #0x9f74
cw 0xd
call send_back  ; 32864 (0x8060)

lri $AR1,    #0x7d9e
lri $IX1,    #0xab74
lri $WR1,    #0xe741
cw 0xd
call send_back  ; 32865 (0x8061)

lri $AR1,    #0x5676
lri $IX1,    #0xda4a
lri $WR1,    #0x834c
cw 0xd
call send_back  ; 32866 (0x8062)

lri $AR1,    #0x7744
lri $IX1,    #0x8e2c
lri $WR1,    #0x404c
cw 0xd
call send_back  ; 32867 (0x8063)

lri $AR1,    #0x86b5
lri $IX1,    #0xa3ae
lri $WR1,    #0x98e7
cw 0xd
call send_back  ; 32868 (0x8064)

lri $AR1,    #0xd3a6
lri $IX1,    #0xc2d4
lri $WR1,    #0xac1e
cw 0xd
call send_back  ; 32869 (0x8065)

lri $AR1,    #0x8c3a
lri $IX1,    #0x9b26
lri $WR1,    #0x8da6
cw 0xd
call send_back  ; 32870 (0x8066)

lri $AR1,    #0x7e3f
lri $IX1,    #0xfff8
lri $WR1,    #0xc169
cw 0xd
call send_back  ; 32871 (0x8067)

lri $AR1,    #0x144c
lri $IX1,    #0xd2f0
lri $WR1,    #0x38a3
cw 0xd
call send_back  ; 32872 (0x8068)

lri $AR1,    #0x2e5f
lri $IX1,    #0x71da
lri $WR1,    #0x50b8
cw 0xd
call send_back  ; 32873 (0x8069)

lri $AR1,    #0x943f
lri $IX1,    #0x78d6
lri $WR1,    #0x8152
cw 0xd
call send_back  ; 32874 (0x806a)

lri $AR1,    #0x7380
lri $IX1,    #0xf8fc
lri $WR1,    #0x78d3
cw 0xd
call send_back  ; 32875 (0x806b)

lri $AR1,    #0x827e
lri $IX1,    #0xa772
lri $WR1,    #0xbbae
cw 0xd
call send_back  ; 32876 (0x806c)

lri $AR1,    #0x5d06
lri $IX1,    #0xe024
lri $WR1,    #0x54b2
cw 0xd
call send_back  ; 32877 (0x806d)

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