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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61185 (0xef01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61186 (0xef02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61187 (0xef03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61188 (0xef04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61189 (0xef05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61190 (0xef06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61191 (0xef07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61192 (0xef08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61193 (0xef09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61194 (0xef0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61195 (0xef0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61196 (0xef0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61197 (0xef0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61198 (0xef0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61199 (0xef0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61200 (0xef10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61201 (0xef11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61202 (0xef12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61203 (0xef13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61204 (0xef14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61205 (0xef15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61206 (0xef16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61207 (0xef17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61208 (0xef18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61209 (0xef19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61210 (0xef1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61211 (0xef1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61212 (0xef1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61213 (0xef1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61214 (0xef1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61215 (0xef1f)

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

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61217 (0xef21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61218 (0xef22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61219 (0xef23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61220 (0xef24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61221 (0xef25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61222 (0xef26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61223 (0xef27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61224 (0xef28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61225 (0xef29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61226 (0xef2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61227 (0xef2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61228 (0xef2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61229 (0xef2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61230 (0xef2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61231 (0xef2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61232 (0xef30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61233 (0xef31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61234 (0xef32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61235 (0xef33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61236 (0xef34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61237 (0xef35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61238 (0xef36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61239 (0xef37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61240 (0xef38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61241 (0xef39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61242 (0xef3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61243 (0xef3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61244 (0xef3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61245 (0xef3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61246 (0xef3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61247 (0xef3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61248 (0xef40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61249 (0xef41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61250 (0xef42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61251 (0xef43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61252 (0xef44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61253 (0xef45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61254 (0xef46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61255 (0xef47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61256 (0xef48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61257 (0xef49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61258 (0xef4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61259 (0xef4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61260 (0xef4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61261 (0xef4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61262 (0xef4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61263 (0xef4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61264 (0xef50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61265 (0xef51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61266 (0xef52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61267 (0xef53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61268 (0xef54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61269 (0xef55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61270 (0xef56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61271 (0xef57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61272 (0xef58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61273 (0xef59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61274 (0xef5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61275 (0xef5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61276 (0xef5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61277 (0xef5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61278 (0xef5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61279 (0xef5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61280 (0xef60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61281 (0xef61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61282 (0xef62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61283 (0xef63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61284 (0xef64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61285 (0xef65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61286 (0xef66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61287 (0xef67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61288 (0xef68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61289 (0xef69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61290 (0xef6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61291 (0xef6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61292 (0xef6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61293 (0xef6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61294 (0xef6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61295 (0xef6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61296 (0xef70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61297 (0xef71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61298 (0xef72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61299 (0xef73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61300 (0xef74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61301 (0xef75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61302 (0xef76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61303 (0xef77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61304 (0xef78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61305 (0xef79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61306 (0xef7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61307 (0xef7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61308 (0xef7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61309 (0xef7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61310 (0xef7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61311 (0xef7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00ef
cw 0x5
call send_back  ; 61312 (0xef80)

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