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

lri $AR1,    #0x71b7
lri $IX1,    #0x4b02
lri $WR1,    #0xaf90
cw 0xd
call send_back  ; 48388 (0xbd04)

lri $AR1,    #0x7822
lri $IX1,    #0xe97c
lri $WR1,    #0x3d68
cw 0xd
call send_back  ; 48389 (0xbd05)

lri $AR1,    #0x6b38
lri $IX1,    #0xbec0
lri $WR1,    #0x50f4
cw 0xd
call send_back  ; 48390 (0xbd06)

lri $AR1,    #0x7201
lri $IX1,    #0x5712
lri $WR1,    #0x794d
cw 0xd
call send_back  ; 48391 (0xbd07)

lri $AR1,    #0x8cb4
lri $IX1,    #0xfcb0
lri $WR1,    #0xb3ec
cw 0xd
call send_back  ; 48392 (0xbd08)

lri $AR1,    #0x7514
lri $IX1,    #0x6b66
lri $WR1,    #0x9a3a
cw 0xd
call send_back  ; 48393 (0xbd09)

lri $AR1,    #0xa297
lri $IX1,    #0x3276
lri $WR1,    #0xb069
cw 0xd
call send_back  ; 48394 (0xbd0a)

lri $AR1,    #0x5429
lri $IX1,    #0xd50e
lri $WR1,    #0x44b0
cw 0xd
call send_back  ; 48395 (0xbd0b)

lri $AR1,    #0xa8e6
lri $IX1,    #0x9d06
lri $WR1,    #0x235a
cw 0xd
call send_back  ; 48396 (0xbd0c)

lri $AR1,    #0x4c7d
lri $IX1,    #0xeb6c
lri $WR1,    #0x5ddd
cw 0xd
call send_back  ; 48397 (0xbd0d)

lri $AR1,    #0x6bc3
lri $IX1,    #0x7d70
lri $WR1,    #0xe064
cw 0xd
call send_back  ; 48398 (0xbd0e)

lri $AR1,    #0x68fd
lri $IX1,    #0x7c32
lri $WR1,    #0x7301
cw 0xd
call send_back  ; 48399 (0xbd0f)

lri $AR1,    #0x7f7a
lri $IX1,    #0x2126
lri $WR1,    #0x68f9
cw 0xd
call send_back  ; 48400 (0xbd10)

lri $AR1,    #0x1113
lri $IX1,    #0x2066
lri $WR1,    #0x8a51
cw 0xd
call send_back  ; 48401 (0xbd11)

lri $AR1,    #0x9806
lri $IX1,    #0xc5c6
lri $WR1,    #0x9110
cw 0xd
call send_back  ; 48402 (0xbd12)

lri $AR1,    #0x8aeb
lri $IX1,    #0xa0f2
lri $WR1,    #0xc569
cw 0xd
call send_back  ; 48403 (0xbd13)

lri $AR1,    #0xc817
lri $IX1,    #0xa066
lri $WR1,    #0xb940
cw 0xd
call send_back  ; 48404 (0xbd14)

lri $AR1,    #0xb93f
lri $IX1,    #0x72a4
lri $WR1,    #0x3d2a
cw 0xd
call send_back  ; 48405 (0xbd15)

lri $AR1,    #0x2fa2
lri $IX1,    #0xd050
lri $WR1,    #0xc671
cw 0xd
call send_back  ; 48406 (0xbd16)

lri $AR1,    #0x5c9b
lri $IX1,    #0xd1b8
lri $WR1,    #0x7f2a
cw 0xd
call send_back  ; 48407 (0xbd17)

lri $AR1,    #0x21de
lri $IX1,    #0x8558
lri $WR1,    #0x7efe
cw 0xd
call send_back  ; 48408 (0xbd18)

lri $AR1,    #0xa028
lri $IX1,    #0x84e8
lri $WR1,    #0x9496
cw 0xd
call send_back  ; 48409 (0xbd19)

