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

lri $AR1,    #0x3838
lri $IX1,    #0xf766
lri $WR1,    #0x6e99
cw 0x15
call send_back  ; 61495 (0xf037)

lri $AR1,    #0x48e7
lri $IX1,    #0x15b8
lri $WR1,    #0x17fd
cw 0x15
call send_back  ; 61496 (0xf038)

lri $AR1,    #0x7958
lri $IX1,    #0x0450
lri $WR1,    #0x7f03
cw 0x15
call send_back  ; 61497 (0xf039)

lri $AR1,    #0x652f
lri $IX1,    #0xe958
lri $WR1,    #0x7d32
cw 0x15
call send_back  ; 61498 (0xf03a)

lri $AR1,    #0x4a10
lri $IX1,    #0x102a
lri $WR1,    #0x3947
cw 0x15
call send_back  ; 61499 (0xf03b)

lri $AR1,    #0x3e79
lri $IX1,    #0xc760
lri $WR1,    #0x2df7
cw 0x15
call send_back  ; 61500 (0xf03c)

lri $AR1,    #0xa750
lri $IX1,    #0xbe3e
lri $WR1,    #0x3a96
cw 0x15
call send_back  ; 61501 (0xf03d)

lri $AR1,    #0x687e
lri $IX1,    #0xe290
lri $WR1,    #0x6150
cw 0x15
call send_back  ; 61502 (0xf03e)

lri $AR1,    #0xd077
lri $IX1,    #0xa0c8
lri $WR1,    #0x77f3
cw 0x15
call send_back  ; 61503 (0xf03f)

lri $AR1,    #0xb5db
lri $IX1,    #0xb47e
lri $WR1,    #0x75da
cw 0x15
call send_back  ; 61504 (0xf040)

lri $AR1,    #0x8a25
lri $IX1,    #0x8fee
lri $WR1,    #0x1319
cw 0x15
call send_back  ; 61505 (0xf041)

lri $AR1,    #0xa39f
lri $IX1,    #0xe5d6
lri $WR1,    #0x7a68
cw 0x15
call send_back  ; 61506 (0xf042)

lri $AR1,    #0x147b
lri $IX1,    #0x3132
lri $WR1,    #0x40e5
cw 0x15
call send_back  ; 61507 (0xf043)

lri $AR1,    #0x6c51
lri $IX1,    #0x5316
lri $WR1,    #0x8c3a
cw 0x15
call send_back  ; 61508 (0xf044)

lri $AR1,    #0x1ce5
lri $IX1,    #0xa770
lri $WR1,    #0x293f
cw 0x15
call send_back  ; 61509 (0xf045)

lri $AR1,    #0xca75
lri $IX1,    #0x65b8
lri $WR1,    #0x329b
cw 0x15
call send_back  ; 61510 (0xf046)

lri $AR1,    #0x7365
lri $IX1,    #0xe358
lri $WR1,    #0xa87f
cw 0x15
call send_back  ; 61511 (0xf047)

lri $AR1,    #0x729a
lri $IX1,    #0x79f8
lri $WR1,    #0xe009
cw 0x15
call send_back  ; 61512 (0xf048)

lri $AR1,    #0x4b55
lri $IX1,    #0x8c5e
lri $WR1,    #0x5a58
cw 0x15
call send_back  ; 61513 (0xf049)

lri $AR1,    #0x4cda
lri $IX1,    #0x8908
lri $WR1,    #0x40e3
cw 0x15
call send_back  ; 61514 (0xf04a)

lri $AR1,    #0x4fb5
lri $IX1,    #0xfa3c
lri $WR1,    #0xd63a
cw 0x15
call send_back  ; 61515 (0xf04b)

lri $AR1,    #0x75eb
lri $IX1,    #0xcfc0
lri $WR1,    #0x7f8e
cw 0x15
call send_back  ; 61516 (0xf04c)

lri $AR1,    #0xd2f0
lri $IX1,    #0x36dc
lri $WR1,    #0x8546
cw 0x15
call send_back  ; 61517 (0xf04d)

lri $AR1,    #0x8fa0
lri $IX1,    #0xa9e0
lri $WR1,    #0x2617
cw 0x15
call send_back  ; 61518 (0xf04e)

lri $AR1,    #0x6223
lri $IX1,    #0x80e0
lri $WR1,    #0x79a8
cw 0x15
call send_back  ; 61519 (0xf04f)

lri $AR1,    #0x68f4
lri $IX1,    #0x59c8
lri $WR1,    #0x4566
cw 0x15
call send_back  ; 61520 (0xf050)

lri $AR1,    #0x83ea
lri $IX1,    #0x4692
lri $WR1,    #0xaf89
cw 0x15
call send_back  ; 61521 (0xf051)

