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

lri $AR1,    #0x4000
lri $IX1,    #0xc300
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49921 (0xc301)

lri $AR1,    #0x4000
lri $IX1,    #0xc301
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49922 (0xc302)

lri $AR1,    #0x4000
lri $IX1,    #0xc302
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49923 (0xc303)

lri $AR1,    #0x4000
lri $IX1,    #0xc303
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49924 (0xc304)

lri $AR1,    #0x4000
lri $IX1,    #0xc304
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49925 (0xc305)

lri $AR1,    #0x4000
lri $IX1,    #0xc305
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49926 (0xc306)

lri $AR1,    #0x4000
lri $IX1,    #0xc306
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49927 (0xc307)

lri $AR1,    #0x4000
lri $IX1,    #0xc307
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49928 (0xc308)

lri $AR1,    #0x4000
lri $IX1,    #0xc308
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49929 (0xc309)

lri $AR1,    #0x4000
lri $IX1,    #0xc309
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49930 (0xc30a)

lri $AR1,    #0x4000
lri $IX1,    #0xc30a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49931 (0xc30b)

lri $AR1,    #0x4000
lri $IX1,    #0xc30b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49932 (0xc30c)

lri $AR1,    #0x4000
lri $IX1,    #0xc30c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49933 (0xc30d)

lri $AR1,    #0x4000
lri $IX1,    #0xc30d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49934 (0xc30e)

lri $AR1,    #0x4000
lri $IX1,    #0xc30e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49935 (0xc30f)

lri $AR1,    #0x4000
lri $IX1,    #0xc30f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49936 (0xc310)

lri $AR1,    #0x4000
lri $IX1,    #0xc310
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49937 (0xc311)

lri $AR1,    #0x4000
lri $IX1,    #0xc311
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49938 (0xc312)

lri $AR1,    #0x4000
lri $IX1,    #0xc312
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49939 (0xc313)

lri $AR1,    #0x4000
lri $IX1,    #0xc313
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49940 (0xc314)

lri $AR1,    #0x4000
lri $IX1,    #0xc314
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49941 (0xc315)

lri $AR1,    #0x4000
lri $IX1,    #0xc315
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49942 (0xc316)

lri $AR1,    #0x4000
lri $IX1,    #0xc316
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49943 (0xc317)

lri $AR1,    #0x4000
lri $IX1,    #0xc317
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49944 (0xc318)

lri $AR1,    #0x4000
lri $IX1,    #0xc318
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49945 (0xc319)

lri $AR1,    #0x4000
lri $IX1,    #0xc319
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49946 (0xc31a)

lri $AR1,    #0x4000
lri $IX1,    #0xc31a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49947 (0xc31b)

lri $AR1,    #0x4000
lri $IX1,    #0xc31b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49948 (0xc31c)

lri $AR1,    #0x4000
lri $IX1,    #0xc31c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49949 (0xc31d)

lri $AR1,    #0x4000
lri $IX1,    #0xc31d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49950 (0xc31e)

lri $AR1,    #0x4000
lri $IX1,    #0xc31e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49951 (0xc31f)

lri $AR1,    #0x4000
lri $IX1,    #0xc31f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49952 (0xc320)

lri $AR1,    #0x4000
lri $IX1,    #0xc320
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49953 (0xc321)

lri $AR1,    #0x4000
lri $IX1,    #0xc321
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49954 (0xc322)

lri $AR1,    #0x4000
lri $IX1,    #0xc322
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49955 (0xc323)

lri $AR1,    #0x4000
lri $IX1,    #0xc323
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49956 (0xc324)

lri $AR1,    #0x4000
lri $IX1,    #0xc324
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49957 (0xc325)

lri $AR1,    #0x4000
lri $IX1,    #0xc325
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49958 (0xc326)

lri $AR1,    #0x4000
lri $IX1,    #0xc326
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49959 (0xc327)

lri $AR1,    #0x4000
lri $IX1,    #0xc327
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49960 (0xc328)

lri $AR1,    #0x4000
lri $IX1,    #0xc328
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49961 (0xc329)

lri $AR1,    #0x4000
lri $IX1,    #0xc329
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49962 (0xc32a)

lri $AR1,    #0x4000
lri $IX1,    #0xc32a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49963 (0xc32b)

