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

lri $AR1,    #0x4000
lri $IX1,    #0xde80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56961 (0xde81)

lri $AR1,    #0x4000
lri $IX1,    #0xde81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56962 (0xde82)

lri $AR1,    #0x4000
lri $IX1,    #0xde82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56963 (0xde83)

lri $AR1,    #0x4000
lri $IX1,    #0xde83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56964 (0xde84)

lri $AR1,    #0x4000
lri $IX1,    #0xde84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56965 (0xde85)

lri $AR1,    #0x4000
lri $IX1,    #0xde85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56966 (0xde86)

lri $AR1,    #0x4000
lri $IX1,    #0xde86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56967 (0xde87)

lri $AR1,    #0x4000
lri $IX1,    #0xde87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56968 (0xde88)

lri $AR1,    #0x4000
lri $IX1,    #0xde88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56969 (0xde89)

lri $AR1,    #0x4000
lri $IX1,    #0xde89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56970 (0xde8a)

lri $AR1,    #0x4000
lri $IX1,    #0xde8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56971 (0xde8b)

lri $AR1,    #0x4000
lri $IX1,    #0xde8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56972 (0xde8c)

lri $AR1,    #0x4000
lri $IX1,    #0xde8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56973 (0xde8d)

lri $AR1,    #0x4000
lri $IX1,    #0xde8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56974 (0xde8e)

lri $AR1,    #0x4000
lri $IX1,    #0xde8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56975 (0xde8f)

lri $AR1,    #0x4000
lri $IX1,    #0xde8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56976 (0xde90)

lri $AR1,    #0x4000
lri $IX1,    #0xde90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56977 (0xde91)

lri $AR1,    #0x4000
lri $IX1,    #0xde91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56978 (0xde92)

lri $AR1,    #0x4000
lri $IX1,    #0xde92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56979 (0xde93)

lri $AR1,    #0x4000
lri $IX1,    #0xde93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56980 (0xde94)

lri $AR1,    #0x4000
lri $IX1,    #0xde94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56981 (0xde95)

lri $AR1,    #0x4000
lri $IX1,    #0xde95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56982 (0xde96)

lri $AR1,    #0x4000
lri $IX1,    #0xde96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56983 (0xde97)

lri $AR1,    #0x4000
lri $IX1,    #0xde97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56984 (0xde98)

lri $AR1,    #0x4000
lri $IX1,    #0xde98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56985 (0xde99)

lri $AR1,    #0x4000
lri $IX1,    #0xde99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56986 (0xde9a)

lri $AR1,    #0x4000
lri $IX1,    #0xde9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56987 (0xde9b)

lri $AR1,    #0x4000
lri $IX1,    #0xde9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56988 (0xde9c)

lri $AR1,    #0x4000
lri $IX1,    #0xde9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56989 (0xde9d)

lri $AR1,    #0x4000
lri $IX1,    #0xde9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56990 (0xde9e)

lri $AR1,    #0x4000
lri $IX1,    #0xde9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56991 (0xde9f)

lri $AR1,    #0x4000
lri $IX1,    #0xde9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56992 (0xdea0)

lri $AR1,    #0x4000
lri $IX1,    #0xdea0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56993 (0xdea1)

lri $AR1,    #0x4000
lri $IX1,    #0xdea1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56994 (0xdea2)

lri $AR1,    #0x4000
lri $IX1,    #0xdea2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56995 (0xdea3)

lri $AR1,    #0x4000
lri $IX1,    #0xdea3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56996 (0xdea4)

lri $AR1,    #0x4000
lri $IX1,    #0xdea4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56997 (0xdea5)

lri $AR1,    #0x4000
lri $IX1,    #0xdea5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56998 (0xdea6)

lri $AR1,    #0x4000
lri $IX1,    #0xdea6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 56999 (0xdea7)

lri $AR1,    #0x4000
lri $IX1,    #0xdea7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57000 (0xdea8)

lri $AR1,    #0x4000
lri $IX1,    #0xdea8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57001 (0xdea9)

