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

lri $AR1,    #0x1061
lri $IX1,    #0x27b0
lri $WR1,    #0x9638
cw 0xd
call send_back  ; 49480 (0xc148)

lri $AR1,    #0x514b
lri $IX1,    #0x94aa
lri $WR1,    #0x8c22
cw 0xd
call send_back  ; 49481 (0xc149)

lri $AR1,    #0x93df
lri $IX1,    #0x914c
lri $WR1,    #0x3a90
cw 0xd
call send_back  ; 49482 (0xc14a)

lri $AR1,    #0xa882
lri $IX1,    #0xb9e4
lri $WR1,    #0x6044
cw 0xd
call send_back  ; 49483 (0xc14b)

lri $AR1,    #0x3752
lri $IX1,    #0x4584
lri $WR1,    #0x5deb
cw 0xd
call send_back  ; 49484 (0xc14c)

lri $AR1,    #0x6e19
lri $IX1,    #0xe3fe
lri $WR1,    #0x54a3
cw 0xd
call send_back  ; 49485 (0xc14d)

lri $AR1,    #0x3a4d
lri $IX1,    #0xf456
lri $WR1,    #0x6718
cw 0xd
call send_back  ; 49486 (0xc14e)

lri $AR1,    #0x66ec
lri $IX1,    #0x4a16
lri $WR1,    #0x1a2b
cw 0xd
call send_back  ; 49487 (0xc14f)

lri $AR1,    #0x2d8a
lri $IX1,    #0xab26
lri $WR1,    #0x77c1
cw 0xd
call send_back  ; 49488 (0xc150)

lri $AR1,    #0x5557
lri $IX1,    #0x97a8
lri $WR1,    #0x5fc7
cw 0xd
call send_back  ; 49489 (0xc151)

lri $AR1,    #0xba76
lri $IX1,    #0xa882
lri $WR1,    #0xc106
cw 0xd
call send_back  ; 49490 (0xc152)

lri $AR1,    #0x6b76
lri $IX1,    #0xc108
lri $WR1,    #0xa4bf
cw 0xd
call send_back  ; 49491 (0xc153)

lri $AR1,    #0x5230
lri $IX1,    #0x536e
lri $WR1,    #0xedb2
cw 0xd
call send_back  ; 49492 (0xc154)

lri $AR1,    #0x78f1
lri $IX1,    #0xef78
lri $WR1,    #0x44a4
cw 0xd
call send_back  ; 49493 (0xc155)

lri $AR1,    #0x4c1c
lri $IX1,    #0x1e26
lri $WR1,    #0x49dc
cw 0xd
call send_back  ; 49494 (0xc156)

lri $AR1,    #0x1c45
lri $IX1,    #0x0ca6
lri $WR1,    #0xa4be
cw 0xd
call send_back  ; 49495 (0xc157)

lri $AR1,    #0x7be1
lri $IX1,    #0x9c6c
lri $WR1,    #0xd00f
cw 0xd
call send_back  ; 49496 (0xc158)

lri $AR1,    #0x3f8a
lri $IX1,    #0xf5b6
lri $WR1,    #0x6ae9
cw 0xd
call send_back  ; 49497 (0xc159)

lri $AR1,    #0xc6fa
lri $IX1,    #0x954c
lri $WR1,    #0xc3f5
cw 0xd
call send_back  ; 49498 (0xc15a)

lri $AR1,    #0xa8bb
lri $IX1,    #0xddce
lri $WR1,    #0xa604
cw 0xd
call send_back  ; 49499 (0xc15b)

lri $AR1,    #0x41b5
lri $IX1,    #0x5866
lri $WR1,    #0x827e
cw 0xd
call send_back  ; 49500 (0xc15c)

lri $AR1,    #0x6580
lri $IX1,    #0xe81e
lri $WR1,    #0x4fd8
cw 0xd
call send_back  ; 49501 (0xc15d)

