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

lri $AR1,    #0x77d7
lri $IX1,    #0x40a0
lri $WR1,    #0x61fc
cw 0xd
call send_back  ; 59420 (0xe81c)

lri $AR1,    #0x4bbb
lri $IX1,    #0x910e
lri $WR1,    #0x4006
cw 0xd
call send_back  ; 59421 (0xe81d)

lri $AR1,    #0x4472
lri $IX1,    #0x6510
lri $WR1,    #0x99d0
cw 0xd
call send_back  ; 59422 (0xe81e)

lri $AR1,    #0x8402
lri $IX1,    #0x626e
lri $WR1,    #0x906f
cw 0xd
call send_back  ; 59423 (0xe81f)

lri $AR1,    #0x7c5a
lri $IX1,    #0x954e
lri $WR1,    #0x7623
cw 0xd
call send_back  ; 59424 (0xe820)

lri $AR1,    #0xb537
lri $IX1,    #0x55da
lri $WR1,    #0x85b7
cw 0xd
call send_back  ; 59425 (0xe821)

lri $AR1,    #0x8763
lri $IX1,    #0xb9b8
lri $WR1,    #0x22b5
cw 0xd
call send_back  ; 59426 (0xe822)

lri $AR1,    #0x7304
lri $IX1,    #0x8590
lri $WR1,    #0x6563
cw 0xd
call send_back  ; 59427 (0xe823)

lri $AR1,    #0x3e5f
lri $IX1,    #0xd65e
lri $WR1,    #0x6b2d
cw 0xd
call send_back  ; 59428 (0xe824)

lri $AR1,    #0xe5dd
lri $IX1,    #0xf200
lri $WR1,    #0x3d82
cw 0xd
call send_back  ; 59429 (0xe825)

lri $AR1,    #0x7598
lri $IX1,    #0xb9c6
lri $WR1,    #0x7ebc
cw 0xd
call send_back  ; 59430 (0xe826)

lri $AR1,    #0x8849
lri $IX1,    #0xf942
lri $WR1,    #0x4e15
cw 0xd
call send_back  ; 59431 (0xe827)

lri $AR1,    #0x3ee4
lri $IX1,    #0x1f40
lri $WR1,    #0x594b
cw 0xd
call send_back  ; 59432 (0xe828)

lri $AR1,    #0x6fae
lri $IX1,    #0xb628
lri $WR1,    #0x3bf5
cw 0xd
call send_back  ; 59433 (0xe829)

lri $AR1,    #0x6b29
lri $IX1,    #0x0ca2
lri $WR1,    #0x7a1f
cw 0xd
call send_back  ; 59434 (0xe82a)

lri $AR1,    #0x6893
lri $IX1,    #0xcec4
lri $WR1,    #0x753e
cw 0xd
call send_back  ; 59435 (0xe82b)

lri $AR1,    #0xd361
lri $IX1,    #0xb39c
lri $WR1,    #0x1004
cw 0xd
call send_back  ; 59436 (0xe82c)

lri $AR1,    #0xae6a
lri $IX1,    #0xba70
lri $WR1,    #0x2f34
cw 0xd
call send_back  ; 59437 (0xe82d)

lri $AR1,    #0x7128
lri $IX1,    #0x9e74
lri $WR1,    #0x42f3
cw 0xd
call send_back  ; 59438 (0xe82e)

lri $AR1,    #0x06d9
lri $IX1,    #0x0754
lri $WR1,    #0x65b0
cw 0xd
call send_back  ; 59439 (0xe82f)

lri $AR1,    #0x4ec3
lri $IX1,    #0x7054
lri $WR1,    #0xc338
cw 0xd
call send_back  ; 59440 (0xe830)

lri $AR1,    #0x8883
lri $IX1,    #0xa76e
lri $WR1,    #0x43fe
cw 0xd
call send_back  ; 59441 (0xe831)

lri $AR1,    #0x56a2
lri $IX1,    #0x0116
lri $WR1,    #0x4621
cw 0xd
call send_back  ; 59442 (0xe832)

lri $AR1,    #0xd54c
lri $IX1,    #0xcd20
lri $WR1,    #0x5f53
cw 0xd
call send_back  ; 59443 (0xe833)

lri $AR1,    #0x8a70
lri $IX1,    #0x1c80
lri $WR1,    #0x181e
cw 0xd
call send_back  ; 59444 (0xe834)

lri $AR1,    #0x9026
lri $IX1,    #0x5f30
lri $WR1,    #0x2aa7
cw 0xd
call send_back  ; 59445 (0xe835)

lri $AR1,    #0xa997
lri $IX1,    #0xad1c
lri $WR1,    #0x6c6e
cw 0xd
call send_back  ; 59446 (0xe836)

