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

lri $AR1,    #0xdd61
lri $IX1,    #0x28b8
lri $WR1,    #0x5a0a
cw 0xd
call send_back  ; 43473 (0xa9d1)

lri $AR1,    #0xab1c
lri $IX1,    #0x06ec
lri $WR1,    #0x751d
cw 0xd
call send_back  ; 43474 (0xa9d2)

lri $AR1,    #0xc5f4
lri $IX1,    #0x1cec
lri $WR1,    #0x5748
cw 0xd
call send_back  ; 43475 (0xa9d3)

lri $AR1,    #0x97cf
lri $IX1,    #0x1558
lri $WR1,    #0x720a
cw 0xd
call send_back  ; 43476 (0xa9d4)

lri $AR1,    #0x6d25
lri $IX1,    #0xcb80
lri $WR1,    #0x8380
cw 0xd
call send_back  ; 43477 (0xa9d5)

lri $AR1,    #0x41a6
lri $IX1,    #0x8a12
lri $WR1,    #0x9eee
cw 0xd
call send_back  ; 43478 (0xa9d6)

lri $AR1,    #0x9551
lri $IX1,    #0xa104
lri $WR1,    #0x7b55
cw 0xd
call send_back  ; 43479 (0xa9d7)

lri $AR1,    #0xa528
lri $IX1,    #0xa8ba
lri $WR1,    #0xa6b6
cw 0xd
call send_back  ; 43480 (0xa9d8)

lri $AR1,    #0x8e70
lri $IX1,    #0x4f7e
lri $WR1,    #0x2605
cw 0xd
call send_back  ; 43481 (0xa9d9)

lri $AR1,    #0xc2af
lri $IX1,    #0x6a40
lri $WR1,    #0xf76a
cw 0xd
call send_back  ; 43482 (0xa9da)

lri $AR1,    #0xa65d
lri $IX1,    #0x10f2
lri $WR1,    #0xbdd0
cw 0xd
call send_back  ; 43483 (0xa9db)

lri $AR1,    #0x1b6c
lri $IX1,    #0xb224
lri $WR1,    #0x725c
cw 0xd
call send_back  ; 43484 (0xa9dc)

lri $AR1,    #0x74a0
lri $IX1,    #0x216c
lri $WR1,    #0xb1de
cw 0xd
call send_back  ; 43485 (0xa9dd)

lri $AR1,    #0x3dec
lri $IX1,    #0x8f3e
lri $WR1,    #0x79c6
cw 0xd
call send_back  ; 43486 (0xa9de)

lri $AR1,    #0xc9b1
lri $IX1,    #0xf88e
lri $WR1,    #0x49aa
cw 0xd
call send_back  ; 43487 (0xa9df)

lri $AR1,    #0x6a28
lri $IX1,    #0xd012
lri $WR1,    #0x83fa
cw 0xd
call send_back  ; 43488 (0xa9e0)

lri $AR1,    #0x89c8
lri $IX1,    #0x4a86
lri $WR1,    #0x71e8
cw 0xd
call send_back  ; 43489 (0xa9e1)

lri $AR1,    #0x5505
lri $IX1,    #0xb288
lri $WR1,    #0x5c0a
cw 0xd
call send_back  ; 43490 (0xa9e2)

lri $AR1,    #0xbb1d
lri $IX1,    #0x58aa
lri $WR1,    #0x9aec
cw 0xd
call send_back  ; 43491 (0xa9e3)

lri $AR1,    #0x9362
lri $IX1,    #0xf740
lri $WR1,    #0xb7eb
cw 0xd
call send_back  ; 43492 (0xa9e4)

lri $AR1,    #0x8fb5
lri $IX1,    #0x9976
lri $WR1,    #0x9097
cw 0xd
call send_back  ; 43493 (0xa9e5)

lri $AR1,    #0x349c
lri $IX1,    #0x2052
lri $WR1,    #0x4c1d
cw 0xd
call send_back  ; 43494 (0xa9e6)