lri $AR1,    #0x4ad2
lri $IX1,    #0x219a
lri $WR1,    #0x7561
cw 0xd
call send_back  ; 48410 (0xbd1a)

lri $AR1,    #0xb9ef
lri $IX1,    #0xcfe8
lri $WR1,    #0x7a9d
cw 0xd
call send_back  ; 48411 (0xbd1b)

lri $AR1,    #0x5c61
lri $IX1,    #0x9ec4
lri $WR1,    #0xa859
cw 0xd
call send_back  ; 48412 (0xbd1c)

lri $AR1,    #0x66a9
lri $IX1,    #0x9d74
lri $WR1,    #0x745a
cw 0xd
call send_back  ; 48413 (0xbd1d)

lri $AR1,    #0xcac9
lri $IX1,    #0xfee6
lri $WR1,    #0x8094
cw 0xd
call send_back  ; 48414 (0xbd1e)

lri $AR1,    #0x08ff
lri $IX1,    #0x68da
lri $WR1,    #0x1e34
cw 0xd
call send_back  ; 48415 (0xbd1f)

lri $AR1,    #0xa0b1
lri $IX1,    #0x10ac
lri $WR1,    #0xd3d3
cw 0xd
call send_back  ; 48416 (0xbd20)

lri $AR1,    #0xb457
lri $IX1,    #0xeefe
lri $WR1,    #0xaad2
cw 0xd
call send_back  ; 48417 (0xbd21)

lri $AR1,    #0x72b0
lri $IX1,    #0x4f30
lri $WR1,    #0x9595
cw 0xd
call send_back  ; 48418 (0xbd22)

lri $AR1,    #0x6b1a
lri $IX1,    #0x2ee2
lri $WR1,    #0x3178
cw 0xd
call send_back  ; 48419 (0xbd23)

lri $AR1,    #0x7a54
lri $IX1,    #0x2544
lri $WR1,    #0xdd40
cw 0xd
call send_back  ; 48420 (0xbd24)

lri $AR1,    #0x587d
lri $IX1,    #0xc1b2
lri $WR1,    #0x75f5
cw 0xd
call send_back  ; 48421 (0xbd25)

lri $AR1,    #0xe0aa
lri $IX1,    #0x5c30
lri $WR1,    #0x69c7
cw 0xd
call send_back  ; 48422 (0xbd26)

lri $AR1,    #0x4dc9
lri $IX1,    #0x1248
lri $WR1,    #0x9209
cw 0xd
call send_back  ; 48423 (0xbd27)

lri $AR1,    #0xc047
lri $IX1,    #0xfe00
lri $WR1,    #0xcad2
cw 0xd
call send_back  ; 48424 (0xbd28)

lri $AR1,    #0x4b21
lri $IX1,    #0x7c38
lri $WR1,    #0xe84f
cw 0xd
call send_back  ; 48425 (0xbd29)

lri $AR1,    #0xe6d0
lri $IX1,    #0x734e
lri $WR1,    #0x5766
cw 0xd
call send_back  ; 48426 (0xbd2a)

lri $AR1,    #0x5bcd
lri $IX1,    #0xda50
lri $WR1,    #0xc8a2
cw 0xd
call send_back  ; 48427 (0xbd2b)

lri $AR1,    #0x5e01
lri $IX1,    #0x2486
lri $WR1,    #0x9a0f
cw 0xd
call send_back  ; 48428 (0xbd2c)

lri $AR1,    #0x8dfe
lri $IX1,    #0x8cac
lri $WR1,    #0x2e06
cw 0xd
call send_back  ; 48429 (0xbd2d)

lri $AR1,    #0xc436
lri $IX1,    #0x66b0
lri $WR1,    #0x5a85
cw 0xd
call send_back  ; 48430 (0xbd2e)

lri $AR1,    #0x4e1c
lri $IX1,    #0x7e34
lri $WR1,    #0x7e13
cw 0xd
call send_back  ; 48431 (0xbd2f)

