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

lri $AR1,    #0x2f37
lri $IX1,    #0x2e9e
lri $WR1,    #0x944c
cw 0x15
call send_back  ; 40415 (0x9ddf)

lri $AR1,    #0x91b5
lri $IX1,    #0x41d6
lri $WR1,    #0x21d3
cw 0x15
call send_back  ; 40416 (0x9de0)

lri $AR1,    #0x9cb0
lri $IX1,    #0xb62c
lri $WR1,    #0x771a
cw 0x15
call send_back  ; 40417 (0x9de1)

lri $AR1,    #0xe37d
lri $IX1,    #0x631c
lri $WR1,    #0x831a
cw 0x15
call send_back  ; 40418 (0x9de2)

lri $AR1,    #0xc939
lri $IX1,    #0x253c
lri $WR1,    #0x65be
cw 0x15
call send_back  ; 40419 (0x9de3)

lri $AR1,    #0x9e15
lri $IX1,    #0xc252
lri $WR1,    #0x68c1
cw 0x15
call send_back  ; 40420 (0x9de4)

lri $AR1,    #0x49d4
lri $IX1,    #0x0a56
lri $WR1,    #0x3b17
cw 0x15
call send_back  ; 40421 (0x9de5)

lri $AR1,    #0xbbdb
lri $IX1,    #0x1a5e
lri $WR1,    #0xbe4a
cw 0x15
call send_back  ; 40422 (0x9de6)

lri $AR1,    #0x7c9b
lri $IX1,    #0xe74e
lri $WR1,    #0x76f8
cw 0x15
call send_back  ; 40423 (0x9de7)

lri $AR1,    #0x53b1
lri $IX1,    #0xe260
lri $WR1,    #0xb6f0
cw 0x15
call send_back  ; 40424 (0x9de8)

lri $AR1,    #0x6181
lri $IX1,    #0xc242
lri $WR1,    #0xc109
cw 0x15
call send_back  ; 40425 (0x9de9)

lri $AR1,    #0x2a90
lri $IX1,    #0x5ff2
lri $WR1,    #0xd444
cw 0x15
call send_back  ; 40426 (0x9dea)

lri $AR1,    #0x469d
lri $IX1,    #0x4712
lri $WR1,    #0x9d36
cw 0x15
call send_back  ; 40427 (0x9deb)

lri $AR1,    #0x8c82
lri $IX1,    #0x35d6
lri $WR1,    #0x6264
cw 0x15
call send_back  ; 40428 (0x9dec)

lri $AR1,    #0x8ff2
lri $IX1,    #0x7152
lri $WR1,    #0xb993
cw 0x15
call send_back  ; 40429 (0x9ded)

lri $AR1,    #0x7532
lri $IX1,    #0xa736
lri $WR1,    #0x9199
cw 0x15
call send_back  ; 40430 (0x9dee)

lri $AR1,    #0x62b6
lri $IX1,    #0x36ce
lri $WR1,    #0xbdc8
cw 0x15
call send_back  ; 40431 (0x9def)

lri $AR1,    #0x8ff3
lri $IX1,    #0x4756
lri $WR1,    #0x5580
cw 0x15
call send_back  ; 40432 (0x9df0)

lri $AR1,    #0x7c1d
lri $IX1,    #0x2a72
lri $WR1,    #0x83f3
cw 0x15
call send_back  ; 40433 (0x9df1)

lri $AR1,    #0x9748
lri $IX1,    #0x4dd0
lri $WR1,    #0xb1b5
cw 0x15
call send_back  ; 40434 (0x9df2)

lri $AR1,    #0x7b99
lri $IX1,    #0x8fd0
lri $WR1,    #0x2317
cw 0x15
call send_back  ; 40435 (0x9df3)

lri $AR1,    #0x9beb
lri $IX1,    #0x4746
lri $WR1,    #0x9bf9
cw 0x15
call send_back  ; 40436 (0x9df4)