lri $AR1,    #0x8592
lri $IX1,    #0xf4a8
lri $WR1,    #0x89df
cw 0x15
call send_back  ; 61522 (0xf052)

lri $AR1,    #0x6aa1
lri $IX1,    #0x1156
lri $WR1,    #0x1f71
cw 0x15
call send_back  ; 61523 (0xf053)

lri $AR1,    #0x8cdb
lri $IX1,    #0x2b3c
lri $WR1,    #0x658b
cw 0x15
call send_back  ; 61524 (0xf054)

lri $AR1,    #0xe231
lri $IX1,    #0x59b0
lri $WR1,    #0x8a35
cw 0x15
call send_back  ; 61525 (0xf055)

lri $AR1,    #0xa871
lri $IX1,    #0x2708
lri $WR1,    #0x77bf
cw 0x15
call send_back  ; 61526 (0xf056)

lri $AR1,    #0xc155
lri $IX1,    #0xbbb0
lri $WR1,    #0xe658
cw 0x15
call send_back  ; 61527 (0xf057)

lri $AR1,    #0x5a3d
lri $IX1,    #0x340a
lri $WR1,    #0x5a49
cw 0x15
call send_back  ; 61528 (0xf058)

lri $AR1,    #0x2667
lri $IX1,    #0x83f2
lri $WR1,    #0x56f7
cw 0x15
call send_back  ; 61529 (0xf059)

lri $AR1,    #0xd1f8
lri $IX1,    #0x6ef6
lri $WR1,    #0x7c13
cw 0x15
call send_back  ; 61530 (0xf05a)

lri $AR1,    #0x47a1
lri $IX1,    #0x0d0e
lri $WR1,    #0x9434
cw 0x15
call send_back  ; 61531 (0xf05b)

lri $AR1,    #0x4a31
lri $IX1,    #0x2fec
lri $WR1,    #0xb14c
cw 0x15
call send_back  ; 61532 (0xf05c)

lri $AR1,    #0x9ee9
lri $IX1,    #0xe59a
lri $WR1,    #0xad16
cw 0x15
call send_back  ; 61533 (0xf05d)

lri $AR1,    #0x74d9
lri $IX1,    #0x69ae
lri $WR1,    #0xa10e
cw 0x15
call send_back  ; 61534 (0xf05e)

lri $AR1,    #0x391b
lri $IX1,    #0x3696
lri $WR1,    #0x8af8
cw 0x15
call send_back  ; 61535 (0xf05f)

lri $AR1,    #0x7f46
lri $IX1,    #0xb55e
lri $WR1,    #0x388f
cw 0x15
call send_back  ; 61536 (0xf060)

lri $AR1,    #0x70cd
lri $IX1,    #0x6270
lri $WR1,    #0x1e6e
cw 0x15
call send_back  ; 61537 (0xf061)

lri $AR1,    #0xb5bd
lri $IX1,    #0x42b0
lri $WR1,    #0xcbbb
cw 0x15
call send_back  ; 61538 (0xf062)

lri $AR1,    #0x5c95
lri $IX1,    #0x5474
lri $WR1,    #0x9dac
cw 0x15
call send_back  ; 61539 (0xf063)

lri $AR1,    #0x4e80
lri $IX1,    #0x64aa
lri $WR1,    #0x8b6a
cw 0x15
call send_back  ; 61540 (0xf064)

lri $AR1,    #0x38dd
lri $IX1,    #0x78c8
lri $WR1,    #0x3c73
cw 0x15
call send_back  ; 61541 (0xf065)

lri $AR1,    #0xe44a
lri $IX1,    #0xf2cc
lri $WR1,    #0x78fe
cw 0x15
call send_back  ; 61542 (0xf066)

lri $AR1,    #0x9518
lri $IX1,    #0xd4e0
lri $WR1,    #0x4573
cw 0x15
call send_back  ; 61543 (0xf067)

lri $AR1,    #0xa85f
lri $IX1,    #0x36de
lri $WR1,    #0x7f8e
cw 0x15
call send_back  ; 61544 (0xf068)

lri $AR1,    #0x8c9d
lri $IX1,    #0x387a
lri $WR1,    #0x7d35
cw 0x15
call send_back  ; 61545 (0xf069)

lri $AR1,    #0x5417
lri $IX1,    #0x9f14
lri $WR1,    #0xda91
cw 0x15
call send_back  ; 61546 (0xf06a)

lri $AR1,    #0x52e3
lri $IX1,    #0xff14
lri $WR1,    #0xb684
cw 0x15
call send_back  ; 61547 (0xf06b)

lri $AR1,    #0x61da
lri $IX1,    #0xecd4
lri $WR1,    #0x7201
cw 0x15
call send_back  ; 61548 (0xf06c)

lri $AR1,    #0xdb4b
lri $IX1,    #0x59e8
lri $WR1,    #0x8056
cw 0x15
call send_back  ; 61549 (0xf06d)

