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

lri $AR1,    #0x0040
lri $IX1,    #0xd2c6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53959 (0xd2c7)

lri $AR1,    #0x0040
lri $IX1,    #0xd2c7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53960 (0xd2c8)

lri $AR1,    #0x0040
lri $IX1,    #0xd2c8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53961 (0xd2c9)

lri $AR1,    #0x0040
lri $IX1,    #0xd2c9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53962 (0xd2ca)

lri $AR1,    #0x0040
lri $IX1,    #0xd2ca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53963 (0xd2cb)

lri $AR1,    #0x0040
lri $IX1,    #0xd2cb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53964 (0xd2cc)

lri $AR1,    #0x0040
lri $IX1,    #0xd2cc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53965 (0xd2cd)

lri $AR1,    #0x0040
lri $IX1,    #0xd2cd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53966 (0xd2ce)

lri $AR1,    #0x0040
lri $IX1,    #0xd2ce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53967 (0xd2cf)

lri $AR1,    #0x0040
lri $IX1,    #0xd2cf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53968 (0xd2d0)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53969 (0xd2d1)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53970 (0xd2d2)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53971 (0xd2d3)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53972 (0xd2d4)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53973 (0xd2d5)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53974 (0xd2d6)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53975 (0xd2d7)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53976 (0xd2d8)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53977 (0xd2d9)

lri $AR1,    #0x0040
lri $IX1,    #0xd2d9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53978 (0xd2da)

lri $AR1,    #0x0040
lri $IX1,    #0xd2da
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53979 (0xd2db)

lri $AR1,    #0x0040
lri $IX1,    #0xd2db
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53980 (0xd2dc)

lri $AR1,    #0x0040
lri $IX1,    #0xd2dc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53981 (0xd2dd)

lri $AR1,    #0x0040
lri $IX1,    #0xd2dd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53982 (0xd2de)

lri $AR1,    #0x0040
lri $IX1,    #0xd2de
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53983 (0xd2df)

lri $AR1,    #0x0040
lri $IX1,    #0xd2df
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53984 (0xd2e0)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53985 (0xd2e1)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53986 (0xd2e2)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53987 (0xd2e3)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53988 (0xd2e4)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53989 (0xd2e5)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53990 (0xd2e6)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53991 (0xd2e7)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53992 (0xd2e8)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53993 (0xd2e9)

lri $AR1,    #0x0040
lri $IX1,    #0xd2e9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53994 (0xd2ea)

lri $AR1,    #0x0040
lri $IX1,    #0xd2ea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53995 (0xd2eb)

lri $AR1,    #0x0040
lri $IX1,    #0xd2eb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53996 (0xd2ec)

lri $AR1,    #0x0040
lri $IX1,    #0xd2ec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53997 (0xd2ed)

lri $AR1,    #0x0040
lri $IX1,    #0xd2ed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53998 (0xd2ee)

lri $AR1,    #0x0040
lri $IX1,    #0xd2ee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53999 (0xd2ef)

lri $AR1,    #0x0040
lri $IX1,    #0xd2ef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54000 (0xd2f0)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54001 (0xd2f1)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54002 (0xd2f2)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54003 (0xd2f3)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54004 (0xd2f4)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54005 (0xd2f5)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54006 (0xd2f6)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54007 (0xd2f7)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54008 (0xd2f8)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54009 (0xd2f9)

lri $AR1,    #0x0040
lri $IX1,    #0xd2f9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54010 (0xd2fa)

lri $AR1,    #0x0040
lri $IX1,    #0xd2fa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54011 (0xd2fb)

lri $AR1,    #0x0040
lri $IX1,    #0xd2fb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54012 (0xd2fc)

lri $AR1,    #0x0040
lri $IX1,    #0xd2fc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54013 (0xd2fd)

lri $AR1,    #0x0040
lri $IX1,    #0xd2fd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54014 (0xd2fe)

lri $AR1,    #0x0040
lri $IX1,    #0xd2fe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54015 (0xd2ff)

lri $AR1,    #0x0040
lri $IX1,    #0xd2ff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54016 (0xd300)

lri $AR1,    #0x0040
lri $IX1,    #0xd300
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54017 (0xd301)

lri $AR1,    #0x0040
lri $IX1,    #0xd301
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54018 (0xd302)

lri $AR1,    #0x0040
lri $IX1,    #0xd302
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54019 (0xd303)

lri $AR1,    #0x0040
lri $IX1,    #0xd303
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54020 (0xd304)

lri $AR1,    #0x0040
lri $IX1,    #0xd304
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54021 (0xd305)

