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

lri $AR1,    #0x9851
lri $IX1,    #0x0570
lri $WR1,    #0x59ad
cw 0xd
call send_back  ; 35500 (0x8aac)

lri $AR1,    #0x7578
lri $IX1,    #0xd3ba
lri $WR1,    #0x90d9
cw 0xd
call send_back  ; 35501 (0x8aad)

lri $AR1,    #0x9ed1
lri $IX1,    #0x7884
lri $WR1,    #0x31aa
cw 0xd
call send_back  ; 35502 (0x8aae)

lri $AR1,    #0x47f1
lri $IX1,    #0xfeb2
lri $WR1,    #0x84d8
cw 0xd
call send_back  ; 35503 (0x8aaf)

lri $AR1,    #0x7e1d
lri $IX1,    #0x976a
lri $WR1,    #0x2c9f
cw 0xd
call send_back  ; 35504 (0x8ab0)

lri $AR1,    #0x938e
lri $IX1,    #0x101c
lri $WR1,    #0x6afb
cw 0xd
call send_back  ; 35505 (0x8ab1)

lri $AR1,    #0xc909
lri $IX1,    #0x655a
lri $WR1,    #0x3dba
cw 0xd
call send_back  ; 35506 (0x8ab2)

lri $AR1,    #0x7395
lri $IX1,    #0xbeb6
lri $WR1,    #0x8b56
cw 0xd
call send_back  ; 35507 (0x8ab3)

lri $AR1,    #0xa39e
lri $IX1,    #0xa37e
lri $WR1,    #0x914b
cw 0xd
call send_back  ; 35508 (0x8ab4)

lri $AR1,    #0x6e55
lri $IX1,    #0xafa8
lri $WR1,    #0x5dc4
cw 0xd
call send_back  ; 35509 (0x8ab5)

lri $AR1,    #0x49a5
lri $IX1,    #0x5bbc
lri $WR1,    #0xbc70
cw 0xd
call send_back  ; 35510 (0x8ab6)

lri $AR1,    #0xce75
lri $IX1,    #0x6a0a
lri $WR1,    #0x7f50
cw 0xd
call send_back  ; 35511 (0x8ab7)

lri $AR1,    #0x8cb0
lri $IX1,    #0x1efe
lri $WR1,    #0xd23f
cw 0xd
call send_back  ; 35512 (0x8ab8)

lri $AR1,    #0xc7b4
lri $IX1,    #0x71e8
lri $WR1,    #0x3121
cw 0xd
call send_back  ; 35513 (0x8ab9)

lri $AR1,    #0xd19f
lri $IX1,    #0xbef8
lri $WR1,    #0x8668
cw 0xd
call send_back  ; 35514 (0x8aba)

lri $AR1,    #0xaf33
lri $IX1,    #0x12d0
lri $WR1,    #0x48de
cw 0xd
call send_back  ; 35515 (0x8abb)

lri $AR1,    #0x95aa
lri $IX1,    #0xcb72
lri $WR1,    #0x8563
cw 0xd
call send_back  ; 35516 (0x8abc)

lri $AR1,    #0x8f44
lri $IX1,    #0xe1d8
lri $WR1,    #0x7a98
cw 0xd
call send_back  ; 35517 (0x8abd)

lri $AR1,    #0x82e8
lri $IX1,    #0x9b10
lri $WR1,    #0x2a14
cw 0xd
call send_back  ; 35518 (0x8abe)

lri $AR1,    #0xdea6
lri $IX1,    #0x7f24
lri $WR1,    #0xe432
cw 0xd
call send_back  ; 35519 (0x8abf)

lri $AR1,    #0x9c5a
lri $IX1,    #0x279a
lri $WR1,    #0xb8f7
cw 0xd
call send_back  ; 35520 (0x8ac0)

lri $AR1,    #0xa359
lri $IX1,    #0x9ef0
lri $WR1,    #0x4246
cw 0xd
call send_back  ; 35521 (0x8ac1)