lri $AR1,    #0x32a9
lri $IX1,    #0x4012
lri $WR1,    #0xb3b9
cw 0xd
call send_back  ; 43495 (0xa9e7)

lri $AR1,    #0x9498
lri $IX1,    #0x239c
lri $WR1,    #0x84db
cw 0xd
call send_back  ; 43496 (0xa9e8)

lri $AR1,    #0xa0eb
lri $IX1,    #0xab62
lri $WR1,    #0x7cfb
cw 0xd
call send_back  ; 43497 (0xa9e9)

lri $AR1,    #0x6d4c
lri $IX1,    #0x5888
lri $WR1,    #0x8cb9
cw 0xd
call send_back  ; 43498 (0xa9ea)

lri $AR1,    #0x5595
lri $IX1,    #0x4488
lri $WR1,    #0xb148
cw 0xd
call send_back  ; 43499 (0xa9eb)

lri $AR1,    #0x2fc2
lri $IX1,    #0xe950
lri $WR1,    #0x48d1
cw 0xd
call send_back  ; 43500 (0xa9ec)

lri $AR1,    #0x91a7
lri $IX1,    #0xd4ec
lri $WR1,    #0x2fb7
cw 0xd
call send_back  ; 43501 (0xa9ed)

lri $AR1,    #0x2ca7
lri $IX1,    #0x8fcc
lri $WR1,    #0xf270
cw 0xd
call send_back  ; 43502 (0xa9ee)

lri $AR1,    #0x8758
lri $IX1,    #0xdbc6
lri $WR1,    #0x40ed
cw 0xd
call send_back  ; 43503 (0xa9ef)

lri $AR1,    #0x944d
lri $IX1,    #0xe5ba
lri $WR1,    #0x762f
cw 0xd
call send_back  ; 43504 (0xa9f0)

lri $AR1,    #0xb0dc
lri $IX1,    #0xeb28
lri $WR1,    #0x5009
cw 0xd
call send_back  ; 43505 (0xa9f1)

lri $AR1,    #0xd637
lri $IX1,    #0x107e
lri $WR1,    #0xc0ae
cw 0xd
call send_back  ; 43506 (0xa9f2)

lri $AR1,    #0x9aa6
lri $IX1,    #0x947e
lri $WR1,    #0x750f
cw 0xd
call send_back  ; 43507 (0xa9f3)

lri $AR1,    #0x6820
lri $IX1,    #0x1074
lri $WR1,    #0xa0aa
cw 0xd
call send_back  ; 43508 (0xa9f4)

lri $AR1,    #0x6937
lri $IX1,    #0xeca2
lri $WR1,    #0x38c7
cw 0xd
call send_back  ; 43509 (0xa9f5)

lri $AR1,    #0x7c80
lri $IX1,    #0x7bb0
lri $WR1,    #0x66b6
cw 0xd
call send_back  ; 43510 (0xa9f6)

lri $AR1,    #0x6264
lri $IX1,    #0x2f5a
lri $WR1,    #0x7a2f
cw 0xd
call send_back  ; 43511 (0xa9f7)

lri $AR1,    #0xb098
lri $IX1,    #0xec4e
lri $WR1,    #0x6a52
cw 0xd
call send_back  ; 43512 (0xa9f8)

lri $AR1,    #0x421c
lri $IX1,    #0x8a64
lri $WR1,    #0x5d5d
cw 0xd
call send_back  ; 43513 (0xa9f9)

lri $AR1,    #0xb9fa
lri $IX1,    #0xea30
lri $WR1,    #0x9ca4
cw 0xd
call send_back  ; 43514 (0xa9fa)

lri $AR1,    #0xa2b2
lri $IX1,    #0x97fe
lri $WR1,    #0x2be8
cw 0xd
call send_back  ; 43515 (0xa9fb)