lri $AR1,    #0x0040
lri $IX1,    #0xd305
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54022 (0xd306)

lri $AR1,    #0x0040
lri $IX1,    #0xd306
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54023 (0xd307)

lri $AR1,    #0x0040
lri $IX1,    #0xd307
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54024 (0xd308)

lri $AR1,    #0x0040
lri $IX1,    #0xd308
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54025 (0xd309)

lri $AR1,    #0x0040
lri $IX1,    #0xd309
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54026 (0xd30a)

lri $AR1,    #0x0040
lri $IX1,    #0xd30a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54027 (0xd30b)

lri $AR1,    #0x0040
lri $IX1,    #0xd30b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54028 (0xd30c)

lri $AR1,    #0x0040
lri $IX1,    #0xd30c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54029 (0xd30d)

lri $AR1,    #0x0040
lri $IX1,    #0xd30d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54030 (0xd30e)

lri $AR1,    #0x0040
lri $IX1,    #0xd30e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54031 (0xd30f)

lri $AR1,    #0x0040
lri $IX1,    #0xd30f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54032 (0xd310)

lri $AR1,    #0x0040
lri $IX1,    #0xd310
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54033 (0xd311)

lri $AR1,    #0x0040
lri $IX1,    #0xd311
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54034 (0xd312)

lri $AR1,    #0x0040
lri $IX1,    #0xd312
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54035 (0xd313)

lri $AR1,    #0x0040
lri $IX1,    #0xd313
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54036 (0xd314)

lri $AR1,    #0x0040
lri $IX1,    #0xd314
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54037 (0xd315)

lri $AR1,    #0x0040
lri $IX1,    #0xd315
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54038 (0xd316)

lri $AR1,    #0x0040
lri $IX1,    #0xd316
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54039 (0xd317)

lri $AR1,    #0x0040
lri $IX1,    #0xd317
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54040 (0xd318)

lri $AR1,    #0x0040
lri $IX1,    #0xd318
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54041 (0xd319)

lri $AR1,    #0x0040
lri $IX1,    #0xd319
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54042 (0xd31a)

lri $AR1,    #0x0040
lri $IX1,    #0xd31a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54043 (0xd31b)

lri $AR1,    #0x0040
lri $IX1,    #0xd31b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54044 (0xd31c)

lri $AR1,    #0x0040
lri $IX1,    #0xd31c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54045 (0xd31d)

lri $AR1,    #0x0040
lri $IX1,    #0xd31d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54046 (0xd31e)

lri $AR1,    #0x0040
lri $IX1,    #0xd31e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54047 (0xd31f)

lri $AR1,    #0x0040
lri $IX1,    #0xd31f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54048 (0xd320)

lri $AR1,    #0x0040
lri $IX1,    #0xd320
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54049 (0xd321)

lri $AR1,    #0x0040
lri $IX1,    #0xd321
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54050 (0xd322)

lri $AR1,    #0x0040
lri $IX1,    #0xd322
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54051 (0xd323)

lri $AR1,    #0x0040
lri $IX1,    #0xd323
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54052 (0xd324)

lri $AR1,    #0x0040
lri $IX1,    #0xd324
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54053 (0xd325)

lri $AR1,    #0x0040
lri $IX1,    #0xd325
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54054 (0xd326)

lri $AR1,    #0x0040
lri $IX1,    #0xd326
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54055 (0xd327)

lri $AR1,    #0x0040
lri $IX1,    #0xd327
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54056 (0xd328)

lri $AR1,    #0x0040
lri $IX1,    #0xd328
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54057 (0xd329)

lri $AR1,    #0x0040
lri $IX1,    #0xd329
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54058 (0xd32a)

lri $AR1,    #0x0040
lri $IX1,    #0xd32a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54059 (0xd32b)

lri $AR1,    #0x0040
lri $IX1,    #0xd32b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54060 (0xd32c)

lri $AR1,    #0x0040
lri $IX1,    #0xd32c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54061 (0xd32d)

lri $AR1,    #0x0040
lri $IX1,    #0xd32d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54062 (0xd32e)

lri $AR1,    #0x0040
lri $IX1,    #0xd32e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54063 (0xd32f)

lri $AR1,    #0x0040
lri $IX1,    #0xd32f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54064 (0xd330)

lri $AR1,    #0x0040
lri $IX1,    #0xd330
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54065 (0xd331)

lri $AR1,    #0x0040
lri $IX1,    #0xd331
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54066 (0xd332)

lri $AR1,    #0x0040
lri $IX1,    #0xd332
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54067 (0xd333)

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