lri $AR1,    #0x896d
lri $IX1,    #0x85c2
lri $WR1,    #0x48c2
cw 0xd
call send_back  ; 35522 (0x8ac2)

lri $AR1,    #0x48df
lri $IX1,    #0xe216
lri $WR1,    #0xb693
cw 0xd
call send_back  ; 35523 (0x8ac3)

lri $AR1,    #0x8906
lri $IX1,    #0x406e
lri $WR1,    #0x8091
cw 0xd
call send_back  ; 35524 (0x8ac4)

lri $AR1,    #0x7203
lri $IX1,    #0x861c
lri $WR1,    #0x87e0
cw 0xd
call send_back  ; 35525 (0x8ac5)

lri $AR1,    #0x940e
lri $IX1,    #0x5f82
lri $WR1,    #0x5392
cw 0xd
call send_back  ; 35526 (0x8ac6)

lri $AR1,    #0x8e26
lri $IX1,    #0x74b2
lri $WR1,    #0x4365
cw 0xd
call send_back  ; 35527 (0x8ac7)

lri $AR1,    #0xb76e
lri $IX1,    #0x6220
lri $WR1,    #0x6222
cw 0xd
call send_back  ; 35528 (0x8ac8)

lri $AR1,    #0x7a04
lri $IX1,    #0xbac4
lri $WR1,    #0x27b4
cw 0xd
call send_back  ; 35529 (0x8ac9)

lri $AR1,    #0x2da5
lri $IX1,    #0xf47a
lri $WR1,    #0x2881
cw 0xd
call send_back  ; 35530 (0x8aca)

lri $AR1,    #0x73fa
lri $IX1,    #0xeefa
lri $WR1,    #0x4120
cw 0xd
call send_back  ; 35531 (0x8acb)

lri $AR1,    #0x3fc6
lri $IX1,    #0xa916
lri $WR1,    #0xa2f1
cw 0xd
call send_back  ; 35532 (0x8acc)

lri $AR1,    #0xabd7
lri $IX1,    #0x8fc6
lri $WR1,    #0x1fa7
cw 0xd
call send_back  ; 35533 (0x8acd)

lri $AR1,    #0x7605
lri $IX1,    #0x7d92
lri $WR1,    #0x8f62
cw 0xd
call send_back  ; 35534 (0x8ace)

lri $AR1,    #0x3615
lri $IX1,    #0xe0e6
lri $WR1,    #0x8e56
cw 0xd
call send_back  ; 35535 (0x8acf)

lri $AR1,    #0x9fbe
lri $IX1,    #0x72f2
lri $WR1,    #0x749b
cw 0xd
call send_back  ; 35536 (0x8ad0)

lri $AR1,    #0xaab2
lri $IX1,    #0x5076
lri $WR1,    #0x3435
cw 0xd
call send_back  ; 35537 (0x8ad1)

lri $AR1,    #0xbafa
lri $IX1,    #0x0164
lri $WR1,    #0x96e0
cw 0xd
call send_back  ; 35538 (0x8ad2)

lri $AR1,    #0xb767
lri $IX1,    #0xeb6c
lri $WR1,    #0x86ae
cw 0xd
call send_back  ; 35539 (0x8ad3)

lri $AR1,    #0x437b
lri $IX1,    #0xaf8a
lri $WR1,    #0x8219
cw 0xd
call send_back  ; 35540 (0x8ad4)

lri $AR1,    #0x6d81
lri $IX1,    #0xe9a6
lri $WR1,    #0x7575
cw 0xd
call send_back  ; 35541 (0x8ad5)

lri $AR1,    #0x7143
lri $IX1,    #0x9544
lri $WR1,    #0xd17e
cw 0xd
call send_back  ; 35542 (0x8ad6)