lri $AR1,    #0x7c71
lri $IX1,    #0xfbb8
lri $WR1,    #0xecd6
cw 0xd
call send_back  ; 48432 (0xbd30)

lri $AR1,    #0x6d88
lri $IX1,    #0x31a8
lri $WR1,    #0xb1d7
cw 0xd
call send_back  ; 48433 (0xbd31)

lri $AR1,    #0x3de5
lri $IX1,    #0xee34
lri $WR1,    #0x6e0f
cw 0xd
call send_back  ; 48434 (0xbd32)

lri $AR1,    #0x9ce9
lri $IX1,    #0x5e28
lri $WR1,    #0x5045
cw 0xd
call send_back  ; 48435 (0xbd33)

lri $AR1,    #0x8afc
lri $IX1,    #0x10ae
lri $WR1,    #0x9660
cw 0xd
call send_back  ; 48436 (0xbd34)

lri $AR1,    #0xa1ec
lri $IX1,    #0x2338
lri $WR1,    #0xa218
cw 0xd
call send_back  ; 48437 (0xbd35)

lri $AR1,    #0x97df
lri $IX1,    #0xe86c
lri $WR1,    #0x48c7
cw 0xd
call send_back  ; 48438 (0xbd36)

lri $AR1,    #0x909a
lri $IX1,    #0x5c52
lri $WR1,    #0x073b
cw 0xd
call send_back  ; 48439 (0xbd37)

lri $AR1,    #0xa880
lri $IX1,    #0x4bb6
lri $WR1,    #0x883a
cw 0xd
call send_back  ; 48440 (0xbd38)

lri $AR1,    #0x500f
lri $IX1,    #0x1be2
lri $WR1,    #0x55b5
cw 0xd
call send_back  ; 48441 (0xbd39)

lri $AR1,    #0x6e1f
lri $IX1,    #0x7ba4
lri $WR1,    #0x7a49
cw 0xd
call send_back  ; 48442 (0xbd3a)

lri $AR1,    #0xb2d0
lri $IX1,    #0xd5d8
lri $WR1,    #0x2a0d
cw 0xd
call send_back  ; 48443 (0xbd3b)

lri $AR1,    #0xec55
lri $IX1,    #0x015a
lri $WR1,    #0x9f4c
cw 0xd
call send_back  ; 48444 (0xbd3c)

lri $AR1,    #0x6a8c
lri $IX1,    #0x41a6
lri $WR1,    #0x1133
cw 0xd
call send_back  ; 48445 (0xbd3d)

lri $AR1,    #0x6d98
lri $IX1,    #0x16e0
lri $WR1,    #0xe807
cw 0xd
call send_back  ; 48446 (0xbd3e)

lri $AR1,    #0x1f64
lri $IX1,    #0x7bd2
lri $WR1,    #0x73ec
cw 0xd
call send_back  ; 48447 (0xbd3f)

lri $AR1,    #0x8f48
lri $IX1,    #0xe35c
lri $WR1,    #0x50d5
cw 0xd
call send_back  ; 48448 (0xbd40)

lri $AR1,    #0x72b7
lri $IX1,    #0x6ef8
lri $WR1,    #0x2bb1
cw 0xd
call send_back  ; 48449 (0xbd41)

lri $AR1,    #0x6d32
lri $IX1,    #0x52e0
lri $WR1,    #0x2a4e
cw 0xd
call send_back  ; 48450 (0xbd42)

lri $AR1,    #0x3565
lri $IX1,    #0x0c52
lri $WR1,    #0xa921
cw 0xd
call send_back  ; 48451 (0xbd43)

lri $AR1,    #0x74a0
lri $IX1,    #0xd1b2
lri $WR1,    #0x376e
cw 0xd
call send_back  ; 48452 (0xbd44)