lri $AR1,    #0x5bc2
lri $IX1,    #0x1eb8
lri $WR1,    #0x2f86
cw 0xd
call send_back  ; 49502 (0xc15e)

lri $AR1,    #0xda72
lri $IX1,    #0x815e
lri $WR1,    #0x9081
cw 0xd
call send_back  ; 49503 (0xc15f)

lri $AR1,    #0xa43a
lri $IX1,    #0xbee0
lri $WR1,    #0x68fe
cw 0xd
call send_back  ; 49504 (0xc160)

lri $AR1,    #0xbde6
lri $IX1,    #0x80e6
lri $WR1,    #0xab52
cw 0xd
call send_back  ; 49505 (0xc161)

lri $AR1,    #0x2d1f
lri $IX1,    #0x7ce8
lri $WR1,    #0x2798
cw 0xd
call send_back  ; 49506 (0xc162)

lri $AR1,    #0x4638
lri $IX1,    #0x9928
lri $WR1,    #0x7d3f
cw 0xd
call send_back  ; 49507 (0xc163)

lri $AR1,    #0x9674
lri $IX1,    #0x3d90
lri $WR1,    #0x74e8
cw 0xd
call send_back  ; 49508 (0xc164)

lri $AR1,    #0xd38b
lri $IX1,    #0x1fbe
lri $WR1,    #0x74c9
cw 0xd
call send_back  ; 49509 (0xc165)

lri $AR1,    #0xc8b3
lri $IX1,    #0xe510
lri $WR1,    #0x1f10
cw 0xd
call send_back  ; 49510 (0xc166)

lri $AR1,    #0x5d16
lri $IX1,    #0xb4f4
lri $WR1,    #0x6b5f
cw 0xd
call send_back  ; 49511 (0xc167)

lri $AR1,    #0xe6e3
lri $IX1,    #0x2966
lri $WR1,    #0x11e9
cw 0xd
call send_back  ; 49512 (0xc168)

lri $AR1,    #0x69ee
lri $IX1,    #0xd2cc
lri $WR1,    #0x484b
cw 0xd
call send_back  ; 49513 (0xc169)

lri $AR1,    #0x8017
lri $IX1,    #0xa01c
lri $WR1,    #0x7da9
cw 0xd
call send_back  ; 49514 (0xc16a)

lri $AR1,    #0x5d4c
lri $IX1,    #0xcb86
lri $WR1,    #0xd51a
cw 0xd
call send_back  ; 49515 (0xc16b)

lri $AR1,    #0x887d
lri $IX1,    #0x4f8c
lri $WR1,    #0x730a
cw 0xd
call send_back  ; 49516 (0xc16c)

lri $AR1,    #0x5e50
lri $IX1,    #0x3fae
lri $WR1,    #0xab7f
cw 0xd
call send_back  ; 49517 (0xc16d)

lri $AR1,    #0xa1df
lri $IX1,    #0x8bae
lri $WR1,    #0x1cf5
cw 0xd
call send_back  ; 49518 (0xc16e)

lri $AR1,    #0xa353
lri $IX1,    #0x9398
lri $WR1,    #0x24c1
cw 0xd
call send_back  ; 49519 (0xc16f)

lri $AR1,    #0xbbb0
lri $IX1,    #0x6660
lri $WR1,    #0x3fa8
cw 0xd
call send_back  ; 49520 (0xc170)

lri $AR1,    #0x68a4
lri $IX1,    #0x6c78
lri $WR1,    #0x32a0
cw 0xd
call send_back  ; 49521 (0xc171)

lri $AR1,    #0x1294
lri $IX1,    #0x7b26
lri $WR1,    #0xa55f
cw 0xd
call send_back  ; 49522 (0xc172)

lri $AR1,    #0x5ada
lri $IX1,    #0xbcde
lri $WR1,    #0x89be
cw 0xd
call send_back  ; 49523 (0xc173)