lri $AR1,    #0x4000
lri $IX1,    #0xdea9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57002 (0xdeaa)

lri $AR1,    #0x4000
lri $IX1,    #0xdeaa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57003 (0xdeab)

lri $AR1,    #0x4000
lri $IX1,    #0xdeab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57004 (0xdeac)

lri $AR1,    #0x4000
lri $IX1,    #0xdeac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57005 (0xdead)

lri $AR1,    #0x4000
lri $IX1,    #0xdead
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57006 (0xdeae)

lri $AR1,    #0x4000
lri $IX1,    #0xdeae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57007 (0xdeaf)

lri $AR1,    #0x4000
lri $IX1,    #0xdeaf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57008 (0xdeb0)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57009 (0xdeb1)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57010 (0xdeb2)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57011 (0xdeb3)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57012 (0xdeb4)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57013 (0xdeb5)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57014 (0xdeb6)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57015 (0xdeb7)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57016 (0xdeb8)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57017 (0xdeb9)

lri $AR1,    #0x4000
lri $IX1,    #0xdeb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57018 (0xdeba)

lri $AR1,    #0x4000
lri $IX1,    #0xdeba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57019 (0xdebb)

lri $AR1,    #0x4000
lri $IX1,    #0xdebb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57020 (0xdebc)

lri $AR1,    #0x4000
lri $IX1,    #0xdebc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57021 (0xdebd)

lri $AR1,    #0x4000
lri $IX1,    #0xdebd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57022 (0xdebe)

lri $AR1,    #0x4000
lri $IX1,    #0xdebe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57023 (0xdebf)

lri $AR1,    #0x4000
lri $IX1,    #0xdebf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57024 (0xdec0)

lri $AR1,    #0x4000
lri $IX1,    #0xdec0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57025 (0xdec1)

lri $AR1,    #0x4000
lri $IX1,    #0xdec1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57026 (0xdec2)

lri $AR1,    #0x4000
lri $IX1,    #0xdec2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57027 (0xdec3)

lri $AR1,    #0x4000
lri $IX1,    #0xdec3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57028 (0xdec4)

lri $AR1,    #0x4000
lri $IX1,    #0xdec4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57029 (0xdec5)

lri $AR1,    #0x4000
lri $IX1,    #0xdec5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57030 (0xdec6)

lri $AR1,    #0x4000
lri $IX1,    #0xdec6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57031 (0xdec7)

lri $AR1,    #0x4000
lri $IX1,    #0xdec7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57032 (0xdec8)

lri $AR1,    #0x4000
lri $IX1,    #0xdec8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57033 (0xdec9)

lri $AR1,    #0x4000
lri $IX1,    #0xdec9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57034 (0xdeca)

lri $AR1,    #0x4000
lri $IX1,    #0xdeca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57035 (0xdecb)

lri $AR1,    #0x4000
lri $IX1,    #0xdecb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57036 (0xdecc)

lri $AR1,    #0x4000
lri $IX1,    #0xdecc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57037 (0xdecd)

lri $AR1,    #0x4000
lri $IX1,    #0xdecd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57038 (0xdece)

lri $AR1,    #0x4000
lri $IX1,    #0xdece
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57039 (0xdecf)

lri $AR1,    #0x4000
lri $IX1,    #0xdecf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57040 (0xded0)

lri $AR1,    #0x4000
lri $IX1,    #0xded0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57041 (0xded1)

lri $AR1,    #0x4000
lri $IX1,    #0xded1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57042 (0xded2)

lri $AR1,    #0x4000
lri $IX1,    #0xded2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57043 (0xded3)

lri $AR1,    #0x4000
lri $IX1,    #0xded3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57044 (0xded4)

lri $AR1,    #0x4000
lri $IX1,    #0xded4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57045 (0xded5)

lri $AR1,    #0x4000
lri $IX1,    #0xded5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57046 (0xded6)

lri $AR1,    #0x4000
lri $IX1,    #0xded6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57047 (0xded7)

lri $AR1,    #0x4000
lri $IX1,    #0xded7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57048 (0xded8)

