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

lri $AR1,    #0x0040
lri $IX1,    #0xff25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65318 (0xff26)

lri $AR1,    #0x0040
lri $IX1,    #0xff26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65319 (0xff27)

lri $AR1,    #0x0040
lri $IX1,    #0xff27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65320 (0xff28)

lri $AR1,    #0x0040
lri $IX1,    #0xff28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65321 (0xff29)

lri $AR1,    #0x0040
lri $IX1,    #0xff29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65322 (0xff2a)

lri $AR1,    #0x0040
lri $IX1,    #0xff2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65323 (0xff2b)

lri $AR1,    #0x0040
lri $IX1,    #0xff2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65324 (0xff2c)

lri $AR1,    #0x0040
lri $IX1,    #0xff2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65325 (0xff2d)

lri $AR1,    #0x0040
lri $IX1,    #0xff2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65326 (0xff2e)

lri $AR1,    #0x0040
lri $IX1,    #0xff2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65327 (0xff2f)

lri $AR1,    #0x0040
lri $IX1,    #0xff2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65328 (0xff30)

lri $AR1,    #0x0040
lri $IX1,    #0xff30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65329 (0xff31)

lri $AR1,    #0x0040
lri $IX1,    #0xff31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65330 (0xff32)

lri $AR1,    #0x0040
lri $IX1,    #0xff32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65331 (0xff33)

lri $AR1,    #0x0040
lri $IX1,    #0xff33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65332 (0xff34)

lri $AR1,    #0x0040
lri $IX1,    #0xff34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65333 (0xff35)

lri $AR1,    #0x0040
lri $IX1,    #0xff35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65334 (0xff36)

lri $AR1,    #0x0040
lri $IX1,    #0xff36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65335 (0xff37)

lri $AR1,    #0x0040
lri $IX1,    #0xff37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65336 (0xff38)

lri $AR1,    #0x0040
lri $IX1,    #0xff38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65337 (0xff39)

lri $AR1,    #0x0040
lri $IX1,    #0xff39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65338 (0xff3a)

lri $AR1,    #0x0040
lri $IX1,    #0xff3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65339 (0xff3b)

lri $AR1,    #0x0040
lri $IX1,    #0xff3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65340 (0xff3c)

lri $AR1,    #0x0040
lri $IX1,    #0xff3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65341 (0xff3d)

lri $AR1,    #0x0040
lri $IX1,    #0xff3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65342 (0xff3e)

lri $AR1,    #0x0040
lri $IX1,    #0xff3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65343 (0xff3f)

lri $AR1,    #0x0040
lri $IX1,    #0xff3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65344 (0xff40)

lri $AR1,    #0x0040
lri $IX1,    #0xff40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65345 (0xff41)

lri $AR1,    #0x0040
lri $IX1,    #0xff41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65346 (0xff42)

lri $AR1,    #0x0040
lri $IX1,    #0xff42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65347 (0xff43)

lri $AR1,    #0x0040
lri $IX1,    #0xff43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65348 (0xff44)

lri $AR1,    #0x0040
lri $IX1,    #0xff44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65349 (0xff45)

lri $AR1,    #0x0040
lri $IX1,    #0xff45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65350 (0xff46)

lri $AR1,    #0x0040
lri $IX1,    #0xff46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65351 (0xff47)

lri $AR1,    #0x0040
lri $IX1,    #0xff47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65352 (0xff48)

lri $AR1,    #0x0040
lri $IX1,    #0xff48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65353 (0xff49)

lri $AR1,    #0x0040
lri $IX1,    #0xff49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65354 (0xff4a)

lri $AR1,    #0x0040
lri $IX1,    #0xff4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65355 (0xff4b)

lri $AR1,    #0x0040
lri $IX1,    #0xff4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65356 (0xff4c)

lri $AR1,    #0x0040
lri $IX1,    #0xff4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65357 (0xff4d)

lri $AR1,    #0x0040
lri $IX1,    #0xff4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65358 (0xff4e)

lri $AR1,    #0x0040
lri $IX1,    #0xff4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65359 (0xff4f)

lri $AR1,    #0x0040
lri $IX1,    #0xff4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65360 (0xff50)

lri $AR1,    #0x0040
lri $IX1,    #0xff50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65361 (0xff51)

lri $AR1,    #0x0040
lri $IX1,    #0xff51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65362 (0xff52)

lri $AR1,    #0x0040
lri $IX1,    #0xff52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65363 (0xff53)

lri $AR1,    #0x0040
lri $IX1,    #0xff53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65364 (0xff54)

lri $AR1,    #0x0040
lri $IX1,    #0xff54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65365 (0xff55)

lri $AR1,    #0x0040
lri $IX1,    #0xff55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65366 (0xff56)

lri $AR1,    #0x0040
lri $IX1,    #0xff56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65367 (0xff57)

lri $AR1,    #0x0040
lri $IX1,    #0xff57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65368 (0xff58)

lri $AR1,    #0x0040
lri $IX1,    #0xff58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65369 (0xff59)

lri $AR1,    #0x0040
lri $IX1,    #0xff59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65370 (0xff5a)

lri $AR1,    #0x0040
lri $IX1,    #0xff5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65371 (0xff5b)

lri $AR1,    #0x0040
lri $IX1,    #0xff5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65372 (0xff5c)

