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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8065 (0x1f81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8066 (0x1f82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8067 (0x1f83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8068 (0x1f84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8069 (0x1f85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8070 (0x1f86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8071 (0x1f87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8072 (0x1f88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8073 (0x1f89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8074 (0x1f8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8075 (0x1f8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8076 (0x1f8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8077 (0x1f8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8078 (0x1f8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8079 (0x1f8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8080 (0x1f90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8081 (0x1f91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8082 (0x1f92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8083 (0x1f93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8084 (0x1f94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8085 (0x1f95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8086 (0x1f96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8087 (0x1f97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8088 (0x1f98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8089 (0x1f99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8090 (0x1f9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8091 (0x1f9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8092 (0x1f9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8093 (0x1f9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8094 (0x1f9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8095 (0x1f9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8096 (0x1fa0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8097 (0x1fa1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8098 (0x1fa2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8099 (0x1fa3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8100 (0x1fa4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8101 (0x1fa5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8102 (0x1fa6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8103 (0x1fa7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8104 (0x1fa8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8105 (0x1fa9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8106 (0x1faa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8107 (0x1fab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8108 (0x1fac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8109 (0x1fad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8110 (0x1fae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8111 (0x1faf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8112 (0x1fb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8113 (0x1fb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8114 (0x1fb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8115 (0x1fb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8116 (0x1fb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8117 (0x1fb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8118 (0x1fb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8119 (0x1fb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8120 (0x1fb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8121 (0x1fb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8122 (0x1fba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8123 (0x1fbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8124 (0x1fbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8125 (0x1fbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8126 (0x1fbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8127 (0x1fbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8128 (0x1fc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8129 (0x1fc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8130 (0x1fc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8131 (0x1fc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8132 (0x1fc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8133 (0x1fc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8134 (0x1fc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8135 (0x1fc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8136 (0x1fc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8137 (0x1fc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8138 (0x1fca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8139 (0x1fcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8140 (0x1fcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8141 (0x1fcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8142 (0x1fce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8143 (0x1fcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8144 (0x1fd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8145 (0x1fd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8146 (0x1fd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8147 (0x1fd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8148 (0x1fd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8149 (0x1fd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8150 (0x1fd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8151 (0x1fd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8152 (0x1fd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8153 (0x1fd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8154 (0x1fda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8155 (0x1fdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8156 (0x1fdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8157 (0x1fdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8158 (0x1fde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8159 (0x1fdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8160 (0x1fe0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8161 (0x1fe1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8162 (0x1fe2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8163 (0x1fe3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8164 (0x1fe4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8165 (0x1fe5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8166 (0x1fe6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8167 (0x1fe7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8168 (0x1fe8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8169 (0x1fe9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8170 (0x1fea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8171 (0x1feb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8172 (0x1fec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8173 (0x1fed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8174 (0x1fee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8175 (0x1fef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8176 (0x1ff0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8177 (0x1ff1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8178 (0x1ff2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8179 (0x1ff3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8180 (0x1ff4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8181 (0x1ff5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8182 (0x1ff6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8183 (0x1ff7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8184 (0x1ff8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8185 (0x1ff9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8186 (0x1ffa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8187 (0x1ffb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8188 (0x1ffc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8189 (0x1ffd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8190 (0x1ffe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8191 (0x1fff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x001f
cw 0x5
call send_back  ; 8192 (0x2000)

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