lri $AR1,    #0x9763
lri $IX1,    #0x5e7c
lri $WR1,    #0xa07c
cw 0xd
call send_back  ; 49524 (0xc174)

lri $AR1,    #0xbc95
lri $IX1,    #0x68bc
lri $WR1,    #0x8585
cw 0xd
call send_back  ; 49525 (0xc175)

lri $AR1,    #0xc5b8
lri $IX1,    #0x7896
lri $WR1,    #0xcb2e
cw 0xd
call send_back  ; 49526 (0xc176)

lri $AR1,    #0x8fca
lri $IX1,    #0x08fe
lri $WR1,    #0x2d92
cw 0xd
call send_back  ; 49527 (0xc177)

lri $AR1,    #0xf1f4
lri $IX1,    #0x93b0
lri $WR1,    #0xac96
cw 0xd
call send_back  ; 49528 (0xc178)

lri $AR1,    #0x8a88
lri $IX1,    #0xd67e
lri $WR1,    #0xc49a
cw 0xd
call send_back  ; 49529 (0xc179)

lri $AR1,    #0x96c7
lri $IX1,    #0xe5cc
lri $WR1,    #0x6b78
cw 0xd
call send_back  ; 49530 (0xc17a)

lri $AR1,    #0x9f43
lri $IX1,    #0x449c
lri $WR1,    #0x48d6
cw 0xd
call send_back  ; 49531 (0xc17b)

lri $AR1,    #0xaa38
lri $IX1,    #0xde04
lri $WR1,    #0x365c
cw 0xd
call send_back  ; 49532 (0xc17c)

lri $AR1,    #0x609a
lri $IX1,    #0x533e
lri $WR1,    #0xcde5
cw 0xd
call send_back  ; 49533 (0xc17d)

lri $AR1,    #0x8231
lri $IX1,    #0x7d4a
lri $WR1,    #0x8935
cw 0xd
call send_back  ; 49534 (0xc17e)

lri $AR1,    #0x889e
lri $IX1,    #0x2054
lri $WR1,    #0x983c
cw 0xd
call send_back  ; 49535 (0xc17f)

lri $AR1,    #0xd07f
lri $IX1,    #0x82b8
lri $WR1,    #0x788d
cw 0xd
call send_back  ; 49536 (0xc180)

lri $AR1,    #0x6b9e
lri $IX1,    #0xc0f0
lri $WR1,    #0x6204
cw 0xd
call send_back  ; 49537 (0xc181)

lri $AR1,    #0x3e62
lri $IX1,    #0x334e
lri $WR1,    #0xaa2d
cw 0xd
call send_back  ; 49538 (0xc182)

lri $AR1,    #0x1e6a
lri $IX1,    #0xe9b8
lri $WR1,    #0x318b
cw 0xd
call send_back  ; 49539 (0xc183)

lri $AR1,    #0xaf8e
lri $IX1,    #0x0544
lri $WR1,    #0xa341
cw 0xd
call send_back  ; 49540 (0xc184)

lri $AR1,    #0x9820
lri $IX1,    #0x6f02
lri $WR1,    #0x292a
cw 0xd
call send_back  ; 49541 (0xc185)

lri $AR1,    #0x34bb
lri $IX1,    #0xf6ca
lri $WR1,    #0x9404
cw 0xd
call send_back  ; 49542 (0xc186)

lri $AR1,    #0x9770
lri $IX1,    #0x2450
lri $WR1,    #0xb8a8
cw 0xd
call send_back  ; 49543 (0xc187)

lri $AR1,    #0xb5a4
lri $IX1,    #0xd858
lri $WR1,    #0xc8e7
cw 0xd
call send_back  ; 49544 (0xc188)

lri $AR1,    #0x1366
lri $IX1,    #0x235c
lri $WR1,    #0x9826
cw 0xd
call send_back  ; 49545 (0xc189)

