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

lri $AR1,    #0x0040
lri $IX1,    #0xef5c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61277 (0xef5d)

lri $AR1,    #0x0040
lri $IX1,    #0xef5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61278 (0xef5e)

lri $AR1,    #0x0040
lri $IX1,    #0xef5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61279 (0xef5f)

lri $AR1,    #0x0040
lri $IX1,    #0xef5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61280 (0xef60)

lri $AR1,    #0x0040
lri $IX1,    #0xef60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61281 (0xef61)

lri $AR1,    #0x0040
lri $IX1,    #0xef61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61282 (0xef62)

lri $AR1,    #0x0040
lri $IX1,    #0xef62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61283 (0xef63)

lri $AR1,    #0x0040
lri $IX1,    #0xef63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61284 (0xef64)

lri $AR1,    #0x0040
lri $IX1,    #0xef64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61285 (0xef65)

lri $AR1,    #0x0040
lri $IX1,    #0xef65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61286 (0xef66)

lri $AR1,    #0x0040
lri $IX1,    #0xef66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61287 (0xef67)

lri $AR1,    #0x0040
lri $IX1,    #0xef67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61288 (0xef68)

lri $AR1,    #0x0040
lri $IX1,    #0xef68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61289 (0xef69)

lri $AR1,    #0x0040
lri $IX1,    #0xef69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61290 (0xef6a)

lri $AR1,    #0x0040
lri $IX1,    #0xef6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61291 (0xef6b)

lri $AR1,    #0x0040
lri $IX1,    #0xef6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61292 (0xef6c)

lri $AR1,    #0x0040
lri $IX1,    #0xef6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61293 (0xef6d)

lri $AR1,    #0x0040
lri $IX1,    #0xef6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61294 (0xef6e)

lri $AR1,    #0x0040
lri $IX1,    #0xef6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61295 (0xef6f)

lri $AR1,    #0x0040
lri $IX1,    #0xef6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61296 (0xef70)

lri $AR1,    #0x0040
lri $IX1,    #0xef70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61297 (0xef71)

lri $AR1,    #0x0040
lri $IX1,    #0xef71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61298 (0xef72)

lri $AR1,    #0x0040
lri $IX1,    #0xef72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61299 (0xef73)

lri $AR1,    #0x0040
lri $IX1,    #0xef73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61300 (0xef74)

lri $AR1,    #0x0040
lri $IX1,    #0xef74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61301 (0xef75)

lri $AR1,    #0x0040
lri $IX1,    #0xef75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61302 (0xef76)

lri $AR1,    #0x0040
lri $IX1,    #0xef76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61303 (0xef77)

lri $AR1,    #0x0040
lri $IX1,    #0xef77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61304 (0xef78)

lri $AR1,    #0x0040
lri $IX1,    #0xef78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61305 (0xef79)

lri $AR1,    #0x0040
lri $IX1,    #0xef79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61306 (0xef7a)

lri $AR1,    #0x0040
lri $IX1,    #0xef7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61307 (0xef7b)

lri $AR1,    #0x0040
lri $IX1,    #0xef7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61308 (0xef7c)

lri $AR1,    #0x0040
lri $IX1,    #0xef7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61309 (0xef7d)

lri $AR1,    #0x0040
lri $IX1,    #0xef7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61310 (0xef7e)

lri $AR1,    #0x0040
lri $IX1,    #0xef7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61311 (0xef7f)

lri $AR1,    #0x0040
lri $IX1,    #0xef7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61312 (0xef80)

lri $AR1,    #0x0040
lri $IX1,    #0xef80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61313 (0xef81)

lri $AR1,    #0x0040
lri $IX1,    #0xef81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61314 (0xef82)

lri $AR1,    #0x0040
lri $IX1,    #0xef82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61315 (0xef83)

lri $AR1,    #0x0040
lri $IX1,    #0xef83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61316 (0xef84)

lri $AR1,    #0x0040
lri $IX1,    #0xef84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61317 (0xef85)

lri $AR1,    #0x0040
lri $IX1,    #0xef85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61318 (0xef86)

lri $AR1,    #0x0040
lri $IX1,    #0xef86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61319 (0xef87)

lri $AR1,    #0x0040
lri $IX1,    #0xef87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61320 (0xef88)

lri $AR1,    #0x0040
lri $IX1,    #0xef88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61321 (0xef89)

lri $AR1,    #0x0040
lri $IX1,    #0xef89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61322 (0xef8a)

lri $AR1,    #0x0040
lri $IX1,    #0xef8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61323 (0xef8b)

lri $AR1,    #0x0040
lri $IX1,    #0xef8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61324 (0xef8c)

lri $AR1,    #0x0040
lri $IX1,    #0xef8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61325 (0xef8d)

lri $AR1,    #0x0040
lri $IX1,    #0xef8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61326 (0xef8e)

lri $AR1,    #0x0040
lri $IX1,    #0xef8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61327 (0xef8f)

lri $AR1,    #0x0040
lri $IX1,    #0xef8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61328 (0xef90)

lri $AR1,    #0x0040
lri $IX1,    #0xef90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61329 (0xef91)

lri $AR1,    #0x0040
lri $IX1,    #0xef91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61330 (0xef92)

lri $AR1,    #0x0040
lri $IX1,    #0xef92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61331 (0xef93)