lri $AR1,    #0x0040
lri $IX1,    #0xff5c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65373 (0xff5d)

lri $AR1,    #0x0040
lri $IX1,    #0xff5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65374 (0xff5e)

lri $AR1,    #0x0040
lri $IX1,    #0xff5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65375 (0xff5f)

lri $AR1,    #0x0040
lri $IX1,    #0xff5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65376 (0xff60)

lri $AR1,    #0x0040
lri $IX1,    #0xff60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65377 (0xff61)

lri $AR1,    #0x0040
lri $IX1,    #0xff61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65378 (0xff62)

lri $AR1,    #0x0040
lri $IX1,    #0xff62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65379 (0xff63)

lri $AR1,    #0x0040
lri $IX1,    #0xff63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65380 (0xff64)

lri $AR1,    #0x0040
lri $IX1,    #0xff64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65381 (0xff65)

lri $AR1,    #0x0040
lri $IX1,    #0xff65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65382 (0xff66)

lri $AR1,    #0x0040
lri $IX1,    #0xff66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65383 (0xff67)

lri $AR1,    #0x0040
lri $IX1,    #0xff67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65384 (0xff68)

lri $AR1,    #0x0040
lri $IX1,    #0xff68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65385 (0xff69)

lri $AR1,    #0x0040
lri $IX1,    #0xff69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65386 (0xff6a)

lri $AR1,    #0x0040
lri $IX1,    #0xff6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65387 (0xff6b)

lri $AR1,    #0x0040
lri $IX1,    #0xff6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65388 (0xff6c)

lri $AR1,    #0x0040
lri $IX1,    #0xff6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65389 (0xff6d)

lri $AR1,    #0x0040
lri $IX1,    #0xff6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65390 (0xff6e)

lri $AR1,    #0x0040
lri $IX1,    #0xff6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65391 (0xff6f)

lri $AR1,    #0x0040
lri $IX1,    #0xff6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65392 (0xff70)

lri $AR1,    #0x0040
lri $IX1,    #0xff70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65393 (0xff71)

lri $AR1,    #0x0040
lri $IX1,    #0xff71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65394 (0xff72)

lri $AR1,    #0x0040
lri $IX1,    #0xff72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65395 (0xff73)

lri $AR1,    #0x0040
lri $IX1,    #0xff73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65396 (0xff74)

lri $AR1,    #0x0040
lri $IX1,    #0xff74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65397 (0xff75)

lri $AR1,    #0x0040
lri $IX1,    #0xff75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65398 (0xff76)

lri $AR1,    #0x0040
lri $IX1,    #0xff76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65399 (0xff77)

lri $AR1,    #0x0040
lri $IX1,    #0xff77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65400 (0xff78)

lri $AR1,    #0x0040
lri $IX1,    #0xff78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65401 (0xff79)

lri $AR1,    #0x0040
lri $IX1,    #0xff79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65402 (0xff7a)

lri $AR1,    #0x0040
lri $IX1,    #0xff7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65403 (0xff7b)

lri $AR1,    #0x0040
lri $IX1,    #0xff7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65404 (0xff7c)

lri $AR1,    #0x0040
lri $IX1,    #0xff7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65405 (0xff7d)

lri $AR1,    #0x0040
lri $IX1,    #0xff7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65406 (0xff7e)

lri $AR1,    #0x0040
lri $IX1,    #0xff7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65407 (0xff7f)

lri $AR1,    #0x0040
lri $IX1,    #0xff7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65408 (0xff80)

lri $AR1,    #0x0040
lri $IX1,    #0xff80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65409 (0xff81)

lri $AR1,    #0x0040
lri $IX1,    #0xff81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65410 (0xff82)

lri $AR1,    #0x0040
lri $IX1,    #0xff82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65411 (0xff83)

lri $AR1,    #0x0040
lri $IX1,    #0xff83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65412 (0xff84)

lri $AR1,    #0x0040
lri $IX1,    #0xff84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65413 (0xff85)

lri $AR1,    #0x0040
lri $IX1,    #0xff85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65414 (0xff86)

lri $AR1,    #0x0040
lri $IX1,    #0xff86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65415 (0xff87)

lri $AR1,    #0x0040
lri $IX1,    #0xff87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65416 (0xff88)

lri $AR1,    #0x0040
lri $IX1,    #0xff88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65417 (0xff89)

lri $AR1,    #0x0040
lri $IX1,    #0xff89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65418 (0xff8a)

lri $AR1,    #0x0040
lri $IX1,    #0xff8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65419 (0xff8b)

lri $AR1,    #0x0040
lri $IX1,    #0xff8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65420 (0xff8c)

lri $AR1,    #0x0040
lri $IX1,    #0xff8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65421 (0xff8d)

lri $AR1,    #0x0040
lri $IX1,    #0xff8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65422 (0xff8e)

lri $AR1,    #0x0040
lri $IX1,    #0xff8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65423 (0xff8f)

lri $AR1,    #0x0040
lri $IX1,    #0xff8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65424 (0xff90)

lri $AR1,    #0x0040
lri $IX1,    #0xff90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65425 (0xff91)

lri $AR1,    #0x0040
lri $IX1,    #0xff91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 65426 (0xff92)

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