lri $AR1,    #0x95b6
lri $IX1,    #0x17e4
lri $WR1,    #0xd407
cw 0x15
call send_back  ; 61550 (0xf06e)

lri $AR1,    #0x646e
lri $IX1,    #0x9a5a
lri $WR1,    #0xd532
cw 0x15
call send_back  ; 61551 (0xf06f)

lri $AR1,    #0x5d5e
lri $IX1,    #0x9e2c
lri $WR1,    #0x7422
cw 0x15
call send_back  ; 61552 (0xf070)

lri $AR1,    #0x2edb
lri $IX1,    #0x74fc
lri $WR1,    #0x3416
cw 0x15
call send_back  ; 61553 (0xf071)

lri $AR1,    #0x8fb4
lri $IX1,    #0x77e0
lri $WR1,    #0xd7cd
cw 0x15
call send_back  ; 61554 (0xf072)

lri $AR1,    #0x2769
lri $IX1,    #0xb4fe
lri $WR1,    #0x8ae6
cw 0x15
call send_back  ; 61555 (0xf073)

lri $AR1,    #0x93d2
lri $IX1,    #0x684a
lri $WR1,    #0x58a9
cw 0x15
call send_back  ; 61556 (0xf074)

lri $AR1,    #0xccf9
lri $IX1,    #0x5828
lri $WR1,    #0xda4a
cw 0x15
call send_back  ; 61557 (0xf075)

lri $AR1,    #0x7791
lri $IX1,    #0xe2f4
lri $WR1,    #0x2425
cw 0x15
call send_back  ; 61558 (0xf076)

lri $AR1,    #0x99be
lri $IX1,    #0x8b54
lri $WR1,    #0xfb20
cw 0x15
call send_back  ; 61559 (0xf077)

lri $AR1,    #0x7d93
lri $IX1,    #0x3d62
lri $WR1,    #0xa0a5
cw 0x15
call send_back  ; 61560 (0xf078)

lri $AR1,    #0xb808
lri $IX1,    #0x7f66
lri $WR1,    #0x6d5e
cw 0x15
call send_back  ; 61561 (0xf079)

lri $AR1,    #0xaac7
lri $IX1,    #0x6552
lri $WR1,    #0x602a
cw 0x15
call send_back  ; 61562 (0xf07a)

lri $AR1,    #0x4a8c
lri $IX1,    #0x8ebc
lri $WR1,    #0x987a
cw 0x15
call send_back  ; 61563 (0xf07b)

lri $AR1,    #0x5b78
lri $IX1,    #0xd36a
lri $WR1,    #0xc87d
cw 0x15
call send_back  ; 61564 (0xf07c)

lri $AR1,    #0x9026
lri $IX1,    #0xab36
lri $WR1,    #0xe557
cw 0x15
call send_back  ; 61565 (0xf07d)

lri $AR1,    #0xe7ca
lri $IX1,    #0xf278
lri $WR1,    #0x98d1
cw 0x15
call send_back  ; 61566 (0xf07e)

lri $AR1,    #0xab2b
lri $IX1,    #0x8c9c
lri $WR1,    #0x99a6
cw 0x15
call send_back  ; 61567 (0xf07f)

lri $AR1,    #0xdfcf
lri $IX1,    #0xb322
lri $WR1,    #0x74f1
cw 0x15
call send_back  ; 61568 (0xf080)

lri $AR1,    #0xd427
lri $IX1,    #0x97a4
lri $WR1,    #0x5cd4
cw 0x15
call send_back  ; 61569 (0xf081)

lri $AR1,    #0x6704
lri $IX1,    #0x8428
lri $WR1,    #0x9de4
cw 0x15
call send_back  ; 61570 (0xf082)

lri $AR1,    #0xc02c
lri $IX1,    #0xf560
lri $WR1,    #0x4e6d
cw 0x15
call send_back  ; 61571 (0xf083)

lri $AR1,    #0x375f
lri $IX1,    #0x6712
lri $WR1,    #0x8017
cw 0x15
call send_back  ; 61572 (0xf084)

lri $AR1,    #0x8296
lri $IX1,    #0xd340
lri $WR1,    #0x9608
cw 0x15
call send_back  ; 61573 (0xf085)

lri $AR1,    #0xd3d5
lri $IX1,    #0x596e
lri $WR1,    #0x3f05
cw 0x15
call send_back  ; 61574 (0xf086)

lri $AR1,    #0xb256
lri $IX1,    #0x4380
lri $WR1,    #0x54af
cw 0x15
call send_back  ; 61575 (0xf087)

lri $AR1,    #0x7265
lri $IX1,    #0xca88
lri $WR1,    #0x6660
cw 0x15
call send_back  ; 61576 (0xf088)