lri $AR1,    #0x199d
lri $IX1,    #0x5bc6
lri $WR1,    #0x13e4
cw 0xd
call send_back  ; 48453 (0xbd45)

lri $AR1,    #0x66d2
lri $IX1,    #0xb314
lri $WR1,    #0xc940
cw 0xd
call send_back  ; 48454 (0xbd46)

lri $AR1,    #0xa81d
lri $IX1,    #0xeb66
lri $WR1,    #0x4c0f
cw 0xd
call send_back  ; 48455 (0xbd47)

lri $AR1,    #0x9319
lri $IX1,    #0x8b8c
lri $WR1,    #0x8005
cw 0xd
call send_back  ; 48456 (0xbd48)

lri $AR1,    #0x4101
lri $IX1,    #0xa67a
lri $WR1,    #0xb517
cw 0xd
call send_back  ; 48457 (0xbd49)

lri $AR1,    #0xd050
lri $IX1,    #0x46aa
lri $WR1,    #0xd9d9
cw 0xd
call send_back  ; 48458 (0xbd4a)

lri $AR1,    #0x700a
lri $IX1,    #0x9c0c
lri $WR1,    #0x322e
cw 0xd
call send_back  ; 48459 (0xbd4b)

lri $AR1,    #0xbded
lri $IX1,    #0x4052
lri $WR1,    #0xb6e1
cw 0xd
call send_back  ; 48460 (0xbd4c)

lri $AR1,    #0xdc62
lri $IX1,    #0xbcee
lri $WR1,    #0x3c31
cw 0xd
call send_back  ; 48461 (0xbd4d)

lri $AR1,    #0xd480
lri $IX1,    #0x2986
lri $WR1,    #0x7aec
cw 0xd
call send_back  ; 48462 (0xbd4e)

lri $AR1,    #0x9be6
lri $IX1,    #0x1940
lri $WR1,    #0x790f
cw 0xd
call send_back  ; 48463 (0xbd4f)

lri $AR1,    #0x4dc7
lri $IX1,    #0x00a6
lri $WR1,    #0xf4a1
cw 0xd
call send_back  ; 48464 (0xbd50)

lri $AR1,    #0x31f2
lri $IX1,    #0xa57a
lri $WR1,    #0xbcb0
cw 0xd
call send_back  ; 48465 (0xbd51)

lri $AR1,    #0xec2b
lri $IX1,    #0xe544
lri $WR1,    #0xb223
cw 0xd
call send_back  ; 48466 (0xbd52)

lri $AR1,    #0x81a1
lri $IX1,    #0x0ef4
lri $WR1,    #0x5b5c
cw 0xd
call send_back  ; 48467 (0xbd53)

lri $AR1,    #0xa9cf
lri $IX1,    #0x0f60
lri $WR1,    #0x6b3d
cw 0xd
call send_back  ; 48468 (0xbd54)

lri $AR1,    #0x7b9d
lri $IX1,    #0xa7ec
lri $WR1,    #0x35a8
cw 0xd
call send_back  ; 48469 (0xbd55)

lri $AR1,    #0x5713
lri $IX1,    #0xb238
lri $WR1,    #0x2903
cw 0xd
call send_back  ; 48470 (0xbd56)

lri $AR1,    #0x4f63
lri $IX1,    #0xf312
lri $WR1,    #0x65d6
cw 0xd
call send_back  ; 48471 (0xbd57)

lri $AR1,    #0xb0a2
lri $IX1,    #0x1290
lri $WR1,    #0xd304
cw 0xd
call send_back  ; 48472 (0xbd58)

lri $AR1,    #0x6809
lri $IX1,    #0xd68c
lri $WR1,    #0x76c5
cw 0xd
call send_back  ; 48473 (0xbd59)

lri $AR1,    #0x74f3
lri $IX1,    #0x9870
lri $WR1,    #0xc9e7
cw 0xd
call send_back  ; 48474 (0xbd5a)