lri $AR1,    #0xda97
lri $IX1,    #0x526e
lri $WR1,    #0x6936
cw 0xd
call send_back  ; 49546 (0xc18a)

lri $AR1,    #0x7fb1
lri $IX1,    #0x02a0
lri $WR1,    #0x7489
cw 0xd
call send_back  ; 49547 (0xc18b)

lri $AR1,    #0xbd77
lri $IX1,    #0xeede
lri $WR1,    #0xab46
cw 0xd
call send_back  ; 49548 (0xc18c)

lri $AR1,    #0x2c6b
lri $IX1,    #0x035e
lri $WR1,    #0x355d
cw 0xd
call send_back  ; 49549 (0xc18d)

lri $AR1,    #0x6a49
lri $IX1,    #0xed9a
lri $WR1,    #0x2617
cw 0xd
call send_back  ; 49550 (0xc18e)

lri $AR1,    #0x8963
lri $IX1,    #0xbf22
lri $WR1,    #0x4440
cw 0xd
call send_back  ; 49551 (0xc18f)

lri $AR1,    #0xb736
lri $IX1,    #0x2cf6
lri $WR1,    #0x687d
cw 0xd
call send_back  ; 49552 (0xc190)

lri $AR1,    #0x94e4
lri $IX1,    #0x5cda
lri $WR1,    #0x3dcb
cw 0xd
call send_back  ; 49553 (0xc191)

lri $AR1,    #0x7c19
lri $IX1,    #0xed6e
lri $WR1,    #0x7dcf
cw 0xd
call send_back  ; 49554 (0xc192)

lri $AR1,    #0xbdf9
lri $IX1,    #0xd548
lri $WR1,    #0x73f7
cw 0xd
call send_back  ; 49555 (0xc193)

lri $AR1,    #0x3185
lri $IX1,    #0xb8f6
lri $WR1,    #0x8805
cw 0xd
call send_back  ; 49556 (0xc194)

lri $AR1,    #0x823d
lri $IX1,    #0x4f20
lri $WR1,    #0xaa08
cw 0xd
call send_back  ; 49557 (0xc195)

lri $AR1,    #0x7f4b
lri $IX1,    #0x35bc
lri $WR1,    #0x9765
cw 0xd
call send_back  ; 49558 (0xc196)

lri $AR1,    #0x8f1a
lri $IX1,    #0x1a7e
lri $WR1,    #0x71f0
cw 0xd
call send_back  ; 49559 (0xc197)

lri $AR1,    #0x4285
lri $IX1,    #0x2c70
lri $WR1,    #0xe7ab
cw 0xd
call send_back  ; 49560 (0xc198)

lri $AR1,    #0x2e99
lri $IX1,    #0x53f8
lri $WR1,    #0x933e
cw 0xd
call send_back  ; 49561 (0xc199)

lri $AR1,    #0x9319
lri $IX1,    #0x8a10
lri $WR1,    #0x2ab2
cw 0xd
call send_back  ; 49562 (0xc19a)

lri $AR1,    #0x47a5
lri $IX1,    #0xb722
lri $WR1,    #0x6382
cw 0xd
call send_back  ; 49563 (0xc19b)

lri $AR1,    #0x50cb
lri $IX1,    #0xa52c
lri $WR1,    #0x0897
cw 0xd
call send_back  ; 49564 (0xc19c)

lri $AR1,    #0x39d6
lri $IX1,    #0xa89c
lri $WR1,    #0x7835
cw 0xd
call send_back  ; 49565 (0xc19d)

lri $AR1,    #0x3fb6
lri $IX1,    #0x8eb0
lri $WR1,    #0x7d69
cw 0xd
call send_back  ; 49566 (0xc19e)

lri $AR1,    #0x5cb5
lri $IX1,    #0xff92
lri $WR1,    #0x9a1f
cw 0xd
call send_back  ; 49567 (0xc19f)