lri $AR1,    #0xd654
lri $IX1,    #0x8c56
lri $WR1,    #0x0c29
cw 0xd
call send_back  ; 59447 (0xe837)

lri $AR1,    #0xcf47
lri $IX1,    #0x9a70
lri $WR1,    #0x1245
cw 0xd
call send_back  ; 59448 (0xe838)

lri $AR1,    #0x8436
lri $IX1,    #0x863e
lri $WR1,    #0x7c1c
cw 0xd
call send_back  ; 59449 (0xe839)

lri $AR1,    #0x9002
lri $IX1,    #0x22d2
lri $WR1,    #0x3774
cw 0xd
call send_back  ; 59450 (0xe83a)

lri $AR1,    #0x8d90
lri $IX1,    #0xec16
lri $WR1,    #0x954a
cw 0xd
call send_back  ; 59451 (0xe83b)

lri $AR1,    #0x9e9f
lri $IX1,    #0xf8ac
lri $WR1,    #0x6093
cw 0xd
call send_back  ; 59452 (0xe83c)

lri $AR1,    #0x3152
lri $IX1,    #0xec92
lri $WR1,    #0x7ee4
cw 0xd
call send_back  ; 59453 (0xe83d)

lri $AR1,    #0x80d5
lri $IX1,    #0xeb3e
lri $WR1,    #0x3ea7
cw 0xd
call send_back  ; 59454 (0xe83e)

lri $AR1,    #0x50db
lri $IX1,    #0xa77a
lri $WR1,    #0x17ea
cw 0xd
call send_back  ; 59455 (0xe83f)

lri $AR1,    #0x5b44
lri $IX1,    #0x62f2
lri $WR1,    #0x8a49
cw 0xd
call send_back  ; 59456 (0xe840)

lri $AR1,    #0xb2cb
lri $IX1,    #0xd6a8
lri $WR1,    #0x4c1a
cw 0xd
call send_back  ; 59457 (0xe841)

lri $AR1,    #0xdcfb
lri $IX1,    #0x791c
lri $WR1,    #0x8c53
cw 0xd
call send_back  ; 59458 (0xe842)

lri $AR1,    #0x7943
lri $IX1,    #0x4696
lri $WR1,    #0x7a51
cw 0xd
call send_back  ; 59459 (0xe843)

lri $AR1,    #0x527e
lri $IX1,    #0xf33e
lri $WR1,    #0x7bff
cw 0xd
call send_back  ; 59460 (0xe844)

lri $AR1,    #0x93af
lri $IX1,    #0x2668
lri $WR1,    #0x5474
cw 0xd
call send_back  ; 59461 (0xe845)

lri $AR1,    #0xe854
lri $IX1,    #0xe9de
lri $WR1,    #0x5a99
cw 0xd
call send_back  ; 59462 (0xe846)

lri $AR1,    #0x7411
lri $IX1,    #0xb772
lri $WR1,    #0xa0de
cw 0xd
call send_back  ; 59463 (0xe847)

lri $AR1,    #0xa50a
lri $IX1,    #0x62be
lri $WR1,    #0xf4a2
cw 0xd
call send_back  ; 59464 (0xe848)

lri $AR1,    #0xcfc3
lri $IX1,    #0x643e
lri $WR1,    #0xc541
cw 0xd
call send_back  ; 59465 (0xe849)

lri $AR1,    #0xa2bd
lri $IX1,    #0xa6b2
lri $WR1,    #0xb076
cw 0xd
call send_back  ; 59466 (0xe84a)

lri $AR1,    #0x33c5
lri $IX1,    #0xc714
lri $WR1,    #0x830d
cw 0xd
call send_back  ; 59467 (0xe84b)

lri $AR1,    #0x9020
lri $IX1,    #0x9adc
lri $WR1,    #0x527a
cw 0xd
call send_back  ; 59468 (0xe84c)

lri $AR1,    #0x3482
lri $IX1,    #0xa804
lri $WR1,    #0x4d63
cw 0xd
call send_back  ; 59469 (0xe84d)

lri $AR1,    #0x8107
lri $IX1,    #0xe57c
lri $WR1,    #0x5ebd
cw 0xd
call send_back  ; 59470 (0xe84e)

lri $AR1,    #0x8117
lri $IX1,    #0x7a72
lri $WR1,    #0xa06f
cw 0xd
call send_back  ; 59471 (0xe84f)

lri $AR1,    #0x166d
lri $IX1,    #0x2638
lri $WR1,    #0xc027
cw 0xd
call send_back  ; 59472 (0xe850)

lri $AR1,    #0xa220
lri $IX1,    #0x6214
lri $WR1,    #0xc25a
cw 0xd
call send_back  ; 59473 (0xe851)