lri $AR1,    #0x68ae
lri $IX1,    #0xd710
lri $WR1,    #0xb2ff
cw 0x15
call send_back  ; 40437 (0x9df5)

lri $AR1,    #0x3b56
lri $IX1,    #0x5aa8
lri $WR1,    #0x9bdb
cw 0x15
call send_back  ; 40438 (0x9df6)

lri $AR1,    #0x3c2d
lri $IX1,    #0xf96e
lri $WR1,    #0xb1a6
cw 0x15
call send_back  ; 40439 (0x9df7)

lri $AR1,    #0x4dc9
lri $IX1,    #0xdad8
lri $WR1,    #0x4fdf
cw 0x15
call send_back  ; 40440 (0x9df8)

lri $AR1,    #0xb508
lri $IX1,    #0xae28
lri $WR1,    #0xf223
cw 0x15
call send_back  ; 40441 (0x9df9)

lri $AR1,    #0x93d6
lri $IX1,    #0x5cf2
lri $WR1,    #0x8027
cw 0x15
call send_back  ; 40442 (0x9dfa)

lri $AR1,    #0xc092
lri $IX1,    #0xf004
lri $WR1,    #0x7d0d
cw 0x15
call send_back  ; 40443 (0x9dfb)

lri $AR1,    #0x6b63
lri $IX1,    #0x0b00
lri $WR1,    #0x669a
cw 0x15
call send_back  ; 40444 (0x9dfc)

lri $AR1,    #0xbe49
lri $IX1,    #0xcb3c
lri $WR1,    #0x4a65
cw 0x15
call send_back  ; 40445 (0x9dfd)

lri $AR1,    #0x943a
lri $IX1,    #0x6b2c
lri $WR1,    #0x548c
cw 0x15
call send_back  ; 40446 (0x9dfe)

lri $AR1,    #0x6721
lri $IX1,    #0xebfa
lri $WR1,    #0x3cfe
cw 0x15
call send_back  ; 40447 (0x9dff)

lri $AR1,    #0x8c09
lri $IX1,    #0x5380
lri $WR1,    #0xdde7
cw 0x15
call send_back  ; 40448 (0x9e00)

lri $AR1,    #0xa045
lri $IX1,    #0xe554
lri $WR1,    #0x4762
cw 0x15
call send_back  ; 40449 (0x9e01)

lri $AR1,    #0x89ec
lri $IX1,    #0x4218
lri $WR1,    #0xb1d5
cw 0x15
call send_back  ; 40450 (0x9e02)

lri $AR1,    #0x8169
lri $IX1,    #0xa8be
lri $WR1,    #0x2240
cw 0x15
call send_back  ; 40451 (0x9e03)

lri $AR1,    #0xa17d
lri $IX1,    #0xd1e0
lri $WR1,    #0xc8e0
cw 0x15
call send_back  ; 40452 (0x9e04)

lri $AR1,    #0xd688
lri $IX1,    #0x2604
lri $WR1,    #0x7c4f
cw 0x15
call send_back  ; 40453 (0x9e05)

lri $AR1,    #0x9550
lri $IX1,    #0x83c4
lri $WR1,    #0x90a5
cw 0x15
call send_back  ; 40454 (0x9e06)

lri $AR1,    #0xe533
lri $IX1,    #0x8bc4
lri $WR1,    #0x0bb7
cw 0x15
call send_back  ; 40455 (0x9e07)

lri $AR1,    #0x6101
lri $IX1,    #0x9470
lri $WR1,    #0xbcf3
cw 0x15
call send_back  ; 40456 (0x9e08)

lri $AR1,    #0xbd55
lri $IX1,    #0x2064
lri $WR1,    #0x68f9
cw 0x15
call send_back  ; 40457 (0x9e09)

lri $AR1,    #0x82be
lri $IX1,    #0x1682
lri $WR1,    #0xe678
cw 0x15
call send_back  ; 40458 (0x9e0a)