lri $AR1,    #0x4000
lri $IX1,    #0xded8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57049 (0xded9)

lri $AR1,    #0x4000
lri $IX1,    #0xded9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57050 (0xdeda)

lri $AR1,    #0x4000
lri $IX1,    #0xdeda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57051 (0xdedb)

lri $AR1,    #0x4000
lri $IX1,    #0xdedb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57052 (0xdedc)

lri $AR1,    #0x4000
lri $IX1,    #0xdedc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57053 (0xdedd)

lri $AR1,    #0x4000
lri $IX1,    #0xdedd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57054 (0xdede)

lri $AR1,    #0x4000
lri $IX1,    #0xdede
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57055 (0xdedf)

lri $AR1,    #0x4000
lri $IX1,    #0xdedf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57056 (0xdee0)

lri $AR1,    #0x4000
lri $IX1,    #0xdee0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57057 (0xdee1)

lri $AR1,    #0x4000
lri $IX1,    #0xdee1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57058 (0xdee2)

lri $AR1,    #0x4000
lri $IX1,    #0xdee2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57059 (0xdee3)

lri $AR1,    #0x4000
lri $IX1,    #0xdee3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57060 (0xdee4)

lri $AR1,    #0x4000
lri $IX1,    #0xdee4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57061 (0xdee5)

lri $AR1,    #0x4000
lri $IX1,    #0xdee5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57062 (0xdee6)

lri $AR1,    #0x4000
lri $IX1,    #0xdee6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57063 (0xdee7)

lri $AR1,    #0x4000
lri $IX1,    #0xdee7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57064 (0xdee8)

lri $AR1,    #0x4000
lri $IX1,    #0xdee8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57065 (0xdee9)

lri $AR1,    #0x4000
lri $IX1,    #0xdee9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57066 (0xdeea)

lri $AR1,    #0x4000
lri $IX1,    #0xdeea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57067 (0xdeeb)

lri $AR1,    #0x4000
lri $IX1,    #0xdeeb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57068 (0xdeec)

lri $AR1,    #0x4000
lri $IX1,    #0xdeec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57069 (0xdeed)

lri $AR1,    #0x4000
lri $IX1,    #0xdeed
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57070 (0xdeee)

lri $AR1,    #0x4000
lri $IX1,    #0xdeee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57071 (0xdeef)

lri $AR1,    #0x4000
lri $IX1,    #0xdeef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57072 (0xdef0)

lri $AR1,    #0x4000
lri $IX1,    #0xdef0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57073 (0xdef1)

lri $AR1,    #0x4000
lri $IX1,    #0xdef1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57074 (0xdef2)

lri $AR1,    #0x4000
lri $IX1,    #0xdef2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57075 (0xdef3)

lri $AR1,    #0x4000
lri $IX1,    #0xdef3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57076 (0xdef4)

lri $AR1,    #0x4000
lri $IX1,    #0xdef4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57077 (0xdef5)

lri $AR1,    #0x4000
lri $IX1,    #0xdef5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57078 (0xdef6)

lri $AR1,    #0x4000
lri $IX1,    #0xdef6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57079 (0xdef7)

lri $AR1,    #0x4000
lri $IX1,    #0xdef7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57080 (0xdef8)

lri $AR1,    #0x4000
lri $IX1,    #0xdef8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57081 (0xdef9)

lri $AR1,    #0x4000
lri $IX1,    #0xdef9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57082 (0xdefa)

lri $AR1,    #0x4000
lri $IX1,    #0xdefa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57083 (0xdefb)

lri $AR1,    #0x4000
lri $IX1,    #0xdefb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57084 (0xdefc)

lri $AR1,    #0x4000
lri $IX1,    #0xdefc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57085 (0xdefd)

lri $AR1,    #0x4000
lri $IX1,    #0xdefd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57086 (0xdefe)

lri $AR1,    #0x4000
lri $IX1,    #0xdefe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57087 (0xdeff)

lri $AR1,    #0x4000
lri $IX1,    #0xdeff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 57088 (0xdf00)

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