lri $AR1,    #0x85fc
lri $IX1,    #0x09da
lri $WR1,    #0x5d19
cw 0xd
call send_back  ; 59474 (0xe852)

lri $AR1,    #0x2bf9
lri $IX1,    #0x4782
lri $WR1,    #0x55ad
cw 0xd
call send_back  ; 59475 (0xe853)

lri $AR1,    #0x8917
lri $IX1,    #0x81a8
lri $WR1,    #0xc19f
cw 0xd
call send_back  ; 59476 (0xe854)

lri $AR1,    #0xac8a
lri $IX1,    #0x043a
lri $WR1,    #0x253a
cw 0xd
call send_back  ; 59477 (0xe855)

lri $AR1,    #0x3b5f
lri $IX1,    #0xe61e
lri $WR1,    #0x870e
cw 0xd
call send_back  ; 59478 (0xe856)

lri $AR1,    #0x9c91
lri $IX1,    #0x2e2a
lri $WR1,    #0x9187
cw 0xd
call send_back  ; 59479 (0xe857)

lri $AR1,    #0xf0be
lri $IX1,    #0x4d3c
lri $WR1,    #0x2132
cw 0xd
call send_back  ; 59480 (0xe858)

lri $AR1,    #0x9c65
lri $IX1,    #0x8aba
lri $WR1,    #0x87b1
cw 0xd
call send_back  ; 59481 (0xe859)

lri $AR1,    #0x0aea
lri $IX1,    #0xdc54
lri $WR1,    #0xb8f6
cw 0xd
call send_back  ; 59482 (0xe85a)

lri $AR1,    #0x4440
lri $IX1,    #0xb150
lri $WR1,    #0x69d7
cw 0xd
call send_back  ; 59483 (0xe85b)

lri $AR1,    #0x5676
lri $IX1,    #0x5d40
lri $WR1,    #0x3c88
cw 0xd
call send_back  ; 59484 (0xe85c)

lri $AR1,    #0x500b
lri $IX1,    #0xe558
lri $WR1,    #0x5103
cw 0xd
call send_back  ; 59485 (0xe85d)

lri $AR1,    #0x774f
lri $IX1,    #0xdf40
lri $WR1,    #0xcd05
cw 0xd
call send_back  ; 59486 (0xe85e)

lri $AR1,    #0x6e9f
lri $IX1,    #0xafcc
lri $WR1,    #0x908f
cw 0xd
call send_back  ; 59487 (0xe85f)

lri $AR1,    #0x6cce
lri $IX1,    #0xab32
lri $WR1,    #0x319e
cw 0xd
call send_back  ; 59488 (0xe860)

lri $AR1,    #0x7c92
lri $IX1,    #0x4044
lri $WR1,    #0x630f
cw 0xd
call send_back  ; 59489 (0xe861)

lri $AR1,    #0xb539
lri $IX1,    #0x5362
lri $WR1,    #0x7846
cw 0xd
call send_back  ; 59490 (0xe862)

lri $AR1,    #0x727d
lri $IX1,    #0x1d72
lri $WR1,    #0x28b8
cw 0xd
call send_back  ; 59491 (0xe863)

lri $AR1,    #0x18cd
lri $IX1,    #0x26ca
lri $WR1,    #0x6bcf
cw 0xd
call send_back  ; 59492 (0xe864)

lri $AR1,    #0xcec6
lri $IX1,    #0x2d32
lri $WR1,    #0x9f49
cw 0xd
call send_back  ; 59493 (0xe865)

lri $AR1,    #0xa448
lri $IX1,    #0xcfea
lri $WR1,    #0x879c
cw 0xd
call send_back  ; 59494 (0xe866)

lri $AR1,    #0xc2e4
lri $IX1,    #0x9c0c
lri $WR1,    #0x7b72
cw 0xd
call send_back  ; 59495 (0xe867)

lri $AR1,    #0x5af1
lri $IX1,    #0x66fa
lri $WR1,    #0x90c6
cw 0xd
call send_back  ; 59496 (0xe868)

lri $AR1,    #0x6c2b
lri $IX1,    #0xac44
lri $WR1,    #0x4bbe
cw 0xd
call send_back  ; 59497 (0xe869)

lri $AR1,    #0xa819
lri $IX1,    #0xbfc6
lri $WR1,    #0x7cc3
cw 0xd
call send_back  ; 59498 (0xe86a)

lri $AR1,    #0x6013
lri $IX1,    #0xf45a
lri $WR1,    #0x8cf7
cw 0xd
call send_back  ; 59499 (0xe86b)

lri $AR1,    #0x982f
lri $IX1,    #0x3ae8
lri $WR1,    #0x4d8d
cw 0xd
call send_back  ; 59500 (0xe86c)

lri $AR1,    #0x53fd
lri $IX1,    #0x151a
lri $WR1,    #0x5814
cw 0xd
call send_back  ; 59501 (0xe86d)