lri $AR1,    #0x9ab9
lri $IX1,    #0xb624
lri $WR1,    #0x5fc3
cw 0x15
call send_back  ; 61577 (0xf089)

lri $AR1,    #0xa59a
lri $IX1,    #0x559e
lri $WR1,    #0x68b2
cw 0x15
call send_back  ; 61578 (0xf08a)

lri $AR1,    #0x3fac
lri $IX1,    #0x8276
lri $WR1,    #0x2d67
cw 0x15
call send_back  ; 61579 (0xf08b)

lri $AR1,    #0xcd99
lri $IX1,    #0x789e
lri $WR1,    #0x9391
cw 0x15
call send_back  ; 61580 (0xf08c)

lri $AR1,    #0x7d8a
lri $IX1,    #0x78f4
lri $WR1,    #0x5a68
cw 0x15
call send_back  ; 61581 (0xf08d)

lri $AR1,    #0xd8a4
lri $IX1,    #0x7f54
lri $WR1,    #0x213c
cw 0x15
call send_back  ; 61582 (0xf08e)

lri $AR1,    #0x8c63
lri $IX1,    #0xf5cc
lri $WR1,    #0x31a5
cw 0x15
call send_back  ; 61583 (0xf08f)

lri $AR1,    #0x5b28
lri $IX1,    #0x5b32
lri $WR1,    #0x8fcb
cw 0x15
call send_back  ; 61584 (0xf090)

lri $AR1,    #0xaebf
lri $IX1,    #0x6bd8
lri $WR1,    #0x9cf5
cw 0x15
call send_back  ; 61585 (0xf091)

lri $AR1,    #0x873e
lri $IX1,    #0x9f76
lri $WR1,    #0x65d0
cw 0x15
call send_back  ; 61586 (0xf092)

lri $AR1,    #0x53ed
lri $IX1,    #0xe00e
lri $WR1,    #0x6792
cw 0x15
call send_back  ; 61587 (0xf093)

lri $AR1,    #0x8bb8
lri $IX1,    #0x59ec
lri $WR1,    #0x8c85
cw 0x15
call send_back  ; 61588 (0xf094)

lri $AR1,    #0x75c5
lri $IX1,    #0x4d80
lri $WR1,    #0xb9ff
cw 0x15
call send_back  ; 61589 (0xf095)

lri $AR1,    #0xe2a8
lri $IX1,    #0x002a
lri $WR1,    #0x6770
cw 0x15
call send_back  ; 61590 (0xf096)

lri $AR1,    #0x79f2
lri $IX1,    #0x69d0
lri $WR1,    #0xb771
cw 0x15
call send_back  ; 61591 (0xf097)

lri $AR1,    #0x9768
lri $IX1,    #0x293e
lri $WR1,    #0xd18e
cw 0x15
call send_back  ; 61592 (0xf098)

lri $AR1,    #0x5ebe
lri $IX1,    #0xc228
lri $WR1,    #0xa4b5
cw 0x15
call send_back  ; 61593 (0xf099)

lri $AR1,    #0x8c1f
lri $IX1,    #0x4bea
lri $WR1,    #0x27f8
cw 0x15
call send_back  ; 61594 (0xf09a)

lri $AR1,    #0x7b53
lri $IX1,    #0xa8b2
lri $WR1,    #0x809a
cw 0x15
call send_back  ; 61595 (0xf09b)

lri $AR1,    #0x46ce
lri $IX1,    #0x395e
lri $WR1,    #0x8a0c
cw 0x15
call send_back  ; 61596 (0xf09c)

lri $AR1,    #0x1b87
lri $IX1,    #0xea92
lri $WR1,    #0x75da
cw 0x15
call send_back  ; 61597 (0xf09d)

lri $AR1,    #0x4dd4
lri $IX1,    #0x8c6e
lri $WR1,    #0xf71a
cw 0x15
call send_back  ; 61598 (0xf09e)

lri $AR1,    #0xbf26
lri $IX1,    #0xc65a
lri $WR1,    #0x0e7e
cw 0x15
call send_back  ; 61599 (0xf09f)

lri $AR1,    #0x9bf8
lri $IX1,    #0xc54a
lri $WR1,    #0x7181
cw 0x15
call send_back  ; 61600 (0xf0a0)

lri $AR1,    #0x44b5
lri $IX1,    #0x1b08
lri $WR1,    #0x90cc
cw 0x15
call send_back  ; 61601 (0xf0a1)

lri $AR1,    #0xb3f1
lri $IX1,    #0x49ba
lri $WR1,    #0xcf62
cw 0x15
call send_back  ; 61602 (0xf0a2)

lri $AR1,    #0x47bd
lri $IX1,    #0x4774
lri $WR1,    #0x6da7
cw 0x15
call send_back  ; 61603 (0xf0a3)

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