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

lri $AR1,    #0x5fb2
lri $IX1,    #0x7790
lri $WR1,    #0x877f
cw 0xd
call send_back  ; 59857 (0xe9d1)

lri $AR1,    #0x7bc4
lri $IX1,    #0x86de
lri $WR1,    #0x7f4b
cw 0xd
call send_back  ; 59858 (0xe9d2)

lri $AR1,    #0xef34
lri $IX1,    #0xaa34
lri $WR1,    #0xa96e
cw 0xd
call send_back  ; 59859 (0xe9d3)

lri $AR1,    #0xc9e8
lri $IX1,    #0xe238
lri $WR1,    #0x7567
cw 0xd
call send_back  ; 59860 (0xe9d4)

lri $AR1,    #0x8e55
lri $IX1,    #0xf03a
lri $WR1,    #0x6f56
cw 0xd
call send_back  ; 59861 (0xe9d5)

lri $AR1,    #0x7e2f
lri $IX1,    #0x14e2
lri $WR1,    #0x487b
cw 0xd
call send_back  ; 59862 (0xe9d6)

lri $AR1,    #0x6f71
lri $IX1,    #0x262e
lri $WR1,    #0x25da
cw 0xd
call send_back  ; 59863 (0xe9d7)

lri $AR1,    #0x8522
lri $IX1,    #0x527c
lri $WR1,    #0x5373
cw 0xd
call send_back  ; 59864 (0xe9d8)

lri $AR1,    #0xd280
lri $IX1,    #0x6e16
lri $WR1,    #0x643a
cw 0xd
call send_back  ; 59865 (0xe9d9)

lri $AR1,    #0x4f19
lri $IX1,    #0x83f2
lri $WR1,    #0x3458
cw 0xd
call send_back  ; 59866 (0xe9da)

lri $AR1,    #0xf55e
lri $IX1,    #0x71fa
lri $WR1,    #0x94b5
cw 0xd
call send_back  ; 59867 (0xe9db)

lri $AR1,    #0x4d44
lri $IX1,    #0x7cc4
lri $WR1,    #0x7c78
cw 0xd
call send_back  ; 59868 (0xe9dc)

lri $AR1,    #0xdf90
lri $IX1,    #0xdde6
lri $WR1,    #0xd673
cw 0xd
call send_back  ; 59869 (0xe9dd)

lri $AR1,    #0x7e35
lri $IX1,    #0x3bd0
lri $WR1,    #0xbe12
cw 0xd
call send_back  ; 59870 (0xe9de)

lri $AR1,    #0xd192
lri $IX1,    #0x9976
lri $WR1,    #0xa0ee
cw 0xd
call send_back  ; 59871 (0xe9df)

lri $AR1,    #0x91e0
lri $IX1,    #0x7f94
lri $WR1,    #0x1f78
cw 0xd
call send_back  ; 59872 (0xe9e0)

lri $AR1,    #0x9f99
lri $IX1,    #0xc8de
lri $WR1,    #0x90dc
cw 0xd
call send_back  ; 59873 (0xe9e1)

lri $AR1,    #0x2d2d
lri $IX1,    #0x75fa
lri $WR1,    #0x9bb8
cw 0xd
call send_back  ; 59874 (0xe9e2)

lri $AR1,    #0x3fde
lri $IX1,    #0x1d74
lri $WR1,    #0xc692
cw 0xd
call send_back  ; 59875 (0xe9e3)

lri $AR1,    #0x54fa
lri $IX1,    #0xcfa2
lri $WR1,    #0x98c8
cw 0xd
call send_back  ; 59876 (0xe9e4)

lri $AR1,    #0x5467
lri $IX1,    #0x7dae
lri $WR1,    #0xbded
cw 0xd
call send_back  ; 59877 (0xe9e5)

lri $AR1,    #0x88a5
lri $IX1,    #0xfea4
lri $WR1,    #0x7b2b
cw 0xd
call send_back  ; 59878 (0xe9e6)

