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

lri $AR1,    #0x4000
lri $IX1,    #0x9880
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39041 (0x9881)

lri $AR1,    #0x4000
lri $IX1,    #0x9881
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39042 (0x9882)

lri $AR1,    #0x4000
lri $IX1,    #0x9882
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39043 (0x9883)

lri $AR1,    #0x4000
lri $IX1,    #0x9883
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39044 (0x9884)

lri $AR1,    #0x4000
lri $IX1,    #0x9884
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39045 (0x9885)

lri $AR1,    #0x4000
lri $IX1,    #0x9885
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39046 (0x9886)

lri $AR1,    #0x4000
lri $IX1,    #0x9886
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39047 (0x9887)

lri $AR1,    #0x4000
lri $IX1,    #0x9887
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39048 (0x9888)

lri $AR1,    #0x4000
lri $IX1,    #0x9888
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39049 (0x9889)

lri $AR1,    #0x4000
lri $IX1,    #0x9889
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39050 (0x988a)

lri $AR1,    #0x4000
lri $IX1,    #0x988a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39051 (0x988b)

lri $AR1,    #0x4000
lri $IX1,    #0x988b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39052 (0x988c)

lri $AR1,    #0x4000
lri $IX1,    #0x988c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39053 (0x988d)

lri $AR1,    #0x4000
lri $IX1,    #0x988d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39054 (0x988e)

lri $AR1,    #0x4000
lri $IX1,    #0x988e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39055 (0x988f)

lri $AR1,    #0x4000
lri $IX1,    #0x988f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39056 (0x9890)

lri $AR1,    #0x4000
lri $IX1,    #0x9890
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39057 (0x9891)

lri $AR1,    #0x4000
lri $IX1,    #0x9891
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39058 (0x9892)

lri $AR1,    #0x4000
lri $IX1,    #0x9892
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39059 (0x9893)

lri $AR1,    #0x4000
lri $IX1,    #0x9893
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39060 (0x9894)

lri $AR1,    #0x4000
lri $IX1,    #0x9894
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39061 (0x9895)

lri $AR1,    #0x4000
lri $IX1,    #0x9895
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39062 (0x9896)

lri $AR1,    #0x4000
lri $IX1,    #0x9896
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39063 (0x9897)

lri $AR1,    #0x4000
lri $IX1,    #0x9897
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39064 (0x9898)

lri $AR1,    #0x4000
lri $IX1,    #0x9898
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39065 (0x9899)

lri $AR1,    #0x4000
lri $IX1,    #0x9899
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39066 (0x989a)

lri $AR1,    #0x4000
lri $IX1,    #0x989a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39067 (0x989b)

lri $AR1,    #0x4000
lri $IX1,    #0x989b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39068 (0x989c)

lri $AR1,    #0x4000
lri $IX1,    #0x989c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39069 (0x989d)

lri $AR1,    #0x4000
lri $IX1,    #0x989d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39070 (0x989e)

lri $AR1,    #0x4000
lri $IX1,    #0x989e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39071 (0x989f)

lri $AR1,    #0x4000
lri $IX1,    #0x989f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39072 (0x98a0)

lri $AR1,    #0x4000
lri $IX1,    #0x98a0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39073 (0x98a1)

lri $AR1,    #0x4000
lri $IX1,    #0x98a1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39074 (0x98a2)

lri $AR1,    #0x4000
lri $IX1,    #0x98a2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39075 (0x98a3)

lri $AR1,    #0x4000
lri $IX1,    #0x98a3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39076 (0x98a4)

lri $AR1,    #0x4000
lri $IX1,    #0x98a4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39077 (0x98a5)

lri $AR1,    #0x4000
lri $IX1,    #0x98a5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39078 (0x98a6)

lri $AR1,    #0x4000
lri $IX1,    #0x98a6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39079 (0x98a7)

lri $AR1,    #0x4000
lri $IX1,    #0x98a7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39080 (0x98a8)

lri $AR1,    #0x4000
lri $IX1,    #0x98a8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39081 (0x98a9)

lri $AR1,    #0x4000
lri $IX1,    #0x98a9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39082 (0x98aa)

lri $AR1,    #0x4000
lri $IX1,    #0x98aa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39083 (0x98ab)