lri $AR1,    #0xe13d
lri $IX1,    #0xe29a
lri $WR1,    #0x8b4d
cw 0xd
call send_back  ; 59502 (0xe86e)

lri $AR1,    #0xa881
lri $IX1,    #0x6f18
lri $WR1,    #0x9199
cw 0xd
call send_back  ; 59503 (0xe86f)

lri $AR1,    #0x42f7
lri $IX1,    #0x1af4
lri $WR1,    #0x8382
cw 0xd
call send_back  ; 59504 (0xe870)

lri $AR1,    #0xa031
lri $IX1,    #0xdfca
lri $WR1,    #0x8287
cw 0xd
call send_back  ; 59505 (0xe871)

lri $AR1,    #0xc63f
lri $IX1,    #0xadc2
lri $WR1,    #0x75a8
cw 0xd
call send_back  ; 59506 (0xe872)

lri $AR1,    #0x89e1
lri $IX1,    #0x0dfa
lri $WR1,    #0xc2c1
cw 0xd
call send_back  ; 59507 (0xe873)

lri $AR1,    #0x642e
lri $IX1,    #0x79ba
lri $WR1,    #0x555d
cw 0xd
call send_back  ; 59508 (0xe874)

lri $AR1,    #0xa672
lri $IX1,    #0x4de2
lri $WR1,    #0xdcef
cw 0xd
call send_back  ; 59509 (0xe875)

lri $AR1,    #0x9ca0
lri $IX1,    #0x8d52
lri $WR1,    #0x4a14
cw 0xd
call send_back  ; 59510 (0xe876)

lri $AR1,    #0x921a
lri $IX1,    #0xa4a6
lri $WR1,    #0x93ef
cw 0xd
call send_back  ; 59511 (0xe877)

lri $AR1,    #0x8433
lri $IX1,    #0xf506
lri $WR1,    #0x142d
cw 0xd
call send_back  ; 59512 (0xe878)

lri $AR1,    #0x7926
lri $IX1,    #0xf368
lri $WR1,    #0x31b7
cw 0xd
call send_back  ; 59513 (0xe879)

lri $AR1,    #0xd1db
lri $IX1,    #0x0518
lri $WR1,    #0x7fad
cw 0xd
call send_back  ; 59514 (0xe87a)

lri $AR1,    #0x604c
lri $IX1,    #0xd1c2
lri $WR1,    #0x47be
cw 0xd
call send_back  ; 59515 (0xe87b)

lri $AR1,    #0x73dc
lri $IX1,    #0x66e2
lri $WR1,    #0x8c59
cw 0xd
call send_back  ; 59516 (0xe87c)

lri $AR1,    #0xc868
lri $IX1,    #0x1fdc
lri $WR1,    #0x48e4
cw 0xd
call send_back  ; 59517 (0xe87d)

lri $AR1,    #0x3462
lri $IX1,    #0xb196
lri $WR1,    #0x7368
cw 0xd
call send_back  ; 59518 (0xe87e)

lri $AR1,    #0x75cf
lri $IX1,    #0xd7e6
lri $WR1,    #0x64dd
cw 0xd
call send_back  ; 59519 (0xe87f)

lri $AR1,    #0x7578
lri $IX1,    #0xd68e
lri $WR1,    #0x32a2
cw 0xd
call send_back  ; 59520 (0xe880)

lri $AR1,    #0x230d
lri $IX1,    #0x2732
lri $WR1,    #0x8d15
cw 0xd
call send_back  ; 59521 (0xe881)

lri $AR1,    #0x8c9e
lri $IX1,    #0x290a
lri $WR1,    #0x450e
cw 0xd
call send_back  ; 59522 (0xe882)

lri $AR1,    #0x6734
lri $IX1,    #0x56a6
lri $WR1,    #0x8b18
cw 0xd
call send_back  ; 59523 (0xe883)

lri $AR1,    #0xc5cb
lri $IX1,    #0x4982
lri $WR1,    #0x311c
cw 0xd
call send_back  ; 59524 (0xe884)

lri $AR1,    #0x17a0
lri $IX1,    #0x8ada
lri $WR1,    #0x907e
cw 0xd
call send_back  ; 59525 (0xe885)

lri $AR1,    #0x95f4
lri $IX1,    #0xbc68
lri $WR1,    #0x9444
cw 0xd
call send_back  ; 59526 (0xe886)

lri $AR1,    #0x6d42
lri $IX1,    #0xe38c
lri $WR1,    #0x284e
cw 0xd
call send_back  ; 59527 (0xe887)

lri $AR1,    #0x8516
lri $IX1,    #0x7470
lri $WR1,    #0x5438
cw 0xd
call send_back  ; 59528 (0xe888)

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