lri $AR1,    #0x9b8c
lri $IX1,    #0x984e
lri $WR1,    #0xd08f
cw 0xd
call send_back  ; 43516 (0xa9fc)

lri $AR1,    #0x40a7
lri $IX1,    #0x90ea
lri $WR1,    #0x8ed1
cw 0xd
call send_back  ; 43517 (0xa9fd)

lri $AR1,    #0x6a18
lri $IX1,    #0xed80
lri $WR1,    #0x606b
cw 0xd
call send_back  ; 43518 (0xa9fe)

lri $AR1,    #0x61eb
lri $IX1,    #0xbe02
lri $WR1,    #0x89ea
cw 0xd
call send_back  ; 43519 (0xa9ff)

lri $AR1,    #0xa84b
lri $IX1,    #0xc0b8
lri $WR1,    #0x5920
cw 0xd
call send_back  ; 43520 (0xaa00)

lri $AR1,    #0xa8ad
lri $IX1,    #0x312c
lri $WR1,    #0xa0c0
cw 0xd
call send_back  ; 43521 (0xaa01)

lri $AR1,    #0xc245
lri $IX1,    #0x70dc
lri $WR1,    #0x52d5
cw 0xd
call send_back  ; 43522 (0xaa02)

lri $AR1,    #0x999d
lri $IX1,    #0x4df8
lri $WR1,    #0x8cff
cw 0xd
call send_back  ; 43523 (0xaa03)

lri $AR1,    #0xb09a
lri $IX1,    #0x7002
lri $WR1,    #0x9f1a
cw 0xd
call send_back  ; 43524 (0xaa04)

lri $AR1,    #0x9dba
lri $IX1,    #0x2998
lri $WR1,    #0x6e5f
cw 0xd
call send_back  ; 43525 (0xaa05)

lri $AR1,    #0xcae1
lri $IX1,    #0x7a3c
lri $WR1,    #0x7488
cw 0xd
call send_back  ; 43526 (0xaa06)

lri $AR1,    #0x4791
lri $IX1,    #0x4a6c
lri $WR1,    #0xdc08
cw 0xd
call send_back  ; 43527 (0xaa07)

lri $AR1,    #0x51b8
lri $IX1,    #0xbfdc
lri $WR1,    #0xbfee
cw 0xd
call send_back  ; 43528 (0xaa08)

lri $AR1,    #0xa411
lri $IX1,    #0xcf12
lri $WR1,    #0xbf7b
cw 0xd
call send_back  ; 43529 (0xaa09)

lri $AR1,    #0xb84a
lri $IX1,    #0xcb48
lri $WR1,    #0xc2fc
cw 0xd
call send_back  ; 43530 (0xaa0a)

lri $AR1,    #0x5ec8
lri $IX1,    #0x84e0
lri $WR1,    #0xe0fe
cw 0xd
call send_back  ; 43531 (0xaa0b)

lri $AR1,    #0x355b
lri $IX1,    #0x6a30
lri $WR1,    #0xa865
cw 0xd
call send_back  ; 43532 (0xaa0c)

lri $AR1,    #0x81b0
lri $IX1,    #0xf5fa
lri $WR1,    #0x8d7b
cw 0xd
call send_back  ; 43533 (0xaa0d)

lri $AR1,    #0x23cf
lri $IX1,    #0x6266
lri $WR1,    #0x3587
cw 0xd
call send_back  ; 43534 (0xaa0e)

lri $AR1,    #0x9878
lri $IX1,    #0xf6ce
lri $WR1,    #0xbdf2
cw 0xd
call send_back  ; 43535 (0xaa0f)

lri $AR1,    #0xbab1
lri $IX1,    #0x3a1e
lri $WR1,    #0xc19b
cw 0xd
call send_back  ; 43536 (0xaa10)

lri $AR1,    #0x7f4a
lri $IX1,    #0xbb26
lri $WR1,    #0x285a
cw 0xd
call send_back  ; 43537 (0xaa11)

