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

lri $AR1,    #0x4000
lri $IX1,    #0x2300
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8961 (0x2301)

lri $AR1,    #0x4000
lri $IX1,    #0x2301
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8962 (0x2302)

lri $AR1,    #0x4000
lri $IX1,    #0x2302
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8963 (0x2303)

lri $AR1,    #0x4000
lri $IX1,    #0x2303
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8964 (0x2304)

lri $AR1,    #0x4000
lri $IX1,    #0x2304
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8965 (0x2305)

lri $AR1,    #0x4000
lri $IX1,    #0x2305
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8966 (0x2306)

lri $AR1,    #0x4000
lri $IX1,    #0x2306
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8967 (0x2307)

lri $AR1,    #0x4000
lri $IX1,    #0x2307
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8968 (0x2308)

lri $AR1,    #0x4000
lri $IX1,    #0x2308
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8969 (0x2309)

lri $AR1,    #0x4000
lri $IX1,    #0x2309
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8970 (0x230a)

lri $AR1,    #0x4000
lri $IX1,    #0x230a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8971 (0x230b)

lri $AR1,    #0x4000
lri $IX1,    #0x230b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8972 (0x230c)

lri $AR1,    #0x4000
lri $IX1,    #0x230c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8973 (0x230d)

lri $AR1,    #0x4000
lri $IX1,    #0x230d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8974 (0x230e)

lri $AR1,    #0x4000
lri $IX1,    #0x230e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8975 (0x230f)

lri $AR1,    #0x4000
lri $IX1,    #0x230f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8976 (0x2310)

lri $AR1,    #0x4000
lri $IX1,    #0x2310
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8977 (0x2311)

lri $AR1,    #0x4000
lri $IX1,    #0x2311
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8978 (0x2312)

lri $AR1,    #0x4000
lri $IX1,    #0x2312
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8979 (0x2313)

lri $AR1,    #0x4000
lri $IX1,    #0x2313
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8980 (0x2314)

lri $AR1,    #0x4000
lri $IX1,    #0x2314
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8981 (0x2315)

lri $AR1,    #0x4000
lri $IX1,    #0x2315
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8982 (0x2316)

lri $AR1,    #0x4000
lri $IX1,    #0x2316
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8983 (0x2317)

lri $AR1,    #0x4000
lri $IX1,    #0x2317
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8984 (0x2318)

lri $AR1,    #0x4000
lri $IX1,    #0x2318
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8985 (0x2319)

lri $AR1,    #0x4000
lri $IX1,    #0x2319
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8986 (0x231a)

lri $AR1,    #0x4000
lri $IX1,    #0x231a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8987 (0x231b)

lri $AR1,    #0x4000
lri $IX1,    #0x231b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8988 (0x231c)

lri $AR1,    #0x4000
lri $IX1,    #0x231c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8989 (0x231d)

lri $AR1,    #0x4000
lri $IX1,    #0x231d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8990 (0x231e)

lri $AR1,    #0x4000
lri $IX1,    #0x231e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8991 (0x231f)

lri $AR1,    #0x4000
lri $IX1,    #0x231f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8992 (0x2320)

lri $AR1,    #0x4000
lri $IX1,    #0x2320
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8993 (0x2321)

lri $AR1,    #0x4000
lri $IX1,    #0x2321
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8994 (0x2322)

lri $AR1,    #0x4000
lri $IX1,    #0x2322
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8995 (0x2323)

lri $AR1,    #0x4000
lri $IX1,    #0x2323
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8996 (0x2324)

lri $AR1,    #0x4000
lri $IX1,    #0x2324
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8997 (0x2325)

lri $AR1,    #0x4000
lri $IX1,    #0x2325
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8998 (0x2326)

lri $AR1,    #0x4000
lri $IX1,    #0x2326
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 8999 (0x2327)

lri $AR1,    #0x4000
lri $IX1,    #0x2327
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9000 (0x2328)

lri $AR1,    #0x4000
lri $IX1,    #0x2328
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9001 (0x2329)

lri $AR1,    #0x4000
lri $IX1,    #0x2329
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9002 (0x232a)

lri $AR1,    #0x4000
lri $IX1,    #0x232a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9003 (0x232b)

