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

lri $AR1,    #0xc800
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51201 (0xc801)

lri $AR1,    #0xc801
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51202 (0xc802)

lri $AR1,    #0xc802
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51203 (0xc803)

lri $AR1,    #0xc803
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51204 (0xc804)

lri $AR1,    #0xc804
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51205 (0xc805)

lri $AR1,    #0xc805
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51206 (0xc806)

lri $AR1,    #0xc806
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51207 (0xc807)

lri $AR1,    #0xc807
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51208 (0xc808)

lri $AR1,    #0xc808
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51209 (0xc809)

lri $AR1,    #0xc809
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51210 (0xc80a)

lri $AR1,    #0xc80a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51211 (0xc80b)

lri $AR1,    #0xc80b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51212 (0xc80c)

lri $AR1,    #0xc80c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51213 (0xc80d)

lri $AR1,    #0xc80d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51214 (0xc80e)

lri $AR1,    #0xc80e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51215 (0xc80f)

lri $AR1,    #0xc80f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51216 (0xc810)

lri $AR1,    #0xc810
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51217 (0xc811)

lri $AR1,    #0xc811
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51218 (0xc812)

lri $AR1,    #0xc812
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51219 (0xc813)

lri $AR1,    #0xc813
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51220 (0xc814)

lri $AR1,    #0xc814
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51221 (0xc815)

lri $AR1,    #0xc815
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51222 (0xc816)

lri $AR1,    #0xc816
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51223 (0xc817)

lri $AR1,    #0xc817
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51224 (0xc818)

lri $AR1,    #0xc818
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51225 (0xc819)

lri $AR1,    #0xc819
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51226 (0xc81a)

lri $AR1,    #0xc81a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51227 (0xc81b)

lri $AR1,    #0xc81b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51228 (0xc81c)

lri $AR1,    #0xc81c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51229 (0xc81d)

lri $AR1,    #0xc81d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51230 (0xc81e)

lri $AR1,    #0xc81e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51231 (0xc81f)

lri $AR1,    #0xc81f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51232 (0xc820)

lri $AR1,    #0xc820
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51233 (0xc821)

lri $AR1,    #0xc821
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51234 (0xc822)

lri $AR1,    #0xc822
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51235 (0xc823)

lri $AR1,    #0xc823
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51236 (0xc824)

lri $AR1,    #0xc824
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51237 (0xc825)

lri $AR1,    #0xc825
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51238 (0xc826)

lri $AR1,    #0xc826
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51239 (0xc827)

lri $AR1,    #0xc827
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51240 (0xc828)

lri $AR1,    #0xc828
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51241 (0xc829)

lri $AR1,    #0xc829
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51242 (0xc82a)

lri $AR1,    #0xc82a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51243 (0xc82b)

lri $AR1,    #0xc82b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51244 (0xc82c)

lri $AR1,    #0xc82c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51245 (0xc82d)

lri $AR1,    #0xc82d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51246 (0xc82e)

lri $AR1,    #0xc82e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51247 (0xc82f)

lri $AR1,    #0xc82f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51248 (0xc830)

lri $AR1,    #0xc830
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51249 (0xc831)

lri $AR1,    #0xc831
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51250 (0xc832)

lri $AR1,    #0xc832
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51251 (0xc833)

lri $AR1,    #0xc833
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51252 (0xc834)

lri $AR1,    #0xc834
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51253 (0xc835)

lri $AR1,    #0xc835
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51254 (0xc836)

lri $AR1,    #0xc836
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51255 (0xc837)

lri $AR1,    #0xc837
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51256 (0xc838)

lri $AR1,    #0xc838
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51257 (0xc839)

lri $AR1,    #0xc839
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51258 (0xc83a)

lri $AR1,    #0xc83a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51259 (0xc83b)

lri $AR1,    #0xc83b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51260 (0xc83c)

lri $AR1,    #0xc83c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51261 (0xc83d)

lri $AR1,    #0xc83d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51262 (0xc83e)

lri $AR1,    #0xc83e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51263 (0xc83f)

lri $AR1,    #0xc83f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51264 (0xc840)