lri $AR1,    #0x9319
lri $IX1,    #0xd974
lri $WR1,    #0xb7ed
cw 0xd
call send_back  ; 35543 (0x8ad7)

lri $AR1,    #0x6e9b
lri $IX1,    #0x11f0
lri $WR1,    #0x5cba
cw 0xd
call send_back  ; 35544 (0x8ad8)

lri $AR1,    #0x3fe8
lri $IX1,    #0x729c
lri $WR1,    #0xa413
cw 0xd
call send_back  ; 35545 (0x8ad9)

lri $AR1,    #0x8d9d
lri $IX1,    #0x7e3e
lri $WR1,    #0x7297
cw 0xd
call send_back  ; 35546 (0x8ada)

lri $AR1,    #0x8d89
lri $IX1,    #0x98e0
lri $WR1,    #0x76e9
cw 0xd
call send_back  ; 35547 (0x8adb)

lri $AR1,    #0x8536
lri $IX1,    #0x216e
lri $WR1,    #0x4926
cw 0xd
call send_back  ; 35548 (0x8adc)

lri $AR1,    #0xa343
lri $IX1,    #0x9612
lri $WR1,    #0x7656
cw 0xd
call send_back  ; 35549 (0x8add)

lri $AR1,    #0xbdb8
lri $IX1,    #0x3218
lri $WR1,    #0x4b60
cw 0xd
call send_back  ; 35550 (0x8ade)

lri $AR1,    #0x6550
lri $IX1,    #0x138c
lri $WR1,    #0x5495
cw 0xd
call send_back  ; 35551 (0x8adf)

lri $AR1,    #0xb4da
lri $IX1,    #0x2a80
lri $WR1,    #0x6c5a
cw 0xd
call send_back  ; 35552 (0x8ae0)

lri $AR1,    #0x8fa6
lri $IX1,    #0xdb42
lri $WR1,    #0xbd19
cw 0xd
call send_back  ; 35553 (0x8ae1)

lri $AR1,    #0x8141
lri $IX1,    #0x384e
lri $WR1,    #0x27e3
cw 0xd
call send_back  ; 35554 (0x8ae2)

lri $AR1,    #0x843f
lri $IX1,    #0xe848
lri $WR1,    #0x72f8
cw 0xd
call send_back  ; 35555 (0x8ae3)

lri $AR1,    #0x7d8b
lri $IX1,    #0x0fe2
lri $WR1,    #0x58af
cw 0xd
call send_back  ; 35556 (0x8ae4)

lri $AR1,    #0x94df
lri $IX1,    #0xceda
lri $WR1,    #0x68d2
cw 0xd
call send_back  ; 35557 (0x8ae5)

lri $AR1,    #0xa2d8
lri $IX1,    #0xeb12
lri $WR1,    #0x8c03
cw 0xd
call send_back  ; 35558 (0x8ae6)

lri $AR1,    #0x905f
lri $IX1,    #0x03e0
lri $WR1,    #0xba37
cw 0xd
call send_back  ; 35559 (0x8ae7)

lri $AR1,    #0x1aca
lri $IX1,    #0xfb80
lri $WR1,    #0x7ad5
cw 0xd
call send_back  ; 35560 (0x8ae8)

lri $AR1,    #0x5b71
lri $IX1,    #0x0bfe
lri $WR1,    #0x6e8f
cw 0xd
call send_back  ; 35561 (0x8ae9)

lri $AR1,    #0x9117
lri $IX1,    #0x1854
lri $WR1,    #0x507b
cw 0xd
call send_back  ; 35562 (0x8aea)

lri $AR1,    #0xdcee
lri $IX1,    #0x1a16
lri $WR1,    #0x6d88
cw 0xd
call send_back  ; 35563 (0x8aeb)

lri $AR1,    #0x4c8b
lri $IX1,    #0xef88
lri $WR1,    #0x66d1
cw 0xd
call send_back  ; 35564 (0x8aec)