lri $AR1,    #0x784a
lri $IX1,    #0x8cbc
lri $WR1,    #0x87be
cw 0xd
call send_back  ; 59879 (0xe9e7)

lri $AR1,    #0x9411
lri $IX1,    #0xe8de
lri $WR1,    #0x5f17
cw 0xd
call send_back  ; 59880 (0xe9e8)

lri $AR1,    #0x187c
lri $IX1,    #0x197c
lri $WR1,    #0x4cb0
cw 0xd
call send_back  ; 59881 (0xe9e9)

lri $AR1,    #0x2135
lri $IX1,    #0xd5b8
lri $WR1,    #0x9f25
cw 0xd
call send_back  ; 59882 (0xe9ea)

lri $AR1,    #0xa015
lri $IX1,    #0xfd12
lri $WR1,    #0x81ae
cw 0xd
call send_back  ; 59883 (0xe9eb)

lri $AR1,    #0x111b
lri $IX1,    #0xdf70
lri $WR1,    #0x506f
cw 0xd
call send_back  ; 59884 (0xe9ec)

lri $AR1,    #0x4018
lri $IX1,    #0x70e6
lri $WR1,    #0xb5cc
cw 0xd
call send_back  ; 59885 (0xe9ed)

lri $AR1,    #0xa471
lri $IX1,    #0xafde
lri $WR1,    #0xdc3c
cw 0xd
call send_back  ; 59886 (0xe9ee)

lri $AR1,    #0x1aba
lri $IX1,    #0x6430
lri $WR1,    #0x61b2
cw 0xd
call send_back  ; 59887 (0xe9ef)

lri $AR1,    #0x7b86
lri $IX1,    #0xd0ba
lri $WR1,    #0x5f2c
cw 0xd
call send_back  ; 59888 (0xe9f0)

lri $AR1,    #0x9a2d
lri $IX1,    #0xd900
lri $WR1,    #0xa07f
cw 0xd
call send_back  ; 59889 (0xe9f1)

lri $AR1,    #0x75e1
lri $IX1,    #0x5770
lri $WR1,    #0x75da
cw 0xd
call send_back  ; 59890 (0xe9f2)

lri $AR1,    #0x3ae6
lri $IX1,    #0xd0c8
lri $WR1,    #0x3a33
cw 0xd
call send_back  ; 59891 (0xe9f3)

lri $AR1,    #0x7939
lri $IX1,    #0x3454
lri $WR1,    #0x9f08
cw 0xd
call send_back  ; 59892 (0xe9f4)

lri $AR1,    #0x9168
lri $IX1,    #0xd05c
lri $WR1,    #0xe79c
cw 0xd
call send_back  ; 59893 (0xe9f5)

lri $AR1,    #0xa809
lri $IX1,    #0xed82
lri $WR1,    #0x5b42
cw 0xd
call send_back  ; 59894 (0xe9f6)

lri $AR1,    #0x5384
lri $IX1,    #0x8384
lri $WR1,    #0x37b4
cw 0xd
call send_back  ; 59895 (0xe9f7)

lri $AR1,    #0x8f91
lri $IX1,    #0x0d0e
lri $WR1,    #0xb210
cw 0xd
call send_back  ; 59896 (0xe9f8)

lri $AR1,    #0xad2d
lri $IX1,    #0x87fe
lri $WR1,    #0x7e92
cw 0xd
call send_back  ; 59897 (0xe9f9)

lri $AR1,    #0xd562
lri $IX1,    #0x0ae0
lri $WR1,    #0xc490
cw 0xd
call send_back  ; 59898 (0xe9fa)

lri $AR1,    #0xa8b4
lri $IX1,    #0xe806
lri $WR1,    #0xb5cd
cw 0xd
call send_back  ; 59899 (0xe9fb)