lri $AR1,    #0x4000
lri $IX1,    #0x98ab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39084 (0x98ac)

lri $AR1,    #0x4000
lri $IX1,    #0x98ac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39085 (0x98ad)

lri $AR1,    #0x4000
lri $IX1,    #0x98ad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39086 (0x98ae)

lri $AR1,    #0x4000
lri $IX1,    #0x98ae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39087 (0x98af)

lri $AR1,    #0x4000
lri $IX1,    #0x98af
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39088 (0x98b0)

lri $AR1,    #0x4000
lri $IX1,    #0x98b0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39089 (0x98b1)

lri $AR1,    #0x4000
lri $IX1,    #0x98b1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39090 (0x98b2)

lri $AR1,    #0x4000
lri $IX1,    #0x98b2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39091 (0x98b3)

lri $AR1,    #0x4000
lri $IX1,    #0x98b3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39092 (0x98b4)

lri $AR1,    #0x4000
lri $IX1,    #0x98b4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39093 (0x98b5)

lri $AR1,    #0x4000
lri $IX1,    #0x98b5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39094 (0x98b6)

lri $AR1,    #0x4000
lri $IX1,    #0x98b6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39095 (0x98b7)

lri $AR1,    #0x4000
lri $IX1,    #0x98b7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39096 (0x98b8)

lri $AR1,    #0x4000
lri $IX1,    #0x98b8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39097 (0x98b9)

lri $AR1,    #0x4000
lri $IX1,    #0x98b9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39098 (0x98ba)

lri $AR1,    #0x4000
lri $IX1,    #0x98ba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39099 (0x98bb)

lri $AR1,    #0x4000
lri $IX1,    #0x98bb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39100 (0x98bc)

lri $AR1,    #0x4000
lri $IX1,    #0x98bc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39101 (0x98bd)

lri $AR1,    #0x4000
lri $IX1,    #0x98bd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39102 (0x98be)

lri $AR1,    #0x4000
lri $IX1,    #0x98be
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39103 (0x98bf)

lri $AR1,    #0x4000
lri $IX1,    #0x98bf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39104 (0x98c0)

lri $AR1,    #0x4000
lri $IX1,    #0x98c0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39105 (0x98c1)

lri $AR1,    #0x4000
lri $IX1,    #0x98c1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39106 (0x98c2)

lri $AR1,    #0x4000
lri $IX1,    #0x98c2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39107 (0x98c3)

lri $AR1,    #0x4000
lri $IX1,    #0x98c3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39108 (0x98c4)

lri $AR1,    #0x4000
lri $IX1,    #0x98c4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39109 (0x98c5)

lri $AR1,    #0x4000
lri $IX1,    #0x98c5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39110 (0x98c6)

lri $AR1,    #0x4000
lri $IX1,    #0x98c6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39111 (0x98c7)

lri $AR1,    #0x4000
lri $IX1,    #0x98c7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39112 (0x98c8)

lri $AR1,    #0x4000
lri $IX1,    #0x98c8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39113 (0x98c9)

lri $AR1,    #0x4000
lri $IX1,    #0x98c9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39114 (0x98ca)

lri $AR1,    #0x4000
lri $IX1,    #0x98ca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39115 (0x98cb)

lri $AR1,    #0x4000
lri $IX1,    #0x98cb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39116 (0x98cc)

lri $AR1,    #0x4000
lri $IX1,    #0x98cc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39117 (0x98cd)

lri $AR1,    #0x4000
lri $IX1,    #0x98cd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39118 (0x98ce)

lri $AR1,    #0x4000
lri $IX1,    #0x98ce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39119 (0x98cf)

lri $AR1,    #0x4000
lri $IX1,    #0x98cf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39120 (0x98d0)

lri $AR1,    #0x4000
lri $IX1,    #0x98d0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39121 (0x98d1)

lri $AR1,    #0x4000
lri $IX1,    #0x98d1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39122 (0x98d2)

lri $AR1,    #0x4000
lri $IX1,    #0x98d2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39123 (0x98d3)

lri $AR1,    #0x4000
lri $IX1,    #0x98d3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39124 (0x98d4)

lri $AR1,    #0x4000
lri $IX1,    #0x98d4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39125 (0x98d5)

lri $AR1,    #0x4000
lri $IX1,    #0x98d5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39126 (0x98d6)

