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

lri $AR1,    #0x4f49
lri $IX1,    #0x67be
lri $WR1,    #0x7945
cw 0xd
call send_back  ; 40524 (0x9e4c)

lri $AR1,    #0xa9c7
lri $IX1,    #0xfa66
lri $WR1,    #0x9a33
cw 0xd
call send_back  ; 40525 (0x9e4d)

lri $AR1,    #0x5abf
lri $IX1,    #0x9a62
lri $WR1,    #0xb681
cw 0xd
call send_back  ; 40526 (0x9e4e)

lri $AR1,    #0x8228
lri $IX1,    #0x47f0
lri $WR1,    #0x7ce4
cw 0xd
call send_back  ; 40527 (0x9e4f)

lri $AR1,    #0x0fcb
lri $IX1,    #0x60f6
lri $WR1,    #0x5f5a
cw 0xd
call send_back  ; 40528 (0x9e50)

lri $AR1,    #0x7053
lri $IX1,    #0x66c8
lri $WR1,    #0x6a2b
cw 0xd
call send_back  ; 40529 (0x9e51)

lri $AR1,    #0xf299
lri $IX1,    #0xaacc
lri $WR1,    #0x12b5
cw 0xd
call send_back  ; 40530 (0x9e52)

lri $AR1,    #0x1325
lri $IX1,    #0x9e04
lri $WR1,    #0x6912
cw 0xd
call send_back  ; 40531 (0x9e53)

lri $AR1,    #0xa30b
lri $IX1,    #0x83a2
lri $WR1,    #0x8d1b
cw 0xd
call send_back  ; 40532 (0x9e54)

lri $AR1,    #0x5b09
lri $IX1,    #0x3da4
lri $WR1,    #0x60ec
cw 0xd
call send_back  ; 40533 (0x9e55)

lri $AR1,    #0x3b41
lri $IX1,    #0xb67c
lri $WR1,    #0x9063
cw 0xd
call send_back  ; 40534 (0x9e56)

lri $AR1,    #0x7b3b
lri $IX1,    #0xea12
lri $WR1,    #0x86be
cw 0xd
call send_back  ; 40535 (0x9e57)

lri $AR1,    #0xa5a6
lri $IX1,    #0xa3d6
lri $WR1,    #0x30d7
cw 0xd
call send_back  ; 40536 (0x9e58)

lri $AR1,    #0x2690
lri $IX1,    #0x8f3a
lri $WR1,    #0x5423
cw 0xd
call send_back  ; 40537 (0x9e59)

lri $AR1,    #0xf271
lri $IX1,    #0x137e
lri $WR1,    #0xafe4
cw 0xd
call send_back  ; 40538 (0x9e5a)

lri $AR1,    #0x5fc8
lri $IX1,    #0x82fe
lri $WR1,    #0x6fbf
cw 0xd
call send_back  ; 40539 (0x9e5b)

lri $AR1,    #0xb4b2
lri $IX1,    #0x49d6
lri $WR1,    #0x8c36
cw 0xd
call send_back  ; 40540 (0x9e5c)

lri $AR1,    #0xa545
lri $IX1,    #0xdf4c
lri $WR1,    #0x6f17
cw 0xd
call send_back  ; 40541 (0x9e5d)

lri $AR1,    #0x6edb
lri $IX1,    #0x2898
lri $WR1,    #0x6f6c
cw 0xd
call send_back  ; 40542 (0x9e5e)

lri $AR1,    #0x4063
lri $IX1,    #0x9ba0
lri $WR1,    #0x5a07
cw 0xd
call send_back  ; 40543 (0x9e5f)

lri $AR1,    #0x96c0
lri $IX1,    #0xa326
lri $WR1,    #0x2137
cw 0xd
call send_back  ; 40544 (0x9e60)

lri $AR1,    #0x8038
lri $IX1,    #0x6e0e
lri $WR1,    #0x57a4
cw 0xd
call send_back  ; 40545 (0x9e61)