lri $AR1,    #0x0040
lri $IX1,    #0xef93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61332 (0xef94)

lri $AR1,    #0x0040
lri $IX1,    #0xef94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61333 (0xef95)

lri $AR1,    #0x0040
lri $IX1,    #0xef95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61334 (0xef96)

lri $AR1,    #0x0040
lri $IX1,    #0xef96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61335 (0xef97)

lri $AR1,    #0x0040
lri $IX1,    #0xef97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61336 (0xef98)

lri $AR1,    #0x0040
lri $IX1,    #0xef98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61337 (0xef99)

lri $AR1,    #0x0040
lri $IX1,    #0xef99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61338 (0xef9a)

lri $AR1,    #0x0040
lri $IX1,    #0xef9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61339 (0xef9b)

lri $AR1,    #0x0040
lri $IX1,    #0xef9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61340 (0xef9c)

lri $AR1,    #0x0040
lri $IX1,    #0xef9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61341 (0xef9d)

lri $AR1,    #0x0040
lri $IX1,    #0xef9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61342 (0xef9e)

lri $AR1,    #0x0040
lri $IX1,    #0xef9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61343 (0xef9f)

lri $AR1,    #0x0040
lri $IX1,    #0xef9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61344 (0xefa0)

lri $AR1,    #0x0040
lri $IX1,    #0xefa0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61345 (0xefa1)

lri $AR1,    #0x0040
lri $IX1,    #0xefa1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61346 (0xefa2)

lri $AR1,    #0x0040
lri $IX1,    #0xefa2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61347 (0xefa3)

lri $AR1,    #0x0040
lri $IX1,    #0xefa3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61348 (0xefa4)

lri $AR1,    #0x0040
lri $IX1,    #0xefa4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61349 (0xefa5)

lri $AR1,    #0x0040
lri $IX1,    #0xefa5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61350 (0xefa6)

lri $AR1,    #0x0040
lri $IX1,    #0xefa6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61351 (0xefa7)

lri $AR1,    #0x0040
lri $IX1,    #0xefa7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61352 (0xefa8)

lri $AR1,    #0x0040
lri $IX1,    #0xefa8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61353 (0xefa9)

lri $AR1,    #0x0040
lri $IX1,    #0xefa9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61354 (0xefaa)

lri $AR1,    #0x0040
lri $IX1,    #0xefaa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61355 (0xefab)

lri $AR1,    #0x0040
lri $IX1,    #0xefab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61356 (0xefac)

lri $AR1,    #0x0040
lri $IX1,    #0xefac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61357 (0xefad)

lri $AR1,    #0x0040
lri $IX1,    #0xefad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61358 (0xefae)

lri $AR1,    #0x0040
lri $IX1,    #0xefae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61359 (0xefaf)

lri $AR1,    #0x0040
lri $IX1,    #0xefaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61360 (0xefb0)

lri $AR1,    #0x0040
lri $IX1,    #0xefb0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61361 (0xefb1)

lri $AR1,    #0x0040
lri $IX1,    #0xefb1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61362 (0xefb2)

lri $AR1,    #0x0040
lri $IX1,    #0xefb2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61363 (0xefb3)

lri $AR1,    #0x0040
lri $IX1,    #0xefb3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61364 (0xefb4)

lri $AR1,    #0x0040
lri $IX1,    #0xefb4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61365 (0xefb5)

lri $AR1,    #0x0040
lri $IX1,    #0xefb5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61366 (0xefb6)

lri $AR1,    #0x0040
lri $IX1,    #0xefb6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61367 (0xefb7)

lri $AR1,    #0x0040
lri $IX1,    #0xefb7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61368 (0xefb8)

lri $AR1,    #0x0040
lri $IX1,    #0xefb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61369 (0xefb9)

lri $AR1,    #0x0040
lri $IX1,    #0xefb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61370 (0xefba)

lri $AR1,    #0x0040
lri $IX1,    #0xefba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61371 (0xefbb)

lri $AR1,    #0x0040
lri $IX1,    #0xefbb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61372 (0xefbc)

lri $AR1,    #0x0040
lri $IX1,    #0xefbc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61373 (0xefbd)

lri $AR1,    #0x0040
lri $IX1,    #0xefbd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61374 (0xefbe)

lri $AR1,    #0x0040
lri $IX1,    #0xefbe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61375 (0xefbf)

lri $AR1,    #0x0040
lri $IX1,    #0xefbf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61376 (0xefc0)

lri $AR1,    #0x0040
lri $IX1,    #0xefc0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61377 (0xefc1)

lri $AR1,    #0x0040
lri $IX1,    #0xefc1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61378 (0xefc2)

lri $AR1,    #0x0040
lri $IX1,    #0xefc2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61379 (0xefc3)

lri $AR1,    #0x0040
lri $IX1,    #0xefc3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61380 (0xefc4)

lri $AR1,    #0x0040
lri $IX1,    #0xefc4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61381 (0xefc5)

lri $AR1,    #0x0040
lri $IX1,    #0xefc5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61382 (0xefc6)

lri $AR1,    #0x0040
lri $IX1,    #0xefc6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61383 (0xefc7)

lri $AR1,    #0x0040
lri $IX1,    #0xefc7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61384 (0xefc8)

lri $AR1,    #0x0040
lri $IX1,    #0xefc8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 61385 (0xefc9)

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