lri $AR1,    #0x5d80
lri $IX1,    #0x2b8a
lri $WR1,    #0x1b5b
cw 0x15
call send_back  ; 40459 (0x9e0b)

lri $AR1,    #0x8c4a
lri $IX1,    #0x0946
lri $WR1,    #0x9ee6
cw 0x15
call send_back  ; 40460 (0x9e0c)

lri $AR1,    #0x72ab
lri $IX1,    #0xe814
lri $WR1,    #0xbec7
cw 0x15
call send_back  ; 40461 (0x9e0d)

lri $AR1,    #0x8389
lri $IX1,    #0xa3ec
lri $WR1,    #0xa2a0
cw 0x15
call send_back  ; 40462 (0x9e0e)

lri $AR1,    #0x7b86
lri $IX1,    #0xf696
lri $WR1,    #0xab3d
cw 0x15
call send_back  ; 40463 (0x9e0f)

lri $AR1,    #0x9a87
lri $IX1,    #0x8d44
lri $WR1,    #0xcfdb
cw 0x15
call send_back  ; 40464 (0x9e10)

lri $AR1,    #0x973b
lri $IX1,    #0x4842
lri $WR1,    #0x85b4
cw 0x15
call send_back  ; 40465 (0x9e11)

lri $AR1,    #0x46fc
lri $IX1,    #0x37ea
lri $WR1,    #0x8b4a
cw 0x15
call send_back  ; 40466 (0x9e12)

lri $AR1,    #0x47b8
lri $IX1,    #0xfa76
lri $WR1,    #0xa287
cw 0x15
call send_back  ; 40467 (0x9e13)

lri $AR1,    #0xc15b
lri $IX1,    #0x1b0e
lri $WR1,    #0xba47
cw 0x15
call send_back  ; 40468 (0x9e14)

lri $AR1,    #0x6f73
lri $IX1,    #0x1a9e
lri $WR1,    #0xa157
cw 0x15
call send_back  ; 40469 (0x9e15)

lri $AR1,    #0x7357
lri $IX1,    #0xffa4
lri $WR1,    #0xfa78
cw 0x15
call send_back  ; 40470 (0x9e16)

lri $AR1,    #0x52bb
lri $IX1,    #0xcac0
lri $WR1,    #0xaa7a
cw 0x15
call send_back  ; 40471 (0x9e17)

lri $AR1,    #0x5de9
lri $IX1,    #0x1a18
lri $WR1,    #0xbefa
cw 0x15
call send_back  ; 40472 (0x9e18)

lri $AR1,    #0x6478
lri $IX1,    #0xbe62
lri $WR1,    #0x35dd
cw 0x15
call send_back  ; 40473 (0x9e19)

lri $AR1,    #0x7ed8
lri $IX1,    #0x2890
lri $WR1,    #0x7b06
cw 0x15
call send_back  ; 40474 (0x9e1a)

lri $AR1,    #0xa674
lri $IX1,    #0x8810
lri $WR1,    #0x436f
cw 0x15
call send_back  ; 40475 (0x9e1b)

lri $AR1,    #0x3dc4
lri $IX1,    #0x4d9a
lri $WR1,    #0x821b
cw 0x15
call send_back  ; 40476 (0x9e1c)

lri $AR1,    #0x6525
lri $IX1,    #0xaf4e
lri $WR1,    #0x6d0a
cw 0x15
call send_back  ; 40477 (0x9e1d)

lri $AR1,    #0x68ae
lri $IX1,    #0xdf68
lri $WR1,    #0x45a6
cw 0x15
call send_back  ; 40478 (0x9e1e)

lri $AR1,    #0x96f6
lri $IX1,    #0x070e
lri $WR1,    #0x39d7
cw 0x15
call send_back  ; 40479 (0x9e1f)