lri $AR1,    #0x4000
lri $IX1,    #0x232b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9004 (0x232c)

lri $AR1,    #0x4000
lri $IX1,    #0x232c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9005 (0x232d)

lri $AR1,    #0x4000
lri $IX1,    #0x232d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9006 (0x232e)

lri $AR1,    #0x4000
lri $IX1,    #0x232e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9007 (0x232f)

lri $AR1,    #0x4000
lri $IX1,    #0x232f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9008 (0x2330)

lri $AR1,    #0x4000
lri $IX1,    #0x2330
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9009 (0x2331)

lri $AR1,    #0x4000
lri $IX1,    #0x2331
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9010 (0x2332)

lri $AR1,    #0x4000
lri $IX1,    #0x2332
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9011 (0x2333)

lri $AR1,    #0x4000
lri $IX1,    #0x2333
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9012 (0x2334)

lri $AR1,    #0x4000
lri $IX1,    #0x2334
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9013 (0x2335)

lri $AR1,    #0x4000
lri $IX1,    #0x2335
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9014 (0x2336)

lri $AR1,    #0x4000
lri $IX1,    #0x2336
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9015 (0x2337)

lri $AR1,    #0x4000
lri $IX1,    #0x2337
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9016 (0x2338)

lri $AR1,    #0x4000
lri $IX1,    #0x2338
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9017 (0x2339)

lri $AR1,    #0x4000
lri $IX1,    #0x2339
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9018 (0x233a)

lri $AR1,    #0x4000
lri $IX1,    #0x233a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9019 (0x233b)

lri $AR1,    #0x4000
lri $IX1,    #0x233b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9020 (0x233c)

lri $AR1,    #0x4000
lri $IX1,    #0x233c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9021 (0x233d)

lri $AR1,    #0x4000
lri $IX1,    #0x233d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9022 (0x233e)

lri $AR1,    #0x4000
lri $IX1,    #0x233e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9023 (0x233f)

lri $AR1,    #0x4000
lri $IX1,    #0x233f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9024 (0x2340)

lri $AR1,    #0x4000
lri $IX1,    #0x2340
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9025 (0x2341)

lri $AR1,    #0x4000
lri $IX1,    #0x2341
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9026 (0x2342)

lri $AR1,    #0x4000
lri $IX1,    #0x2342
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9027 (0x2343)

lri $AR1,    #0x4000
lri $IX1,    #0x2343
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9028 (0x2344)

lri $AR1,    #0x4000
lri $IX1,    #0x2344
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9029 (0x2345)

lri $AR1,    #0x4000
lri $IX1,    #0x2345
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9030 (0x2346)

lri $AR1,    #0x4000
lri $IX1,    #0x2346
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9031 (0x2347)

lri $AR1,    #0x4000
lri $IX1,    #0x2347
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9032 (0x2348)

lri $AR1,    #0x4000
lri $IX1,    #0x2348
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9033 (0x2349)

lri $AR1,    #0x4000
lri $IX1,    #0x2349
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9034 (0x234a)

lri $AR1,    #0x4000
lri $IX1,    #0x234a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9035 (0x234b)

lri $AR1,    #0x4000
lri $IX1,    #0x234b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9036 (0x234c)

lri $AR1,    #0x4000
lri $IX1,    #0x234c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9037 (0x234d)

lri $AR1,    #0x4000
lri $IX1,    #0x234d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9038 (0x234e)

lri $AR1,    #0x4000
lri $IX1,    #0x234e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9039 (0x234f)

lri $AR1,    #0x4000
lri $IX1,    #0x234f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9040 (0x2350)

lri $AR1,    #0x4000
lri $IX1,    #0x2350
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9041 (0x2351)

lri $AR1,    #0x4000
lri $IX1,    #0x2351
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9042 (0x2352)

lri $AR1,    #0x4000
lri $IX1,    #0x2352
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9043 (0x2353)

lri $AR1,    #0x4000
lri $IX1,    #0x2353
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9044 (0x2354)

lri $AR1,    #0x4000
lri $IX1,    #0x2354
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9045 (0x2355)