lri $AR1,    #0x4000
lri $IX1,    #0xc32b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49964 (0xc32c)

lri $AR1,    #0x4000
lri $IX1,    #0xc32c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49965 (0xc32d)

lri $AR1,    #0x4000
lri $IX1,    #0xc32d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49966 (0xc32e)

lri $AR1,    #0x4000
lri $IX1,    #0xc32e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49967 (0xc32f)

lri $AR1,    #0x4000
lri $IX1,    #0xc32f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49968 (0xc330)

lri $AR1,    #0x4000
lri $IX1,    #0xc330
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49969 (0xc331)

lri $AR1,    #0x4000
lri $IX1,    #0xc331
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49970 (0xc332)

lri $AR1,    #0x4000
lri $IX1,    #0xc332
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49971 (0xc333)

lri $AR1,    #0x4000
lri $IX1,    #0xc333
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49972 (0xc334)

lri $AR1,    #0x4000
lri $IX1,    #0xc334
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49973 (0xc335)

lri $AR1,    #0x4000
lri $IX1,    #0xc335
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49974 (0xc336)

lri $AR1,    #0x4000
lri $IX1,    #0xc336
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49975 (0xc337)

lri $AR1,    #0x4000
lri $IX1,    #0xc337
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49976 (0xc338)

lri $AR1,    #0x4000
lri $IX1,    #0xc338
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49977 (0xc339)

lri $AR1,    #0x4000
lri $IX1,    #0xc339
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49978 (0xc33a)

lri $AR1,    #0x4000
lri $IX1,    #0xc33a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49979 (0xc33b)

lri $AR1,    #0x4000
lri $IX1,    #0xc33b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49980 (0xc33c)

lri $AR1,    #0x4000
lri $IX1,    #0xc33c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49981 (0xc33d)

lri $AR1,    #0x4000
lri $IX1,    #0xc33d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49982 (0xc33e)

lri $AR1,    #0x4000
lri $IX1,    #0xc33e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49983 (0xc33f)

lri $AR1,    #0x4000
lri $IX1,    #0xc33f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49984 (0xc340)

lri $AR1,    #0x4000
lri $IX1,    #0xc340
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49985 (0xc341)

lri $AR1,    #0x4000
lri $IX1,    #0xc341
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49986 (0xc342)

lri $AR1,    #0x4000
lri $IX1,    #0xc342
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49987 (0xc343)

lri $AR1,    #0x4000
lri $IX1,    #0xc343
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49988 (0xc344)

lri $AR1,    #0x4000
lri $IX1,    #0xc344
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49989 (0xc345)

lri $AR1,    #0x4000
lri $IX1,    #0xc345
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49990 (0xc346)

lri $AR1,    #0x4000
lri $IX1,    #0xc346
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49991 (0xc347)

lri $AR1,    #0x4000
lri $IX1,    #0xc347
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49992 (0xc348)

lri $AR1,    #0x4000
lri $IX1,    #0xc348
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49993 (0xc349)

lri $AR1,    #0x4000
lri $IX1,    #0xc349
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49994 (0xc34a)

lri $AR1,    #0x4000
lri $IX1,    #0xc34a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49995 (0xc34b)

lri $AR1,    #0x4000
lri $IX1,    #0xc34b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49996 (0xc34c)

lri $AR1,    #0x4000
lri $IX1,    #0xc34c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49997 (0xc34d)

lri $AR1,    #0x4000
lri $IX1,    #0xc34d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49998 (0xc34e)

lri $AR1,    #0x4000
lri $IX1,    #0xc34e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 49999 (0xc34f)

lri $AR1,    #0x4000
lri $IX1,    #0xc34f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50000 (0xc350)

lri $AR1,    #0x4000
lri $IX1,    #0xc350
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50001 (0xc351)

lri $AR1,    #0x4000
lri $IX1,    #0xc351
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50002 (0xc352)

lri $AR1,    #0x4000
lri $IX1,    #0xc352
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50003 (0xc353)

lri $AR1,    #0x4000
lri $IX1,    #0xc353
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50004 (0xc354)

lri $AR1,    #0x4000
lri $IX1,    #0xc354
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50005 (0xc355)