lri $AR1,    #0x8598
lri $IX1,    #0x2550
lri $WR1,    #0x8cf5
cw 0xd
call send_back  ; 35565 (0x8aed)

lri $AR1,    #0x9792
lri $IX1,    #0x82b4
lri $WR1,    #0x9fe0
cw 0xd
call send_back  ; 35566 (0x8aee)

lri $AR1,    #0xbb66
lri $IX1,    #0xfea4
lri $WR1,    #0xa03e
cw 0xd
call send_back  ; 35567 (0x8aef)

lri $AR1,    #0x003e
lri $IX1,    #0x3756
lri $WR1,    #0x8505
cw 0xd
call send_back  ; 35568 (0x8af0)

lri $AR1,    #0x7049
lri $IX1,    #0x6de2
lri $WR1,    #0x7141
cw 0xd
call send_back  ; 35569 (0x8af1)

lri $AR1,    #0x77d2
lri $IX1,    #0x4292
lri $WR1,    #0x539c
cw 0xd
call send_back  ; 35570 (0x8af2)

lri $AR1,    #0x2c77
lri $IX1,    #0xde3a
lri $WR1,    #0x8ac1
cw 0xd
call send_back  ; 35571 (0x8af3)

lri $AR1,    #0x59c8
lri $IX1,    #0xb882
lri $WR1,    #0x9f26
cw 0xd
call send_back  ; 35572 (0x8af4)

lri $AR1,    #0x542f
lri $IX1,    #0xa244
lri $WR1,    #0x3c48
cw 0xd
call send_back  ; 35573 (0x8af5)

lri $AR1,    #0x625a
lri $IX1,    #0x06fe
lri $WR1,    #0xb0f2
cw 0xd
call send_back  ; 35574 (0x8af6)

lri $AR1,    #0x7108
lri $IX1,    #0x5786
lri $WR1,    #0xbf93
cw 0xd
call send_back  ; 35575 (0x8af7)

lri $AR1,    #0x9c88
lri $IX1,    #0x23e0
lri $WR1,    #0x4d43
cw 0xd
call send_back  ; 35576 (0x8af8)

lri $AR1,    #0x46b0
lri $IX1,    #0x717e
lri $WR1,    #0x6778
cw 0xd
call send_back  ; 35577 (0x8af9)

lri $AR1,    #0x4fa3
lri $IX1,    #0x36ca
lri $WR1,    #0x85fd
cw 0xd
call send_back  ; 35578 (0x8afa)

lri $AR1,    #0x7b3b
lri $IX1,    #0x742a
lri $WR1,    #0x404d
cw 0xd
call send_back  ; 35579 (0x8afb)

lri $AR1,    #0x7454
lri $IX1,    #0x0674
lri $WR1,    #0xc2c5
cw 0xd
call send_back  ; 35580 (0x8afc)

lri $AR1,    #0x9ae6
lri $IX1,    #0xe60c
lri $WR1,    #0x89d5
cw 0xd
call send_back  ; 35581 (0x8afd)

lri $AR1,    #0x3921
lri $IX1,    #0xf174
lri $WR1,    #0xa6b1
cw 0xd
call send_back  ; 35582 (0x8afe)

lri $AR1,    #0xbf66
lri $IX1,    #0x81bc
lri $WR1,    #0x72a1
cw 0xd
call send_back  ; 35583 (0x8aff)

lri $AR1,    #0x1e79
lri $IX1,    #0xba82
lri $WR1,    #0x7b6b
cw 0xd
call send_back  ; 35584 (0x8b00)

lri $AR1,    #0xa2a8
lri $IX1,    #0xaee6
lri $WR1,    #0x7cfd
cw 0xd
call send_back  ; 35585 (0x8b01)

lri $AR1,    #0x323c
lri $IX1,    #0xf03e
lri $WR1,    #0x49d9
cw 0xd
call send_back  ; 35586 (0x8b02)