lri $AR1,    #0x4000
lri $IX1,    #0x2355
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9046 (0x2356)

lri $AR1,    #0x4000
lri $IX1,    #0x2356
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9047 (0x2357)

lri $AR1,    #0x4000
lri $IX1,    #0x2357
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9048 (0x2358)

lri $AR1,    #0x4000
lri $IX1,    #0x2358
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9049 (0x2359)

lri $AR1,    #0x4000
lri $IX1,    #0x2359
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9050 (0x235a)

lri $AR1,    #0x4000
lri $IX1,    #0x235a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9051 (0x235b)

lri $AR1,    #0x4000
lri $IX1,    #0x235b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9052 (0x235c)

lri $AR1,    #0x4000
lri $IX1,    #0x235c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9053 (0x235d)

lri $AR1,    #0x4000
lri $IX1,    #0x235d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9054 (0x235e)

lri $AR1,    #0x4000
lri $IX1,    #0x235e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9055 (0x235f)

lri $AR1,    #0x4000
lri $IX1,    #0x235f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9056 (0x2360)

lri $AR1,    #0x4000
lri $IX1,    #0x2360
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9057 (0x2361)

lri $AR1,    #0x4000
lri $IX1,    #0x2361
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9058 (0x2362)

lri $AR1,    #0x4000
lri $IX1,    #0x2362
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9059 (0x2363)

lri $AR1,    #0x4000
lri $IX1,    #0x2363
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9060 (0x2364)

lri $AR1,    #0x4000
lri $IX1,    #0x2364
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9061 (0x2365)

lri $AR1,    #0x4000
lri $IX1,    #0x2365
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9062 (0x2366)

lri $AR1,    #0x4000
lri $IX1,    #0x2366
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9063 (0x2367)

lri $AR1,    #0x4000
lri $IX1,    #0x2367
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9064 (0x2368)

lri $AR1,    #0x4000
lri $IX1,    #0x2368
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9065 (0x2369)

lri $AR1,    #0x4000
lri $IX1,    #0x2369
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9066 (0x236a)

lri $AR1,    #0x4000
lri $IX1,    #0x236a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9067 (0x236b)

lri $AR1,    #0x4000
lri $IX1,    #0x236b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9068 (0x236c)

lri $AR1,    #0x4000
lri $IX1,    #0x236c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9069 (0x236d)

lri $AR1,    #0x4000
lri $IX1,    #0x236d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9070 (0x236e)

lri $AR1,    #0x4000
lri $IX1,    #0x236e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9071 (0x236f)

lri $AR1,    #0x4000
lri $IX1,    #0x236f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9072 (0x2370)

lri $AR1,    #0x4000
lri $IX1,    #0x2370
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9073 (0x2371)

lri $AR1,    #0x4000
lri $IX1,    #0x2371
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9074 (0x2372)

lri $AR1,    #0x4000
lri $IX1,    #0x2372
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9075 (0x2373)

lri $AR1,    #0x4000
lri $IX1,    #0x2373
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9076 (0x2374)

lri $AR1,    #0x4000
lri $IX1,    #0x2374
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9077 (0x2375)

lri $AR1,    #0x4000
lri $IX1,    #0x2375
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9078 (0x2376)

lri $AR1,    #0x4000
lri $IX1,    #0x2376
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9079 (0x2377)

lri $AR1,    #0x4000
lri $IX1,    #0x2377
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9080 (0x2378)

lri $AR1,    #0x4000
lri $IX1,    #0x2378
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9081 (0x2379)

lri $AR1,    #0x4000
lri $IX1,    #0x2379
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9082 (0x237a)

lri $AR1,    #0x4000
lri $IX1,    #0x237a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9083 (0x237b)

lri $AR1,    #0x4000
lri $IX1,    #0x237b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9084 (0x237c)

lri $AR1,    #0x4000
lri $IX1,    #0x237c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9085 (0x237d)

lri $AR1,    #0x4000
lri $IX1,    #0x237d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9086 (0x237e)

lri $AR1,    #0x4000
lri $IX1,    #0x237e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9087 (0x237f)

lri $AR1,    #0x4000
lri $IX1,    #0x237f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 9088 (0x2380)

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