lri $AR1,    #0xc840
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51265 (0xc841)

lri $AR1,    #0xc841
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51266 (0xc842)

lri $AR1,    #0xc842
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51267 (0xc843)

lri $AR1,    #0xc843
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51268 (0xc844)

lri $AR1,    #0xc844
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51269 (0xc845)

lri $AR1,    #0xc845
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51270 (0xc846)

lri $AR1,    #0xc846
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51271 (0xc847)

lri $AR1,    #0xc847
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51272 (0xc848)

lri $AR1,    #0xc848
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51273 (0xc849)

lri $AR1,    #0xc849
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51274 (0xc84a)

lri $AR1,    #0xc84a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51275 (0xc84b)

lri $AR1,    #0xc84b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51276 (0xc84c)

lri $AR1,    #0xc84c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51277 (0xc84d)

lri $AR1,    #0xc84d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51278 (0xc84e)

lri $AR1,    #0xc84e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51279 (0xc84f)

lri $AR1,    #0xc84f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51280 (0xc850)

lri $AR1,    #0xc850
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51281 (0xc851)

lri $AR1,    #0xc851
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51282 (0xc852)

lri $AR1,    #0xc852
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51283 (0xc853)

lri $AR1,    #0xc853
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51284 (0xc854)

lri $AR1,    #0xc854
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51285 (0xc855)

lri $AR1,    #0xc855
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51286 (0xc856)

lri $AR1,    #0xc856
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51287 (0xc857)

lri $AR1,    #0xc857
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51288 (0xc858)

lri $AR1,    #0xc858
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51289 (0xc859)

lri $AR1,    #0xc859
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51290 (0xc85a)

lri $AR1,    #0xc85a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51291 (0xc85b)

lri $AR1,    #0xc85b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51292 (0xc85c)

lri $AR1,    #0xc85c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51293 (0xc85d)

lri $AR1,    #0xc85d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51294 (0xc85e)

lri $AR1,    #0xc85e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51295 (0xc85f)

lri $AR1,    #0xc85f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51296 (0xc860)

lri $AR1,    #0xc860
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51297 (0xc861)

lri $AR1,    #0xc861
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51298 (0xc862)

lri $AR1,    #0xc862
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51299 (0xc863)

lri $AR1,    #0xc863
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51300 (0xc864)

lri $AR1,    #0xc864
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51301 (0xc865)

lri $AR1,    #0xc865
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51302 (0xc866)

lri $AR1,    #0xc866
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51303 (0xc867)

lri $AR1,    #0xc867
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51304 (0xc868)

lri $AR1,    #0xc868
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51305 (0xc869)

lri $AR1,    #0xc869
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51306 (0xc86a)

lri $AR1,    #0xc86a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51307 (0xc86b)

lri $AR1,    #0xc86b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51308 (0xc86c)

lri $AR1,    #0xc86c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51309 (0xc86d)

lri $AR1,    #0xc86d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51310 (0xc86e)

lri $AR1,    #0xc86e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51311 (0xc86f)

lri $AR1,    #0xc86f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51312 (0xc870)

lri $AR1,    #0xc870
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51313 (0xc871)

lri $AR1,    #0xc871
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51314 (0xc872)

lri $AR1,    #0xc872
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51315 (0xc873)

lri $AR1,    #0xc873
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51316 (0xc874)

lri $AR1,    #0xc874
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51317 (0xc875)

lri $AR1,    #0xc875
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51318 (0xc876)

lri $AR1,    #0xc876
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51319 (0xc877)

lri $AR1,    #0xc877
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51320 (0xc878)

lri $AR1,    #0xc878
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51321 (0xc879)

lri $AR1,    #0xc879
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51322 (0xc87a)

lri $AR1,    #0xc87a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51323 (0xc87b)

lri $AR1,    #0xc87b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51324 (0xc87c)

lri $AR1,    #0xc87c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51325 (0xc87d)

lri $AR1,    #0xc87d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51326 (0xc87e)

lri $AR1,    #0xc87e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51327 (0xc87f)

lri $AR1,    #0xc87f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 51328 (0xc880)

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