lri $AR1,    #0x6c66
lri $IX1,    #0xf9f0
lri $WR1,    #0x95ac
cw 0xd
call send_back  ; 59900 (0xe9fc)

lri $AR1,    #0x7298
lri $IX1,    #0x4c64
lri $WR1,    #0xb666
cw 0xd
call send_back  ; 59901 (0xe9fd)

lri $AR1,    #0x5961
lri $IX1,    #0xc110
lri $WR1,    #0x2fb7
cw 0xd
call send_back  ; 59902 (0xe9fe)

lri $AR1,    #0xc0cb
lri $IX1,    #0x6dea
lri $WR1,    #0xb42f
cw 0xd
call send_back  ; 59903 (0xe9ff)

lri $AR1,    #0x0f04
lri $IX1,    #0x273a
lri $WR1,    #0x4f9c
cw 0xd
call send_back  ; 59904 (0xea00)

lri $AR1,    #0x257d
lri $IX1,    #0xce86
lri $WR1,    #0x62b4
cw 0xd
call send_back  ; 59905 (0xea01)

lri $AR1,    #0x696d
lri $IX1,    #0x7b4e
lri $WR1,    #0x3d82
cw 0xd
call send_back  ; 59906 (0xea02)

lri $AR1,    #0x155e
lri $IX1,    #0x41c2
lri $WR1,    #0x2ba4
cw 0xd
call send_back  ; 59907 (0xea03)

lri $AR1,    #0xd133
lri $IX1,    #0x1f64
lri $WR1,    #0x7af7
cw 0xd
call send_back  ; 59908 (0xea04)

lri $AR1,    #0x696a
lri $IX1,    #0x4cd0
lri $WR1,    #0xdeb4
cw 0xd
call send_back  ; 59909 (0xea05)

lri $AR1,    #0x8deb
lri $IX1,    #0xbf8c
lri $WR1,    #0x6e94
cw 0xd
call send_back  ; 59910 (0xea06)

lri $AR1,    #0xa432
lri $IX1,    #0xe616
lri $WR1,    #0xc30c
cw 0xd
call send_back  ; 59911 (0xea07)

lri $AR1,    #0xd031
lri $IX1,    #0x7c1e
lri $WR1,    #0xb52c
cw 0xd
call send_back  ; 59912 (0xea08)

lri $AR1,    #0xc2a2
lri $IX1,    #0x9c2a
lri $WR1,    #0x7231
cw 0xd
call send_back  ; 59913 (0xea09)

lri $AR1,    #0xfb32
lri $IX1,    #0xcf78
lri $WR1,    #0xc069
cw 0xd
call send_back  ; 59914 (0xea0a)

lri $AR1,    #0x6048
lri $IX1,    #0xac6a
lri $WR1,    #0x6463
cw 0xd
call send_back  ; 59915 (0xea0b)

lri $AR1,    #0x35b3
lri $IX1,    #0x7752
lri $WR1,    #0x6b01
cw 0xd
call send_back  ; 59916 (0xea0c)

lri $AR1,    #0x7721
lri $IX1,    #0x10f2
lri $WR1,    #0x9690
cw 0xd
call send_back  ; 59917 (0xea0d)

lri $AR1,    #0xca98
lri $IX1,    #0x2978
lri $WR1,    #0x2a54
cw 0xd
call send_back  ; 59918 (0xea0e)

lri $AR1,    #0x82d9
lri $IX1,    #0x0e38
lri $WR1,    #0x31b7
cw 0xd
call send_back  ; 59919 (0xea0f)

lri $AR1,    #0x60ea
lri $IX1,    #0x5c1e
lri $WR1,    #0x8597
cw 0xd
call send_back  ; 59920 (0xea10)

lri $AR1,    #0x4f9b
lri $IX1,    #0x47fe
lri $WR1,    #0x1bd0
cw 0xd
call send_back  ; 59921 (0xea11)