lri $AR1,    #0x392a
lri $IX1,    #0x4e46
lri $WR1,    #0xa806
cw 0xd
call send_back  ; 40546 (0x9e62)

lri $AR1,    #0xa7df
lri $IX1,    #0xfbca
lri $WR1,    #0x6ca1
cw 0xd
call send_back  ; 40547 (0x9e63)

lri $AR1,    #0x44d4
lri $IX1,    #0x537a
lri $WR1,    #0xbf2e
cw 0xd
call send_back  ; 40548 (0x9e64)

lri $AR1,    #0x5839
lri $IX1,    #0x6130
lri $WR1,    #0x333e
cw 0xd
call send_back  ; 40549 (0x9e65)

lri $AR1,    #0x84ff
lri $IX1,    #0x8fbc
lri $WR1,    #0x4a95
cw 0xd
call send_back  ; 40550 (0x9e66)

lri $AR1,    #0xbd42
lri $IX1,    #0x9948
lri $WR1,    #0x74ac
cw 0xd
call send_back  ; 40551 (0x9e67)

lri $AR1,    #0x536d
lri $IX1,    #0x25c6
lri $WR1,    #0x6fcf
cw 0xd
call send_back  ; 40552 (0x9e68)

lri $AR1,    #0x46cb
lri $IX1,    #0xccd6
lri $WR1,    #0x8bf5
cw 0xd
call send_back  ; 40553 (0x9e69)

lri $AR1,    #0x89f4
lri $IX1,    #0x4be4
lri $WR1,    #0x7cd5
cw 0xd
call send_back  ; 40554 (0x9e6a)

lri $AR1,    #0x34cd
lri $IX1,    #0x10dc
lri $WR1,    #0x7a63
cw 0xd
call send_back  ; 40555 (0x9e6b)

lri $AR1,    #0xbb80
lri $IX1,    #0x9d32
lri $WR1,    #0x4420
cw 0xd
call send_back  ; 40556 (0x9e6c)

lri $AR1,    #0x3f2a
lri $IX1,    #0x9ca2
lri $WR1,    #0x956c
cw 0xd
call send_back  ; 40557 (0x9e6d)

lri $AR1,    #0xbc9d
lri $IX1,    #0xb666
lri $WR1,    #0x9659
cw 0xd
call send_back  ; 40558 (0x9e6e)

lri $AR1,    #0xa0f9
lri $IX1,    #0xff40
lri $WR1,    #0x3616
cw 0xd
call send_back  ; 40559 (0x9e6f)

lri $AR1,    #0x837d
lri $IX1,    #0x661c
lri $WR1,    #0x817e
cw 0xd
call send_back  ; 40560 (0x9e70)

lri $AR1,    #0x4f4c
lri $IX1,    #0x5ca6
lri $WR1,    #0xd1e0
cw 0xd
call send_back  ; 40561 (0x9e71)

lri $AR1,    #0x6783
lri $IX1,    #0x389a
lri $WR1,    #0x7d8b
cw 0xd
call send_back  ; 40562 (0x9e72)

lri $AR1,    #0xa376
lri $IX1,    #0x3a26
lri $WR1,    #0xe52e
cw 0xd
call send_back  ; 40563 (0x9e73)

lri $AR1,    #0x484a
lri $IX1,    #0xa71e
lri $WR1,    #0xaea2
cw 0xd
call send_back  ; 40564 (0x9e74)

lri $AR1,    #0x40da
lri $IX1,    #0xe274
lri $WR1,    #0x9728
cw 0xd
call send_back  ; 40565 (0x9e75)

lri $AR1,    #0x2429
lri $IX1,    #0xb298
lri $WR1,    #0xe4b0
cw 0xd
call send_back  ; 40566 (0x9e76)

lri $AR1,    #0x7e2c
lri $IX1,    #0xe938
lri $WR1,    #0x7f2d
cw 0xd
call send_back  ; 40567 (0x9e77)