lri $AR1,    #0x4000
lri $IX1,    #0x98d6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39127 (0x98d7)

lri $AR1,    #0x4000
lri $IX1,    #0x98d7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39128 (0x98d8)

lri $AR1,    #0x4000
lri $IX1,    #0x98d8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39129 (0x98d9)

lri $AR1,    #0x4000
lri $IX1,    #0x98d9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39130 (0x98da)

lri $AR1,    #0x4000
lri $IX1,    #0x98da
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39131 (0x98db)

lri $AR1,    #0x4000
lri $IX1,    #0x98db
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39132 (0x98dc)

lri $AR1,    #0x4000
lri $IX1,    #0x98dc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39133 (0x98dd)

lri $AR1,    #0x4000
lri $IX1,    #0x98dd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39134 (0x98de)

lri $AR1,    #0x4000
lri $IX1,    #0x98de
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39135 (0x98df)

lri $AR1,    #0x4000
lri $IX1,    #0x98df
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39136 (0x98e0)

lri $AR1,    #0x4000
lri $IX1,    #0x98e0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39137 (0x98e1)

lri $AR1,    #0x4000
lri $IX1,    #0x98e1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39138 (0x98e2)

lri $AR1,    #0x4000
lri $IX1,    #0x98e2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39139 (0x98e3)

lri $AR1,    #0x4000
lri $IX1,    #0x98e3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39140 (0x98e4)

lri $AR1,    #0x4000
lri $IX1,    #0x98e4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39141 (0x98e5)

lri $AR1,    #0x4000
lri $IX1,    #0x98e5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39142 (0x98e6)

lri $AR1,    #0x4000
lri $IX1,    #0x98e6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39143 (0x98e7)

lri $AR1,    #0x4000
lri $IX1,    #0x98e7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39144 (0x98e8)

lri $AR1,    #0x4000
lri $IX1,    #0x98e8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39145 (0x98e9)

lri $AR1,    #0x4000
lri $IX1,    #0x98e9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39146 (0x98ea)

lri $AR1,    #0x4000
lri $IX1,    #0x98ea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39147 (0x98eb)

lri $AR1,    #0x4000
lri $IX1,    #0x98eb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39148 (0x98ec)

lri $AR1,    #0x4000
lri $IX1,    #0x98ec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39149 (0x98ed)

lri $AR1,    #0x4000
lri $IX1,    #0x98ed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39150 (0x98ee)

lri $AR1,    #0x4000
lri $IX1,    #0x98ee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39151 (0x98ef)

lri $AR1,    #0x4000
lri $IX1,    #0x98ef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39152 (0x98f0)

lri $AR1,    #0x4000
lri $IX1,    #0x98f0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39153 (0x98f1)

lri $AR1,    #0x4000
lri $IX1,    #0x98f1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39154 (0x98f2)

lri $AR1,    #0x4000
lri $IX1,    #0x98f2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39155 (0x98f3)

lri $AR1,    #0x4000
lri $IX1,    #0x98f3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39156 (0x98f4)

lri $AR1,    #0x4000
lri $IX1,    #0x98f4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39157 (0x98f5)

lri $AR1,    #0x4000
lri $IX1,    #0x98f5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39158 (0x98f6)

lri $AR1,    #0x4000
lri $IX1,    #0x98f6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39159 (0x98f7)

lri $AR1,    #0x4000
lri $IX1,    #0x98f7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39160 (0x98f8)

lri $AR1,    #0x4000
lri $IX1,    #0x98f8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39161 (0x98f9)

lri $AR1,    #0x4000
lri $IX1,    #0x98f9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39162 (0x98fa)

lri $AR1,    #0x4000
lri $IX1,    #0x98fa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39163 (0x98fb)

lri $AR1,    #0x4000
lri $IX1,    #0x98fb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39164 (0x98fc)

lri $AR1,    #0x4000
lri $IX1,    #0x98fc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39165 (0x98fd)

lri $AR1,    #0x4000
lri $IX1,    #0x98fd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39166 (0x98fe)

lri $AR1,    #0x4000
lri $IX1,    #0x98fe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39167 (0x98ff)

lri $AR1,    #0x4000
lri $IX1,    #0x98ff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 39168 (0x9900)

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

