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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64257 (0xfb01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64258 (0xfb02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64259 (0xfb03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64260 (0xfb04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64261 (0xfb05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64262 (0xfb06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64263 (0xfb07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64264 (0xfb08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64265 (0xfb09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64266 (0xfb0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64267 (0xfb0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64268 (0xfb0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64269 (0xfb0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64270 (0xfb0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64271 (0xfb0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64272 (0xfb10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64273 (0xfb11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64274 (0xfb12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64275 (0xfb13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64276 (0xfb14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64277 (0xfb15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64278 (0xfb16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64279 (0xfb17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64280 (0xfb18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64281 (0xfb19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64282 (0xfb1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64283 (0xfb1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64284 (0xfb1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64285 (0xfb1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64286 (0xfb1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64287 (0xfb1f)

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

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64289 (0xfb21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64290 (0xfb22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64291 (0xfb23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64292 (0xfb24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64293 (0xfb25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64294 (0xfb26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64295 (0xfb27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64296 (0xfb28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64297 (0xfb29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64298 (0xfb2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64299 (0xfb2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64300 (0xfb2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64301 (0xfb2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64302 (0xfb2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64303 (0xfb2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64304 (0xfb30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64305 (0xfb31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64306 (0xfb32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64307 (0xfb33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64308 (0xfb34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64309 (0xfb35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64310 (0xfb36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64311 (0xfb37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64312 (0xfb38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64313 (0xfb39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64314 (0xfb3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64315 (0xfb3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64316 (0xfb3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64317 (0xfb3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64318 (0xfb3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64319 (0xfb3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64320 (0xfb40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64321 (0xfb41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64322 (0xfb42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64323 (0xfb43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64324 (0xfb44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64325 (0xfb45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64326 (0xfb46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64327 (0xfb47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64328 (0xfb48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64329 (0xfb49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64330 (0xfb4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64331 (0xfb4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64332 (0xfb4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64333 (0xfb4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64334 (0xfb4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64335 (0xfb4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64336 (0xfb50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64337 (0xfb51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64338 (0xfb52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64339 (0xfb53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64340 (0xfb54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64341 (0xfb55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64342 (0xfb56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64343 (0xfb57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64344 (0xfb58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64345 (0xfb59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64346 (0xfb5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64347 (0xfb5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64348 (0xfb5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64349 (0xfb5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64350 (0xfb5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64351 (0xfb5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64352 (0xfb60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64353 (0xfb61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64354 (0xfb62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64355 (0xfb63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64356 (0xfb64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64357 (0xfb65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64358 (0xfb66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64359 (0xfb67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64360 (0xfb68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64361 (0xfb69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64362 (0xfb6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64363 (0xfb6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64364 (0xfb6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64365 (0xfb6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64366 (0xfb6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64367 (0xfb6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64368 (0xfb70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64369 (0xfb71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64370 (0xfb72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64371 (0xfb73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64372 (0xfb74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64373 (0xfb75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64374 (0xfb76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64375 (0xfb77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64376 (0xfb78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64377 (0xfb79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64378 (0xfb7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64379 (0xfb7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64380 (0xfb7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64381 (0xfb7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64382 (0xfb7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64383 (0xfb7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00fb
cw 0x5
call send_back  ; 64384 (0xfb80)

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