lri $AR1,    #0xa643
lri $IX1,    #0x3206
lri $WR1,    #0x809a
cw 0xd
call send_back  ; 40568 (0x9e78)

lri $AR1,    #0x9a3b
lri $IX1,    #0xd60e
lri $WR1,    #0x73b2
cw 0xd
call send_back  ; 40569 (0x9e79)

lri $AR1,    #0x3409
lri $IX1,    #0x9c2c
lri $WR1,    #0xe6e3
cw 0xd
call send_back  ; 40570 (0x9e7a)

lri $AR1,    #0x843a
lri $IX1,    #0x7f18
lri $WR1,    #0xcaad
cw 0xd
call send_back  ; 40571 (0x9e7b)

lri $AR1,    #0x8242
lri $IX1,    #0x94e0
lri $WR1,    #0x27d0
cw 0xd
call send_back  ; 40572 (0x9e7c)

lri $AR1,    #0x7f89
lri $IX1,    #0x1af8
lri $WR1,    #0x7380
cw 0xd
call send_back  ; 40573 (0x9e7d)

lri $AR1,    #0x3995
lri $IX1,    #0x05d6
lri $WR1,    #0x8517
cw 0xd
call send_back  ; 40574 (0x9e7e)

lri $AR1,    #0x6afa
lri $IX1,    #0x9262
lri $WR1,    #0xd25d
cw 0xd
call send_back  ; 40575 (0x9e7f)

lri $AR1,    #0xb292
lri $IX1,    #0x0ae8
lri $WR1,    #0x7d01
cw 0xd
call send_back  ; 40576 (0x9e80)

lri $AR1,    #0x739b
lri $IX1,    #0x1922
lri $WR1,    #0xc532
cw 0xd
call send_back  ; 40577 (0x9e81)

lri $AR1,    #0x5137
lri $IX1,    #0x79d8
lri $WR1,    #0x8316
cw 0xd
call send_back  ; 40578 (0x9e82)

lri $AR1,    #0x7afc
lri $IX1,    #0x96a6
lri $WR1,    #0xba09
cw 0xd
call send_back  ; 40579 (0x9e83)

lri $AR1,    #0x87fb
lri $IX1,    #0x4d9a
lri $WR1,    #0x8e44
cw 0xd
call send_back  ; 40580 (0x9e84)

lri $AR1,    #0x78fb
lri $IX1,    #0xe600
lri $WR1,    #0xbefc
cw 0xd
call send_back  ; 40581 (0x9e85)

lri $AR1,    #0x8a52
lri $IX1,    #0xbd22
lri $WR1,    #0xa485
cw 0xd
call send_back  ; 40582 (0x9e86)

lri $AR1,    #0xa108
lri $IX1,    #0x7570
lri $WR1,    #0x7391
cw 0xd
call send_back  ; 40583 (0x9e87)

lri $AR1,    #0xb6bb
lri $IX1,    #0x45a6
lri $WR1,    #0x8c0a
cw 0xd
call send_back  ; 40584 (0x9e88)

lri $AR1,    #0x12ef
lri $IX1,    #0x4d74
lri $WR1,    #0x43ab
cw 0xd
call send_back  ; 40585 (0x9e89)

lri $AR1,    #0xc040
lri $IX1,    #0x7062
lri $WR1,    #0xc9df
cw 0xd
call send_back  ; 40586 (0x9e8a)

lri $AR1,    #0x5f1e
lri $IX1,    #0x0742
lri $WR1,    #0x53ee
cw 0xd
call send_back  ; 40587 (0x9e8b)

lri $AR1,    #0x1f87
lri $IX1,    #0x9bf0
lri $WR1,    #0x1618
cw 0xd
call send_back  ; 40588 (0x9e8c)

