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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48001 (0xbb81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48002 (0xbb82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48003 (0xbb83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48004 (0xbb84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48005 (0xbb85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48006 (0xbb86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48007 (0xbb87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48008 (0xbb88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48009 (0xbb89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48010 (0xbb8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48011 (0xbb8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48012 (0xbb8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48013 (0xbb8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48014 (0xbb8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48015 (0xbb8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48016 (0xbb90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48017 (0xbb91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48018 (0xbb92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48019 (0xbb93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48020 (0xbb94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48021 (0xbb95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48022 (0xbb96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48023 (0xbb97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48024 (0xbb98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48025 (0xbb99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48026 (0xbb9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48027 (0xbb9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48028 (0xbb9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48029 (0xbb9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48030 (0xbb9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48031 (0xbb9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48032 (0xbba0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48033 (0xbba1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48034 (0xbba2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48035 (0xbba3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48036 (0xbba4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48037 (0xbba5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48038 (0xbba6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48039 (0xbba7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48040 (0xbba8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48041 (0xbba9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48042 (0xbbaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48043 (0xbbab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48044 (0xbbac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48045 (0xbbad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48046 (0xbbae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48047 (0xbbaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48048 (0xbbb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48049 (0xbbb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48050 (0xbbb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48051 (0xbbb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48052 (0xbbb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48053 (0xbbb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48054 (0xbbb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48055 (0xbbb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48056 (0xbbb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48057 (0xbbb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48058 (0xbbba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48059 (0xbbbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48060 (0xbbbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48061 (0xbbbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48062 (0xbbbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48063 (0xbbbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48064 (0xbbc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48065 (0xbbc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48066 (0xbbc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48067 (0xbbc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48068 (0xbbc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48069 (0xbbc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48070 (0xbbc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48071 (0xbbc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48072 (0xbbc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48073 (0xbbc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48074 (0xbbca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48075 (0xbbcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48076 (0xbbcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48077 (0xbbcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48078 (0xbbce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48079 (0xbbcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48080 (0xbbd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48081 (0xbbd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48082 (0xbbd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48083 (0xbbd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48084 (0xbbd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48085 (0xbbd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48086 (0xbbd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48087 (0xbbd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48088 (0xbbd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48089 (0xbbd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48090 (0xbbda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48091 (0xbbdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48092 (0xbbdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48093 (0xbbdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48094 (0xbbde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48095 (0xbbdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48096 (0xbbe0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48097 (0xbbe1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48098 (0xbbe2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48099 (0xbbe3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48100 (0xbbe4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48101 (0xbbe5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48102 (0xbbe6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48103 (0xbbe7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48104 (0xbbe8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48105 (0xbbe9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48106 (0xbbea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48107 (0xbbeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48108 (0xbbec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48109 (0xbbed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48110 (0xbbee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48111 (0xbbef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48112 (0xbbf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48113 (0xbbf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48114 (0xbbf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48115 (0xbbf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48116 (0xbbf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48117 (0xbbf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48118 (0xbbf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48119 (0xbbf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48120 (0xbbf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48121 (0xbbf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48122 (0xbbfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48123 (0xbbfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48124 (0xbbfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48125 (0xbbfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48126 (0xbbfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48127 (0xbbff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00bb
cw 0x5
call send_back  ; 48128 (0xbc00)

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