lri $AR1,    #0x7c8b
lri $IX1,    #0xfe7e
lri $WR1,    #0x8c55
cw 0xd
call send_back  ; 48475 (0xbd5b)

lri $AR1,    #0x8158
lri $IX1,    #0x247c
lri $WR1,    #0x379c
cw 0xd
call send_back  ; 48476 (0xbd5c)

lri $AR1,    #0x7b91
lri $IX1,    #0x7716
lri $WR1,    #0x654f
cw 0xd
call send_back  ; 48477 (0xbd5d)

lri $AR1,    #0x7e7f
lri $IX1,    #0x70b0
lri $WR1,    #0xbd01
cw 0xd
call send_back  ; 48478 (0xbd5e)

lri $AR1,    #0x9ab4
lri $IX1,    #0x0610
lri $WR1,    #0x9ecc
cw 0xd
call send_back  ; 48479 (0xbd5f)

lri $AR1,    #0xa47d
lri $IX1,    #0xc4a8
lri $WR1,    #0xa506
cw 0xd
call send_back  ; 48480 (0xbd60)

lri $AR1,    #0x514a
lri $IX1,    #0x4bc0
lri $WR1,    #0xa122
cw 0xd
call send_back  ; 48481 (0xbd61)

lri $AR1,    #0x9e5d
lri $IX1,    #0xc572
lri $WR1,    #0xc55e
cw 0xd
call send_back  ; 48482 (0xbd62)

lri $AR1,    #0x86ac
lri $IX1,    #0x339c
lri $WR1,    #0x9e45
cw 0xd
call send_back  ; 48483 (0xbd63)

lri $AR1,    #0x951b
lri $IX1,    #0xa8ca
lri $WR1,    #0xb49a
cw 0xd
call send_back  ; 48484 (0xbd64)

lri $AR1,    #0xbbff
lri $IX1,    #0xbc3a
lri $WR1,    #0x89b3
cw 0xd
call send_back  ; 48485 (0xbd65)

lri $AR1,    #0xea32
lri $IX1,    #0x93ea
lri $WR1,    #0x7ddf
cw 0xd
call send_back  ; 48486 (0xbd66)

lri $AR1,    #0x797c
lri $IX1,    #0x9eea
lri $WR1,    #0x71df
cw 0xd
call send_back  ; 48487 (0xbd67)

lri $AR1,    #0xa9ac
lri $IX1,    #0x6dd2
lri $WR1,    #0x7a06
cw 0xd
call send_back  ; 48488 (0xbd68)

lri $AR1,    #0x4736
lri $IX1,    #0xdeaa
lri $WR1,    #0x2310
cw 0xd
call send_back  ; 48489 (0xbd69)

lri $AR1,    #0xbb99
lri $IX1,    #0xed08
lri $WR1,    #0x7641
cw 0xd
call send_back  ; 48490 (0xbd6a)

lri $AR1,    #0x7964
lri $IX1,    #0xc6be
lri $WR1,    #0x7bd3
cw 0xd
call send_back  ; 48491 (0xbd6b)

lri $AR1,    #0xdd27
lri $IX1,    #0x28ea
lri $WR1,    #0x5050
cw 0xd
call send_back  ; 48492 (0xbd6c)

lri $AR1,    #0x9829
lri $IX1,    #0x60ae
lri $WR1,    #0x5ade
cw 0xd
call send_back  ; 48493 (0xbd6d)

lri $AR1,    #0x6922
lri $IX1,    #0x766e
lri $WR1,    #0x3017
cw 0xd
call send_back  ; 48494 (0xbd6e)

lri $AR1,    #0x2add
lri $IX1,    #0xe9d2
lri $WR1,    #0x8e75
cw 0xd
call send_back  ; 48495 (0xbd6f)

lri $AR1,    #0x77fd
lri $IX1,    #0xd870
lri $WR1,    #0x86d8
cw 0xd
call send_back  ; 48496 (0xbd70)

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