lri $AR1,    #0x24bb
lri $IX1,    #0xdbb4
lri $WR1,    #0x9a53
cw 0xd
call send_back  ; 43538 (0xaa12)

lri $AR1,    #0x2513
lri $IX1,    #0xfaa8
lri $WR1,    #0xa20e
cw 0xd
call send_back  ; 43539 (0xaa13)

lri $AR1,    #0x7f60
lri $IX1,    #0x5cfc
lri $WR1,    #0x7e09
cw 0xd
call send_back  ; 43540 (0xaa14)

lri $AR1,    #0x894d
lri $IX1,    #0x2ce4
lri $WR1,    #0xbbaf
cw 0xd
call send_back  ; 43541 (0xaa15)

lri $AR1,    #0x4951
lri $IX1,    #0xb202
lri $WR1,    #0x5363
cw 0xd
call send_back  ; 43542 (0xaa16)

lri $AR1,    #0x3d42
lri $IX1,    #0x64d8
lri $WR1,    #0x7e93
cw 0xd
call send_back  ; 43543 (0xaa17)

lri $AR1,    #0x4888
lri $IX1,    #0x935c
lri $WR1,    #0x467e
cw 0xd
call send_back  ; 43544 (0xaa18)

lri $AR1,    #0x30db
lri $IX1,    #0xd3fa
lri $WR1,    #0xb3a7
cw 0xd
call send_back  ; 43545 (0xaa19)

lri $AR1,    #0xefcc
lri $IX1,    #0x5fe2
lri $WR1,    #0x7392
cw 0xd
call send_back  ; 43546 (0xaa1a)

lri $AR1,    #0x92e3
lri $IX1,    #0x7cc2
lri $WR1,    #0x9bd9
cw 0xd
call send_back  ; 43547 (0xaa1b)

lri $AR1,    #0xcbbc
lri $IX1,    #0x4206
lri $WR1,    #0xc720
cw 0xd
call send_back  ; 43548 (0xaa1c)

lri $AR1,    #0x8cd2
lri $IX1,    #0x1ca8
lri $WR1,    #0x8205
cw 0xd
call send_back  ; 43549 (0xaa1d)

lri $AR1,    #0x7f5b
lri $IX1,    #0x6092
lri $WR1,    #0xbb95
cw 0xd
call send_back  ; 43550 (0xaa1e)

lri $AR1,    #0x2210
lri $IX1,    #0xd5bc
lri $WR1,    #0x8e54
cw 0xd
call send_back  ; 43551 (0xaa1f)

lri $AR1,    #0x580e
lri $IX1,    #0x62fa
lri $WR1,    #0x1c71
cw 0xd
call send_back  ; 43552 (0xaa20)

lri $AR1,    #0x7ac4
lri $IX1,    #0x9fa2
lri $WR1,    #0x432a
cw 0xd
call send_back  ; 43553 (0xaa21)

lri $AR1,    #0x812b
lri $IX1,    #0x1114
lri $WR1,    #0x76f5
cw 0xd
call send_back  ; 43554 (0xaa22)

lri $AR1,    #0xe219
lri $IX1,    #0x081e
lri $WR1,    #0x8b8b
cw 0xd
call send_back  ; 43555 (0xaa23)

lri $AR1,    #0xdf03
lri $IX1,    #0x5670
lri $WR1,    #0x6047
cw 0xd
call send_back  ; 43556 (0xaa24)

lri $AR1,    #0xc001
lri $IX1,    #0x4b18
lri $WR1,    #0x4308
cw 0xd
call send_back  ; 43557 (0xaa25)

lri $AR1,    #0x195f
lri $IX1,    #0x7118
lri $WR1,    #0xb917
cw 0xd
call send_back  ; 43558 (0xaa26)

lri $AR1,    #0x5685
lri $IX1,    #0x4a2e
lri $WR1,    #0x9f20
cw 0xd
call send_back  ; 43559 (0xaa27)