lri $AR1,    #0x9364
lri $IX1,    #0xe9a4
lri $WR1,    #0x7a80
cw 0xd
call send_back  ; 59922 (0xea12)

lri $AR1,    #0xbc55
lri $IX1,    #0xe5f2
lri $WR1,    #0x5a33
cw 0xd
call send_back  ; 59923 (0xea13)

lri $AR1,    #0x6f79
lri $IX1,    #0xd7dc
lri $WR1,    #0x7765
cw 0xd
call send_back  ; 59924 (0xea14)

lri $AR1,    #0x387d
lri $IX1,    #0xcf9e
lri $WR1,    #0xad84
cw 0xd
call send_back  ; 59925 (0xea15)

lri $AR1,    #0x63db
lri $IX1,    #0x0ad4
lri $WR1,    #0x92f0
cw 0xd
call send_back  ; 59926 (0xea16)

lri $AR1,    #0xc563
lri $IX1,    #0x8802
lri $WR1,    #0x4f18
cw 0xd
call send_back  ; 59927 (0xea17)

lri $AR1,    #0xa680
lri $IX1,    #0x2b1c
lri $WR1,    #0xa93a
cw 0xd
call send_back  ; 59928 (0xea18)

lri $AR1,    #0xc2ec
lri $IX1,    #0xb094
lri $WR1,    #0x37db
cw 0xd
call send_back  ; 59929 (0xea19)

lri $AR1,    #0x9a34
lri $IX1,    #0x8792
lri $WR1,    #0x8680
cw 0xd
call send_back  ; 59930 (0xea1a)

lri $AR1,    #0x4fe4
lri $IX1,    #0xbbca
lri $WR1,    #0x58bf
cw 0xd
call send_back  ; 59931 (0xea1b)

lri $AR1,    #0x3b96
lri $IX1,    #0x3aa6
lri $WR1,    #0xc73e
cw 0xd
call send_back  ; 59932 (0xea1c)

lri $AR1,    #0x85c2
lri $IX1,    #0xd722
lri $WR1,    #0xac9a
cw 0xd
call send_back  ; 59933 (0xea1d)

lri $AR1,    #0x9da5
lri $IX1,    #0x5b24
lri $WR1,    #0x95e1
cw 0xd
call send_back  ; 59934 (0xea1e)

lri $AR1,    #0x57f1
lri $IX1,    #0x94a6
lri $WR1,    #0x8b99
cw 0xd
call send_back  ; 59935 (0xea1f)

lri $AR1,    #0x7dc8
lri $IX1,    #0x807a
lri $WR1,    #0x6def
cw 0xd
call send_back  ; 59936 (0xea20)

lri $AR1,    #0x5e96
lri $IX1,    #0x5bfc
lri $WR1,    #0xa81e
cw 0xd
call send_back  ; 59937 (0xea21)

lri $AR1,    #0x7755
lri $IX1,    #0x6284
lri $WR1,    #0x8ca2
cw 0xd
call send_back  ; 59938 (0xea22)

lri $AR1,    #0xd4da
lri $IX1,    #0x2ae6
lri $WR1,    #0x9d30
cw 0xd
call send_back  ; 59939 (0xea23)

lri $AR1,    #0x5e9b
lri $IX1,    #0xdcd0
lri $WR1,    #0x3723
cw 0xd
call send_back  ; 59940 (0xea24)

lri $AR1,    #0x92b2
lri $IX1,    #0xad52
lri $WR1,    #0x765d
cw 0xd
call send_back  ; 59941 (0xea25)

lri $AR1,    #0x4b68
lri $IX1,    #0x1d68
lri $WR1,    #0x7e25
cw 0xd
call send_back  ; 59942 (0xea26)

lri $AR1,    #0xca27
lri $IX1,    #0x34d8
lri $WR1,    #0x9925
cw 0xd
call send_back  ; 59943 (0xea27)