lri $AR1,    #0xa671
lri $IX1,    #0xbadc
lri $WR1,    #0x87a5
cw 0xd
call send_back  ; 40589 (0x9e8d)

lri $AR1,    #0xd353
lri $IX1,    #0x90fe
lri $WR1,    #0x6d76
cw 0xd
call send_back  ; 40590 (0x9e8e)

lri $AR1,    #0x9d77
lri $IX1,    #0x6c96
lri $WR1,    #0x8831
cw 0xd
call send_back  ; 40591 (0x9e8f)

lri $AR1,    #0x788e
lri $IX1,    #0x2a9c
lri $WR1,    #0x688f
cw 0xd
call send_back  ; 40592 (0x9e90)

lri $AR1,    #0x3b38
lri $IX1,    #0x0212
lri $WR1,    #0xb5e7
cw 0xd
call send_back  ; 40593 (0x9e91)

lri $AR1,    #0xc1d5
lri $IX1,    #0xda0e
lri $WR1,    #0x8077
cw 0xd
call send_back  ; 40594 (0x9e92)

lri $AR1,    #0x5b82
lri $IX1,    #0x46dc
lri $WR1,    #0x6a83
cw 0xd
call send_back  ; 40595 (0x9e93)

lri $AR1,    #0xd678
lri $IX1,    #0x4e02
lri $WR1,    #0x68e5
cw 0xd
call send_back  ; 40596 (0x9e94)

lri $AR1,    #0x9cae
lri $IX1,    #0x0862
lri $WR1,    #0x7507
cw 0xd
call send_back  ; 40597 (0x9e95)

lri $AR1,    #0xa109
lri $IX1,    #0x056a
lri $WR1,    #0xa7e3
cw 0xd
call send_back  ; 40598 (0x9e96)

lri $AR1,    #0x40e8
lri $IX1,    #0xd182
lri $WR1,    #0xb727
cw 0xd
call send_back  ; 40599 (0x9e97)

lri $AR1,    #0x9561
lri $IX1,    #0x15b2
lri $WR1,    #0x92ec
cw 0xd
call send_back  ; 40600 (0x9e98)

lri $AR1,    #0x5af8
lri $IX1,    #0x4d94
lri $WR1,    #0xcc31
cw 0xd
call send_back  ; 40601 (0x9e99)

lri $AR1,    #0x7628
lri $IX1,    #0xec9c
lri $WR1,    #0x5997
cw 0xd
call send_back  ; 40602 (0x9e9a)

lri $AR1,    #0x8e8a
lri $IX1,    #0xdaea
lri $WR1,    #0xa175
cw 0xd
call send_back  ; 40603 (0x9e9b)

lri $AR1,    #0xa1e0
lri $IX1,    #0x5574
lri $WR1,    #0x45c7
cw 0xd
call send_back  ; 40604 (0x9e9c)

lri $AR1,    #0x2bf3
lri $IX1,    #0x54e2
lri $WR1,    #0x682a
cw 0xd
call send_back  ; 40605 (0x9e9d)

lri $AR1,    #0x6f67
lri $IX1,    #0x89e8
lri $WR1,    #0x5947
cw 0xd
call send_back  ; 40606 (0x9e9e)

lri $AR1,    #0x6f7e
lri $IX1,    #0x9d6c
lri $WR1,    #0x48de
cw 0xd
call send_back  ; 40607 (0x9e9f)

lri $AR1,    #0xa203
lri $IX1,    #0x9648
lri $WR1,    #0x70f8
cw 0xd
call send_back  ; 40608 (0x9ea0)

lri $AR1,    #0x2c31
lri $IX1,    #0xee06
lri $WR1,    #0x4052
cw 0xd
call send_back  ; 40609 (0x9ea1)

lri $AR1,    #0x7cec
lri $IX1,    #0xd94c
lri $WR1,    #0x957c
cw 0xd
call send_back  ; 40610 (0x9ea2)