lri $AR1,    #0x651c
lri $IX1,    #0xcad2
lri $WR1,    #0x7557
cw 0xd
call send_back  ; 35587 (0x8b03)

lri $AR1,    #0x72c0
lri $IX1,    #0x3880
lri $WR1,    #0x484b
cw 0xd
call send_back  ; 35588 (0x8b04)

lri $AR1,    #0xcf7f
lri $IX1,    #0x4878
lri $WR1,    #0x6226
cw 0xd
call send_back  ; 35589 (0x8b05)

lri $AR1,    #0x615a
lri $IX1,    #0x4718
lri $WR1,    #0x461a
cw 0xd
call send_back  ; 35590 (0x8b06)

lri $AR1,    #0xd823
lri $IX1,    #0x2ff6
lri $WR1,    #0x5551
cw 0xd
call send_back  ; 35591 (0x8b07)

lri $AR1,    #0x4c65
lri $IX1,    #0xc81e
lri $WR1,    #0x3cd5
cw 0xd
call send_back  ; 35592 (0x8b08)

lri $AR1,    #0xb3b3
lri $IX1,    #0x05aa
lri $WR1,    #0x871c
cw 0xd
call send_back  ; 35593 (0x8b09)

lri $AR1,    #0xd8d0
lri $IX1,    #0x05b0
lri $WR1,    #0xaeec
cw 0xd
call send_back  ; 35594 (0x8b0a)

lri $AR1,    #0x397d
lri $IX1,    #0xa0aa
lri $WR1,    #0xa289
cw 0xd
call send_back  ; 35595 (0x8b0b)

lri $AR1,    #0x531f
lri $IX1,    #0x9144
lri $WR1,    #0x7bd0
cw 0xd
call send_back  ; 35596 (0x8b0c)

lri $AR1,    #0xe33d
lri $IX1,    #0xf8da
lri $WR1,    #0x2b45
cw 0xd
call send_back  ; 35597 (0x8b0d)

lri $AR1,    #0xcff5
lri $IX1,    #0xb86a
lri $WR1,    #0xd1a4
cw 0xd
call send_back  ; 35598 (0x8b0e)

lri $AR1,    #0xb062
lri $IX1,    #0x7468
lri $WR1,    #0x650f
cw 0xd
call send_back  ; 35599 (0x8b0f)

lri $AR1,    #0xa41d
lri $IX1,    #0x0d14
lri $WR1,    #0x645c
cw 0xd
call send_back  ; 35600 (0x8b10)

lri $AR1,    #0xb4d3
lri $IX1,    #0xbcdc
lri $WR1,    #0xa49e
cw 0xd
call send_back  ; 35601 (0x8b11)

lri $AR1,    #0x3c12
lri $IX1,    #0xc962
lri $WR1,    #0x926c
cw 0xd
call send_back  ; 35602 (0x8b12)

lri $AR1,    #0x9b40
lri $IX1,    #0xa3a0
lri $WR1,    #0x720c
cw 0xd
call send_back  ; 35603 (0x8b13)

lri $AR1,    #0x5b04
lri $IX1,    #0x56e6
lri $WR1,    #0x1eef
cw 0xd
call send_back  ; 35604 (0x8b14)

lri $AR1,    #0xe2e0
lri $IX1,    #0x1e02
lri $WR1,    #0x64bc
cw 0xd
call send_back  ; 35605 (0x8b15)

lri $AR1,    #0xc966
lri $IX1,    #0xc16e
lri $WR1,    #0xa94b
cw 0xd
call send_back  ; 35606 (0x8b16)

lri $AR1,    #0xa0c2
lri $IX1,    #0xe0c0
lri $WR1,    #0xa0c2
cw 0xd
call send_back  ; 35607 (0x8b17)

lri $AR1,    #0x7af3
lri $IX1,    #0x5d4a
lri $WR1,    #0x8a59
cw 0xd
call send_back  ; 35608 (0x8b18)

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