lri $AR1,    #0xbc64
lri $IX1,    #0xb62a
lri $WR1,    #0xbc49
cw 0xd
call send_back  ; 49568 (0xc1a0)

lri $AR1,    #0xea88
lri $IX1,    #0x96c8
lri $WR1,    #0x6248
cw 0xd
call send_back  ; 49569 (0xc1a1)

lri $AR1,    #0x8f4b
lri $IX1,    #0xa996
lri $WR1,    #0x4017
cw 0xd
call send_back  ; 49570 (0xc1a2)

lri $AR1,    #0x9e98
lri $IX1,    #0x2d20
lri $WR1,    #0x6852
cw 0xd
call send_back  ; 49571 (0xc1a3)

lri $AR1,    #0x67d9
lri $IX1,    #0x38a4
lri $WR1,    #0x3198
cw 0xd
call send_back  ; 49572 (0xc1a4)

lri $AR1,    #0xcefa
lri $IX1,    #0x9da6
lri $WR1,    #0x6a6d
cw 0xd
call send_back  ; 49573 (0xc1a5)

lri $AR1,    #0x86fb
lri $IX1,    #0xc37a
lri $WR1,    #0xcb1e
cw 0xd
call send_back  ; 49574 (0xc1a6)

lri $AR1,    #0xc9d7
lri $IX1,    #0xf714
lri $WR1,    #0x56ba
cw 0xd
call send_back  ; 49575 (0xc1a7)

lri $AR1,    #0xa125
lri $IX1,    #0xfd06
lri $WR1,    #0x61b2
cw 0xd
call send_back  ; 49576 (0xc1a8)

lri $AR1,    #0x3e31
lri $IX1,    #0x7ade
lri $WR1,    #0x9e32
cw 0xd
call send_back  ; 49577 (0xc1a9)

lri $AR1,    #0x7fde
lri $IX1,    #0xe8c4
lri $WR1,    #0xbbba
cw 0xd
call send_back  ; 49578 (0xc1aa)

lri $AR1,    #0xf831
lri $IX1,    #0x0bb2
lri $WR1,    #0x3911
cw 0xd
call send_back  ; 49579 (0xc1ab)

lri $AR1,    #0xeac1
lri $IX1,    #0x5bfc
lri $WR1,    #0x5d20
cw 0xd
call send_back  ; 49580 (0xc1ac)

lri $AR1,    #0x38ea
lri $IX1,    #0x138c
lri $WR1,    #0xc4bc
cw 0xd
call send_back  ; 49581 (0xc1ad)

lri $AR1,    #0x600a
lri $IX1,    #0xca9a
lri $WR1,    #0x70fd
cw 0xd
call send_back  ; 49582 (0xc1ae)

lri $AR1,    #0x71a0
lri $IX1,    #0x6934
lri $WR1,    #0x2329
cw 0xd
call send_back  ; 49583 (0xc1af)

lri $AR1,    #0xa49b
lri $IX1,    #0xa766
lri $WR1,    #0x78c0
cw 0xd
call send_back  ; 49584 (0xc1b0)

lri $AR1,    #0x2a97
lri $IX1,    #0x3d4a
lri $WR1,    #0x83c8
cw 0xd
call send_back  ; 49585 (0xc1b1)

lri $AR1,    #0xb387
lri $IX1,    #0x1fd8
lri $WR1,    #0x68d4
cw 0xd
call send_back  ; 49586 (0xc1b2)

lri $AR1,    #0x5d54
lri $IX1,    #0x96cc
lri $WR1,    #0xbdea
cw 0xd
call send_back  ; 49587 (0xc1b3)

lri $AR1,    #0x1517
lri $IX1,    #0x7b5c
lri $WR1,    #0x5aca
cw 0xd
call send_back  ; 49588 (0xc1b4)

lri $AR1,    #0x8a67
lri $IX1,    #0x6724
lri $WR1,    #0x64ab
cw 0xd
call send_back  ; 49589 (0xc1b5)

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