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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44289 (0xad01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44290 (0xad02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44291 (0xad03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44292 (0xad04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44293 (0xad05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44294 (0xad06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44295 (0xad07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44296 (0xad08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44297 (0xad09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44298 (0xad0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44299 (0xad0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44300 (0xad0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44301 (0xad0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44302 (0xad0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44303 (0xad0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44304 (0xad10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44305 (0xad11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44306 (0xad12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44307 (0xad13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44308 (0xad14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44309 (0xad15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44310 (0xad16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44311 (0xad17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44312 (0xad18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44313 (0xad19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44314 (0xad1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44315 (0xad1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44316 (0xad1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44317 (0xad1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44318 (0xad1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44319 (0xad1f)

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

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44321 (0xad21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44322 (0xad22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44323 (0xad23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44324 (0xad24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44325 (0xad25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44326 (0xad26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44327 (0xad27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44328 (0xad28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44329 (0xad29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44330 (0xad2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44331 (0xad2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44332 (0xad2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44333 (0xad2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44334 (0xad2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44335 (0xad2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44336 (0xad30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44337 (0xad31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44338 (0xad32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44339 (0xad33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44340 (0xad34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44341 (0xad35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44342 (0xad36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44343 (0xad37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44344 (0xad38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44345 (0xad39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44346 (0xad3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44347 (0xad3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44348 (0xad3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44349 (0xad3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44350 (0xad3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44351 (0xad3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44352 (0xad40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44353 (0xad41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44354 (0xad42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44355 (0xad43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44356 (0xad44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44357 (0xad45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44358 (0xad46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44359 (0xad47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44360 (0xad48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44361 (0xad49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44362 (0xad4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44363 (0xad4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44364 (0xad4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44365 (0xad4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44366 (0xad4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44367 (0xad4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44368 (0xad50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44369 (0xad51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44370 (0xad52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44371 (0xad53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44372 (0xad54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44373 (0xad55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44374 (0xad56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44375 (0xad57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44376 (0xad58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44377 (0xad59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44378 (0xad5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44379 (0xad5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44380 (0xad5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44381 (0xad5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44382 (0xad5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44383 (0xad5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44384 (0xad60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44385 (0xad61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44386 (0xad62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44387 (0xad63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44388 (0xad64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44389 (0xad65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44390 (0xad66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44391 (0xad67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44392 (0xad68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44393 (0xad69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44394 (0xad6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44395 (0xad6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44396 (0xad6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44397 (0xad6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44398 (0xad6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44399 (0xad6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44400 (0xad70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44401 (0xad71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44402 (0xad72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44403 (0xad73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44404 (0xad74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44405 (0xad75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44406 (0xad76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44407 (0xad77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44408 (0xad78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44409 (0xad79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44410 (0xad7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44411 (0xad7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44412 (0xad7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44413 (0xad7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44414 (0xad7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44415 (0xad7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00ad
cw 0x5
call send_back  ; 44416 (0xad80)

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