lri $AR1,    #0x2a16
lri $IX1,    #0x785a
lri $WR1,    #0x8dec
cw 0xd
call send_back  ; 40611 (0x9ea3)

lri $AR1,    #0x7e50
lri $IX1,    #0xe766
lri $WR1,    #0xa157
cw 0xd
call send_back  ; 40612 (0x9ea4)

lri $AR1,    #0x8001
lri $IX1,    #0x5e2e
lri $WR1,    #0x9b9b
cw 0xd
call send_back  ; 40613 (0x9ea5)

lri $AR1,    #0x49dd
lri $IX1,    #0x997c
lri $WR1,    #0x649b
cw 0xd
call send_back  ; 40614 (0x9ea6)

lri $AR1,    #0xb0db
lri $IX1,    #0x8900
lri $WR1,    #0xc740
cw 0xd
call send_back  ; 40615 (0x9ea7)

lri $AR1,    #0x4ac8
lri $IX1,    #0x8f3e
lri $WR1,    #0x6e11
cw 0xd
call send_back  ; 40616 (0x9ea8)

lri $AR1,    #0x5466
lri $IX1,    #0x6900
lri $WR1,    #0x7593
cw 0xd
call send_back  ; 40617 (0x9ea9)

lri $AR1,    #0x9553
lri $IX1,    #0xece4
lri $WR1,    #0x21de
cw 0xd
call send_back  ; 40618 (0x9eaa)

lri $AR1,    #0x938a
lri $IX1,    #0x23a0
lri $WR1,    #0x5692
cw 0xd
call send_back  ; 40619 (0x9eab)

lri $AR1,    #0x8fdc
lri $IX1,    #0x9c7a
lri $WR1,    #0x45ae
cw 0xd
call send_back  ; 40620 (0x9eac)

lri $AR1,    #0xc01c
lri $IX1,    #0x3998
lri $WR1,    #0xc360
cw 0xd
call send_back  ; 40621 (0x9ead)

lri $AR1,    #0x6b60
lri $IX1,    #0xdaa8
lri $WR1,    #0xaa5a
cw 0xd
call send_back  ; 40622 (0x9eae)

lri $AR1,    #0x5020
lri $IX1,    #0x2c72
lri $WR1,    #0x9db5
cw 0xd
call send_back  ; 40623 (0x9eaf)

lri $AR1,    #0x737f
lri $IX1,    #0x56fa
lri $WR1,    #0x9b0e
cw 0xd
call send_back  ; 40624 (0x9eb0)

lri $AR1,    #0x0498
lri $IX1,    #0x2b8e
lri $WR1,    #0x98c0
cw 0xd
call send_back  ; 40625 (0x9eb1)

lri $AR1,    #0xbe0e
lri $IX1,    #0xafa4
lri $WR1,    #0x39f8
cw 0xd
call send_back  ; 40626 (0x9eb2)

lri $AR1,    #0x83c9
lri $IX1,    #0x50ac
lri $WR1,    #0x5392
cw 0xd
call send_back  ; 40627 (0x9eb3)

lri $AR1,    #0x4216
lri $IX1,    #0x90d4
lri $WR1,    #0x7267
cw 0xd
call send_back  ; 40628 (0x9eb4)

lri $AR1,    #0xaf05
lri $IX1,    #0x73f2
lri $WR1,    #0xad07
cw 0xd
call send_back  ; 40629 (0x9eb5)

lri $AR1,    #0x5e60
lri $IX1,    #0x3f6e
lri $WR1,    #0xa87c
cw 0xd
call send_back  ; 40630 (0x9eb6)

lri $AR1,    #0x7bf0
lri $IX1,    #0x1f76
lri $WR1,    #0x392a
cw 0xd
call send_back  ; 40631 (0x9eb7)

lri $AR1,    #0xd77d
lri $IX1,    #0xd75a
lri $WR1,    #0x4e4a
cw 0xd
call send_back  ; 40632 (0x9eb8)

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