lri $AR1,    #0xc7fc
lri $IX1,    #0xe390
lri $WR1,    #0x182a
cw 0x15
call send_back  ; 40480 (0x9e20)

lri $AR1,    #0xa70e
lri $IX1,    #0x3cae
lri $WR1,    #0x9b3c
cw 0x15
call send_back  ; 40481 (0x9e21)

lri $AR1,    #0x5204
lri $IX1,    #0x6f32
lri $WR1,    #0x1de5
cw 0x15
call send_back  ; 40482 (0x9e22)

lri $AR1,    #0x7395
lri $IX1,    #0x1768
lri $WR1,    #0x7b3c
cw 0x15
call send_back  ; 40483 (0x9e23)

lri $AR1,    #0x8616
lri $IX1,    #0xa3c2
lri $WR1,    #0x92fd
cw 0x15
call send_back  ; 40484 (0x9e24)

lri $AR1,    #0x4780
lri $IX1,    #0x6052
lri $WR1,    #0xc468
cw 0x15
call send_back  ; 40485 (0x9e25)

lri $AR1,    #0x76fd
lri $IX1,    #0x8038
lri $WR1,    #0x8f24
cw 0x15
call send_back  ; 40486 (0x9e26)

lri $AR1,    #0x97d7
lri $IX1,    #0xead2
lri $WR1,    #0x4b3f
cw 0x15
call send_back  ; 40487 (0x9e27)

lri $AR1,    #0x8d10
lri $IX1,    #0x3ec4
lri $WR1,    #0x6ec4
cw 0x15
call send_back  ; 40488 (0x9e28)

lri $AR1,    #0x4c7e
lri $IX1,    #0xb594
lri $WR1,    #0x811c
cw 0x15
call send_back  ; 40489 (0x9e29)

lri $AR1,    #0x87b4
lri $IX1,    #0x770e
lri $WR1,    #0x89a1
cw 0x15
call send_back  ; 40490 (0x9e2a)

lri $AR1,    #0x5c7e
lri $IX1,    #0x9c0a
lri $WR1,    #0x5899
cw 0x15
call send_back  ; 40491 (0x9e2b)

lri $AR1,    #0xc662
lri $IX1,    #0xbcea
lri $WR1,    #0xdf07
cw 0x15
call send_back  ; 40492 (0x9e2c)

lri $AR1,    #0x85c7
lri $IX1,    #0x9058
lri $WR1,    #0x437c
cw 0x15
call send_back  ; 40493 (0x9e2d)

lri $AR1,    #0x6138
lri $IX1,    #0xf390
lri $WR1,    #0x5f6d
cw 0x15
call send_back  ; 40494 (0x9e2e)

lri $AR1,    #0x6881
lri $IX1,    #0xd5d6
lri $WR1,    #0xb21c
cw 0x15
call send_back  ; 40495 (0x9e2f)

lri $AR1,    #0x98f9
lri $IX1,    #0x0d54
lri $WR1,    #0x7ba4
cw 0x15
call send_back  ; 40496 (0x9e30)

lri $AR1,    #0x4dcd
lri $IX1,    #0x3404
lri $WR1,    #0x7c47
cw 0x15
call send_back  ; 40497 (0x9e31)

lri $AR1,    #0xa697
lri $IX1,    #0x6fe2
lri $WR1,    #0x2175
cw 0x15
call send_back  ; 40498 (0x9e32)

lri $AR1,    #0x6210
lri $IX1,    #0x9a04
lri $WR1,    #0x1baf
cw 0x15
call send_back  ; 40499 (0x9e33)

lri $AR1,    #0x723c
lri $IX1,    #0xb4ec
lri $WR1,    #0xcdd2
cw 0x15
call send_back  ; 40500 (0x9e34)

lri $AR1,    #0x2abd
lri $IX1,    #0x2a8e
lri $WR1,    #0x9fd0
cw 0x15
call send_back  ; 40501 (0x9e35)