lri $AR1,    #0x4000
lri $IX1,    #0xc355
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50006 (0xc356)

lri $AR1,    #0x4000
lri $IX1,    #0xc356
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50007 (0xc357)

lri $AR1,    #0x4000
lri $IX1,    #0xc357
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50008 (0xc358)

lri $AR1,    #0x4000
lri $IX1,    #0xc358
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50009 (0xc359)

lri $AR1,    #0x4000
lri $IX1,    #0xc359
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50010 (0xc35a)

lri $AR1,    #0x4000
lri $IX1,    #0xc35a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50011 (0xc35b)

lri $AR1,    #0x4000
lri $IX1,    #0xc35b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50012 (0xc35c)

lri $AR1,    #0x4000
lri $IX1,    #0xc35c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50013 (0xc35d)

lri $AR1,    #0x4000
lri $IX1,    #0xc35d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50014 (0xc35e)

lri $AR1,    #0x4000
lri $IX1,    #0xc35e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50015 (0xc35f)

lri $AR1,    #0x4000
lri $IX1,    #0xc35f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50016 (0xc360)

lri $AR1,    #0x4000
lri $IX1,    #0xc360
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50017 (0xc361)

lri $AR1,    #0x4000
lri $IX1,    #0xc361
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50018 (0xc362)

lri $AR1,    #0x4000
lri $IX1,    #0xc362
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50019 (0xc363)

lri $AR1,    #0x4000
lri $IX1,    #0xc363
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50020 (0xc364)

lri $AR1,    #0x4000
lri $IX1,    #0xc364
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50021 (0xc365)

lri $AR1,    #0x4000
lri $IX1,    #0xc365
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50022 (0xc366)

lri $AR1,    #0x4000
lri $IX1,    #0xc366
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50023 (0xc367)

lri $AR1,    #0x4000
lri $IX1,    #0xc367
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50024 (0xc368)

lri $AR1,    #0x4000
lri $IX1,    #0xc368
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50025 (0xc369)

lri $AR1,    #0x4000
lri $IX1,    #0xc369
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50026 (0xc36a)

lri $AR1,    #0x4000
lri $IX1,    #0xc36a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50027 (0xc36b)

lri $AR1,    #0x4000
lri $IX1,    #0xc36b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50028 (0xc36c)

lri $AR1,    #0x4000
lri $IX1,    #0xc36c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50029 (0xc36d)

lri $AR1,    #0x4000
lri $IX1,    #0xc36d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50030 (0xc36e)

lri $AR1,    #0x4000
lri $IX1,    #0xc36e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50031 (0xc36f)

lri $AR1,    #0x4000
lri $IX1,    #0xc36f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50032 (0xc370)

lri $AR1,    #0x4000
lri $IX1,    #0xc370
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50033 (0xc371)

lri $AR1,    #0x4000
lri $IX1,    #0xc371
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50034 (0xc372)

lri $AR1,    #0x4000
lri $IX1,    #0xc372
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50035 (0xc373)

lri $AR1,    #0x4000
lri $IX1,    #0xc373
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50036 (0xc374)

lri $AR1,    #0x4000
lri $IX1,    #0xc374
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50037 (0xc375)

lri $AR1,    #0x4000
lri $IX1,    #0xc375
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50038 (0xc376)

lri $AR1,    #0x4000
lri $IX1,    #0xc376
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50039 (0xc377)

lri $AR1,    #0x4000
lri $IX1,    #0xc377
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50040 (0xc378)

lri $AR1,    #0x4000
lri $IX1,    #0xc378
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50041 (0xc379)

lri $AR1,    #0x4000
lri $IX1,    #0xc379
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50042 (0xc37a)

lri $AR1,    #0x4000
lri $IX1,    #0xc37a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50043 (0xc37b)

lri $AR1,    #0x4000
lri $IX1,    #0xc37b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50044 (0xc37c)

lri $AR1,    #0x4000
lri $IX1,    #0xc37c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50045 (0xc37d)

lri $AR1,    #0x4000
lri $IX1,    #0xc37d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50046 (0xc37e)

lri $AR1,    #0x4000
lri $IX1,    #0xc37e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50047 (0xc37f)

lri $AR1,    #0x4000
lri $IX1,    #0xc37f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 50048 (0xc380)

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