lri $AR1,    #0x5b10
lri $IX1,    #0x471a
lri $WR1,    #0xa70d
cw 0xd
call send_back  ; 59944 (0xea28)

lri $AR1,    #0xd01b
lri $IX1,    #0x97c8
lri $WR1,    #0x77e2
cw 0xd
call send_back  ; 59945 (0xea29)

lri $AR1,    #0x31f8
lri $IX1,    #0x4f3c
lri $WR1,    #0x62a3
cw 0xd
call send_back  ; 59946 (0xea2a)

lri $AR1,    #0xb897
lri $IX1,    #0x7fb8
lri $WR1,    #0x7631
cw 0xd
call send_back  ; 59947 (0xea2b)

lri $AR1,    #0xc49c
lri $IX1,    #0x5efe
lri $WR1,    #0x7932
cw 0xd
call send_back  ; 59948 (0xea2c)

lri $AR1,    #0x0e8d
lri $IX1,    #0x2f80
lri $WR1,    #0xe6d5
cw 0xd
call send_back  ; 59949 (0xea2d)

lri $AR1,    #0x7017
lri $IX1,    #0x8024
lri $WR1,    #0x9431
cw 0xd
call send_back  ; 59950 (0xea2e)

lri $AR1,    #0xef24
lri $IX1,    #0x48c6
lri $WR1,    #0x8b26
cw 0xd
call send_back  ; 59951 (0xea2f)

lri $AR1,    #0x6a2d
lri $IX1,    #0xdd5c
lri $WR1,    #0xcd70
cw 0xd
call send_back  ; 59952 (0xea30)

lri $AR1,    #0xd07d
lri $IX1,    #0x990c
lri $WR1,    #0x7bf2
cw 0xd
call send_back  ; 59953 (0xea31)

lri $AR1,    #0x90cf
lri $IX1,    #0x5dfe
lri $WR1,    #0x2bba
cw 0xd
call send_back  ; 59954 (0xea32)

lri $AR1,    #0xbbfe
lri $IX1,    #0x7632
lri $WR1,    #0xe3eb
cw 0xd
call send_back  ; 59955 (0xea33)

lri $AR1,    #0xa129
lri $IX1,    #0xe550
lri $WR1,    #0x3501
cw 0xd
call send_back  ; 59956 (0xea34)

lri $AR1,    #0x4417
lri $IX1,    #0xb27e
lri $WR1,    #0x738e
cw 0xd
call send_back  ; 59957 (0xea35)

lri $AR1,    #0x5e24
lri $IX1,    #0xfd5a
lri $WR1,    #0x3e02
cw 0xd
call send_back  ; 59958 (0xea36)

lri $AR1,    #0x7d8c
lri $IX1,    #0xb026
lri $WR1,    #0x7685
cw 0xd
call send_back  ; 59959 (0xea37)

lri $AR1,    #0x2e6f
lri $IX1,    #0x3526
lri $WR1,    #0x9f73
cw 0xd
call send_back  ; 59960 (0xea38)

lri $AR1,    #0x443f
lri $IX1,    #0x9c5a
lri $WR1,    #0x7296
cw 0xd
call send_back  ; 59961 (0xea39)

lri $AR1,    #0xba0d
lri $IX1,    #0xfa88
lri $WR1,    #0x78a4
cw 0xd
call send_back  ; 59962 (0xea3a)

lri $AR1,    #0x9370
lri $IX1,    #0x59c6
lri $WR1,    #0x380a
cw 0xd
call send_back  ; 59963 (0xea3b)

lri $AR1,    #0x0f56
lri $IX1,    #0x3768
lri $WR1,    #0x27ad
cw 0xd
call send_back  ; 59964 (0xea3c)

lri $AR1,    #0x3991
lri $IX1,    #0x229e
lri $WR1,    #0x4b91
cw 0xd
call send_back  ; 59965 (0xea3d)

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