lri $AR1,    #0x5d97
lri $IX1,    #0x93d8
lri $WR1,    #0x96d0
cw 0xd
call send_back  ; 43560 (0xaa28)

lri $AR1,    #0x8a8a
lri $IX1,    #0x6bb0
lri $WR1,    #0xe22e
cw 0xd
call send_back  ; 43561 (0xaa29)

lri $AR1,    #0xe00f
lri $IX1,    #0xc40c
lri $WR1,    #0x7a36
cw 0xd
call send_back  ; 43562 (0xaa2a)

lri $AR1,    #0x8016
lri $IX1,    #0xe930
lri $WR1,    #0x3fcc
cw 0xd
call send_back  ; 43563 (0xaa2b)

lri $AR1,    #0xa542
lri $IX1,    #0x3adc
lri $WR1,    #0x7b94
cw 0xd
call send_back  ; 43564 (0xaa2c)

lri $AR1,    #0xd21c
lri $IX1,    #0x9586
lri $WR1,    #0x5ac0
cw 0xd
call send_back  ; 43565 (0xaa2d)

lri $AR1,    #0x9a4e
lri $IX1,    #0x1214
lri $WR1,    #0x9464
cw 0xd
call send_back  ; 43566 (0xaa2e)

lri $AR1,    #0x2dc3
lri $IX1,    #0xa25e
lri $WR1,    #0x4460
cw 0xd
call send_back  ; 43567 (0xaa2f)

lri $AR1,    #0x84f3
lri $IX1,    #0x845c
lri $WR1,    #0xae73
cw 0xd
call send_back  ; 43568 (0xaa30)

lri $AR1,    #0x192c
lri $IX1,    #0x6d34
lri $WR1,    #0xe57d
cw 0xd
call send_back  ; 43569 (0xaa31)

lri $AR1,    #0x5326
lri $IX1,    #0x890c
lri $WR1,    #0xa08e
cw 0xd
call send_back  ; 43570 (0xaa32)

lri $AR1,    #0xadbd
lri $IX1,    #0xdbea
lri $WR1,    #0x38c7
cw 0xd
call send_back  ; 43571 (0xaa33)

lri $AR1,    #0x5210
lri $IX1,    #0x136e
lri $WR1,    #0xc0a4
cw 0xd
call send_back  ; 43572 (0xaa34)

lri $AR1,    #0x8de6
lri $IX1,    #0x50c6
lri $WR1,    #0x3eb8
cw 0xd
call send_back  ; 43573 (0xaa35)

lri $AR1,    #0x549a
lri $IX1,    #0xbd88
lri $WR1,    #0x3375
cw 0xd
call send_back  ; 43574 (0xaa36)

lri $AR1,    #0xde6c
lri $IX1,    #0xbdfe
lri $WR1,    #0x1300
cw 0xd
call send_back  ; 43575 (0xaa37)

lri $AR1,    #0xd176
lri $IX1,    #0x2664
lri $WR1,    #0xa1b5
cw 0xd
call send_back  ; 43576 (0xaa38)

lri $AR1,    #0x8b2d
lri $IX1,    #0xe0c0
lri $WR1,    #0x8b61
cw 0xd
call send_back  ; 43577 (0xaa39)

lri $AR1,    #0x80a4
lri $IX1,    #0xcbd6
lri $WR1,    #0x7ab6
cw 0xd
call send_back  ; 43578 (0xaa3a)

lri $AR1,    #0x9f70
lri $IX1,    #0x2bbc
lri $WR1,    #0x4825
cw 0xd
call send_back  ; 43579 (0xaa3b)

lri $AR1,    #0x807c
lri $IX1,    #0xa7c8
lri $WR1,    #0x6c8f
cw 0xd
call send_back  ; 43580 (0xaa3c)

lri $AR1,    #0x799f
lri $IX1,    #0x6926
lri $WR1,    #0x9dfb
cw 0xd
call send_back  ; 43581 (0xaa3d)

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