lri $AR1,    #0xb9d1
lri $IX1,    #0xff6e
lri $WR1,    #0x5c7b
cw 0x15
call send_back  ; 40502 (0x9e36)

lri $AR1,    #0x7f96
lri $IX1,    #0x286a
lri $WR1,    #0xc357
cw 0x15
call send_back  ; 40503 (0x9e37)

lri $AR1,    #0xaf07
lri $IX1,    #0x9d60
lri $WR1,    #0xbd22
cw 0x15
call send_back  ; 40504 (0x9e38)

lri $AR1,    #0x4f7a
lri $IX1,    #0xbb6c
lri $WR1,    #0x8b07
cw 0x15
call send_back  ; 40505 (0x9e39)

lri $AR1,    #0x94e1
lri $IX1,    #0x2dea
lri $WR1,    #0x361a
cw 0x15
call send_back  ; 40506 (0x9e3a)

lri $AR1,    #0x78af
lri $IX1,    #0x05e6
lri $WR1,    #0x562a
cw 0x15
call send_back  ; 40507 (0x9e3b)

lri $AR1,    #0xe4b3
lri $IX1,    #0x0428
lri $WR1,    #0xdc7a
cw 0x15
call send_back  ; 40508 (0x9e3c)

lri $AR1,    #0x7ca3
lri $IX1,    #0x82a2
lri $WR1,    #0x486f
cw 0x15
call send_back  ; 40509 (0x9e3d)

lri $AR1,    #0x82b9
lri $IX1,    #0xfe52
lri $WR1,    #0x69c7
cw 0x15
call send_back  ; 40510 (0x9e3e)

lri $AR1,    #0x5737
lri $IX1,    #0x235c
lri $WR1,    #0x755a
cw 0x15
call send_back  ; 40511 (0x9e3f)

lri $AR1,    #0x0a0e
lri $IX1,    #0x8982
lri $WR1,    #0x971a
cw 0x15
call send_back  ; 40512 (0x9e40)

lri $AR1,    #0x418a
lri $IX1,    #0x27b8
lri $WR1,    #0x3526
cw 0x15
call send_back  ; 40513 (0x9e41)

lri $AR1,    #0x3843
lri $IX1,    #0x09e8
lri $WR1,    #0x25cb
cw 0x15
call send_back  ; 40514 (0x9e42)

lri $AR1,    #0xa83c
lri $IX1,    #0x24ba
lri $WR1,    #0x8b32
cw 0x15
call send_back  ; 40515 (0x9e43)

lri $AR1,    #0x805d
lri $IX1,    #0x5f7a
lri $WR1,    #0xbd97
cw 0x15
call send_back  ; 40516 (0x9e44)

lri $AR1,    #0x1d3b
lri $IX1,    #0x34c2
lri $WR1,    #0x85e2
cw 0x15
call send_back  ; 40517 (0x9e45)

lri $AR1,    #0xcd62
lri $IX1,    #0xbf38
lri $WR1,    #0x484a
cw 0x15
call send_back  ; 40518 (0x9e46)

lri $AR1,    #0x8d07
lri $IX1,    #0xc7f8
lri $WR1,    #0x8011
cw 0x15
call send_back  ; 40519 (0x9e47)

lri $AR1,    #0x7c5e
lri $IX1,    #0x98dc
lri $WR1,    #0x72e3
cw 0x15
call send_back  ; 40520 (0x9e48)

lri $AR1,    #0x7f7b
lri $IX1,    #0x0d56
lri $WR1,    #0xabf0
cw 0x15
call send_back  ; 40521 (0x9e49)

lri $AR1,    #0x95f0
lri $IX1,    #0xc116
lri $WR1,    #0x7c40
cw 0x15
call send_back  ; 40522 (0x9e4a)

lri $AR1,    #0xac17
lri $IX1,    #0x6c12
lri $WR1,    #0x4f71
cw 0x15
call send_back  ; 40523 (0x9e4b)

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