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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb80
cw 0x9
call send_back  ; 48001 (0xbb81)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb81
cw 0x9
call send_back  ; 48002 (0xbb82)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb82
cw 0x9
call send_back  ; 48003 (0xbb83)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb83
cw 0x9
call send_back  ; 48004 (0xbb84)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb84
cw 0x9
call send_back  ; 48005 (0xbb85)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb85
cw 0x9
call send_back  ; 48006 (0xbb86)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb86
cw 0x9
call send_back  ; 48007 (0xbb87)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb87
cw 0x9
call send_back  ; 48008 (0xbb88)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb88
cw 0x9
call send_back  ; 48009 (0xbb89)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb89
cw 0x9
call send_back  ; 48010 (0xbb8a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb8a
cw 0x9
call send_back  ; 48011 (0xbb8b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb8b
cw 0x9
call send_back  ; 48012 (0xbb8c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb8c
cw 0x9
call send_back  ; 48013 (0xbb8d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb8d
cw 0x9
call send_back  ; 48014 (0xbb8e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb8e
cw 0x9
call send_back  ; 48015 (0xbb8f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb8f
cw 0x9
call send_back  ; 48016 (0xbb90)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb90
cw 0x9
call send_back  ; 48017 (0xbb91)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb91
cw 0x9
call send_back  ; 48018 (0xbb92)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb92
cw 0x9
call send_back  ; 48019 (0xbb93)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb93
cw 0x9
call send_back  ; 48020 (0xbb94)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb94
cw 0x9
call send_back  ; 48021 (0xbb95)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb95
cw 0x9
call send_back  ; 48022 (0xbb96)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb96
cw 0x9
call send_back  ; 48023 (0xbb97)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb97
cw 0x9
call send_back  ; 48024 (0xbb98)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb98
cw 0x9
call send_back  ; 48025 (0xbb99)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb99
cw 0x9
call send_back  ; 48026 (0xbb9a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb9a
cw 0x9
call send_back  ; 48027 (0xbb9b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb9b
cw 0x9
call send_back  ; 48028 (0xbb9c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb9c
cw 0x9
call send_back  ; 48029 (0xbb9d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb9d
cw 0x9
call send_back  ; 48030 (0xbb9e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb9e
cw 0x9
call send_back  ; 48031 (0xbb9f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbb9f
cw 0x9
call send_back  ; 48032 (0xbba0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba0
cw 0x9
call send_back  ; 48033 (0xbba1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba1
cw 0x9
call send_back  ; 48034 (0xbba2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba2
cw 0x9
call send_back  ; 48035 (0xbba3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba3
cw 0x9
call send_back  ; 48036 (0xbba4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba4
cw 0x9
call send_back  ; 48037 (0xbba5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba5
cw 0x9
call send_back  ; 48038 (0xbba6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba6
cw 0x9
call send_back  ; 48039 (0xbba7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba7
cw 0x9
call send_back  ; 48040 (0xbba8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba8
cw 0x9
call send_back  ; 48041 (0xbba9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbba9
cw 0x9
call send_back  ; 48042 (0xbbaa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbaa
cw 0x9
call send_back  ; 48043 (0xbbab)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbab
cw 0x9
call send_back  ; 48044 (0xbbac)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbac
cw 0x9
call send_back  ; 48045 (0xbbad)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbad
cw 0x9
call send_back  ; 48046 (0xbbae)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbae
cw 0x9
call send_back  ; 48047 (0xbbaf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbaf
cw 0x9
call send_back  ; 48048 (0xbbb0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb0
cw 0x9
call send_back  ; 48049 (0xbbb1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb1
cw 0x9
call send_back  ; 48050 (0xbbb2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb2
cw 0x9
call send_back  ; 48051 (0xbbb3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb3
cw 0x9
call send_back  ; 48052 (0xbbb4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb4
cw 0x9
call send_back  ; 48053 (0xbbb5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb5
cw 0x9
call send_back  ; 48054 (0xbbb6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb6
cw 0x9
call send_back  ; 48055 (0xbbb7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb7
cw 0x9
call send_back  ; 48056 (0xbbb8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb8
cw 0x9
call send_back  ; 48057 (0xbbb9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbb9
cw 0x9
call send_back  ; 48058 (0xbbba)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbba
cw 0x9
call send_back  ; 48059 (0xbbbb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbbb
cw 0x9
call send_back  ; 48060 (0xbbbc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbbc
cw 0x9
call send_back  ; 48061 (0xbbbd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbbd
cw 0x9
call send_back  ; 48062 (0xbbbe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbbe
cw 0x9
call send_back  ; 48063 (0xbbbf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbbf
cw 0x9
call send_back  ; 48064 (0xbbc0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc0
cw 0x9
call send_back  ; 48065 (0xbbc1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc1
cw 0x9
call send_back  ; 48066 (0xbbc2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc2
cw 0x9
call send_back  ; 48067 (0xbbc3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc3
cw 0x9
call send_back  ; 48068 (0xbbc4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc4
cw 0x9
call send_back  ; 48069 (0xbbc5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc5
cw 0x9
call send_back  ; 48070 (0xbbc6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc6
cw 0x9
call send_back  ; 48071 (0xbbc7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc7
cw 0x9
call send_back  ; 48072 (0xbbc8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc8
cw 0x9
call send_back  ; 48073 (0xbbc9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbc9
cw 0x9
call send_back  ; 48074 (0xbbca)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbca
cw 0x9
call send_back  ; 48075 (0xbbcb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbcb
cw 0x9
call send_back  ; 48076 (0xbbcc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbcc
cw 0x9
call send_back  ; 48077 (0xbbcd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbcd
cw 0x9
call send_back  ; 48078 (0xbbce)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbce
cw 0x9
call send_back  ; 48079 (0xbbcf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbcf
cw 0x9
call send_back  ; 48080 (0xbbd0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd0
cw 0x9
call send_back  ; 48081 (0xbbd1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd1
cw 0x9
call send_back  ; 48082 (0xbbd2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd2
cw 0x9
call send_back  ; 48083 (0xbbd3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd3
cw 0x9
call send_back  ; 48084 (0xbbd4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd4
cw 0x9
call send_back  ; 48085 (0xbbd5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd5
cw 0x9
call send_back  ; 48086 (0xbbd6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd6
cw 0x9
call send_back  ; 48087 (0xbbd7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd7
cw 0x9
call send_back  ; 48088 (0xbbd8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd8
cw 0x9
call send_back  ; 48089 (0xbbd9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbd9
cw 0x9
call send_back  ; 48090 (0xbbda)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbda
cw 0x9
call send_back  ; 48091 (0xbbdb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbdb
cw 0x9
call send_back  ; 48092 (0xbbdc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbdc
cw 0x9
call send_back  ; 48093 (0xbbdd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbdd
cw 0x9
call send_back  ; 48094 (0xbbde)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbde
cw 0x9
call send_back  ; 48095 (0xbbdf)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbdf
cw 0x9
call send_back  ; 48096 (0xbbe0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe0
cw 0x9
call send_back  ; 48097 (0xbbe1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe1
cw 0x9
call send_back  ; 48098 (0xbbe2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe2
cw 0x9
call send_back  ; 48099 (0xbbe3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe3
cw 0x9
call send_back  ; 48100 (0xbbe4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe4
cw 0x9
call send_back  ; 48101 (0xbbe5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe5
cw 0x9
call send_back  ; 48102 (0xbbe6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe6
cw 0x9
call send_back  ; 48103 (0xbbe7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe7
cw 0x9
call send_back  ; 48104 (0xbbe8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe8
cw 0x9
call send_back  ; 48105 (0xbbe9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbe9
cw 0x9
call send_back  ; 48106 (0xbbea)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbea
cw 0x9
call send_back  ; 48107 (0xbbeb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbeb
cw 0x9
call send_back  ; 48108 (0xbbec)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbec
cw 0x9
call send_back  ; 48109 (0xbbed)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbed
cw 0x9
call send_back  ; 48110 (0xbbee)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbee
cw 0x9
call send_back  ; 48111 (0xbbef)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbef
cw 0x9
call send_back  ; 48112 (0xbbf0)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf0
cw 0x9
call send_back  ; 48113 (0xbbf1)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf1
cw 0x9
call send_back  ; 48114 (0xbbf2)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf2
cw 0x9
call send_back  ; 48115 (0xbbf3)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf3
cw 0x9
call send_back  ; 48116 (0xbbf4)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf4
cw 0x9
call send_back  ; 48117 (0xbbf5)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf5
cw 0x9
call send_back  ; 48118 (0xbbf6)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf6
cw 0x9
call send_back  ; 48119 (0xbbf7)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf7
cw 0x9
call send_back  ; 48120 (0xbbf8)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf8
cw 0x9
call send_back  ; 48121 (0xbbf9)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbf9
cw 0x9
call send_back  ; 48122 (0xbbfa)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbfa
cw 0x9
call send_back  ; 48123 (0xbbfb)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbfb
cw 0x9
call send_back  ; 48124 (0xbbfc)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbfc
cw 0x9
call send_back  ; 48125 (0xbbfd)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbfd
cw 0x9
call send_back  ; 48126 (0xbbfe)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbfe
cw 0x9
call send_back  ; 48127 (0xbbff)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xbbff
cw 0x9
call send_back  ; 48128 (0xbc00)

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

