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

lri $AR1,    #0xe668
lri $IX1,    #0x4c52
lri $WR1,    #0xa154
cw 0xd
call send_back  ; 62478 (0xf40e)

lri $AR1,    #0xb738
lri $IX1,    #0xe7a0
lri $WR1,    #0xc68e
cw 0xd
call send_back  ; 62479 (0xf40f)

lri $AR1,    #0x58a2
lri $IX1,    #0x712e
lri $WR1,    #0x6cf7
cw 0xd
call send_back  ; 62480 (0xf410)

lri $AR1,    #0x93e8
lri $IX1,    #0x4fc0
lri $WR1,    #0xd49a
cw 0xd
call send_back  ; 62481 (0xf411)

lri $AR1,    #0x9a6e
lri $IX1,    #0x4f92
lri $WR1,    #0x4646
cw 0xd
call send_back  ; 62482 (0xf412)

lri $AR1,    #0xb3b7
lri $IX1,    #0x6874
lri $WR1,    #0x61b8
cw 0xd
call send_back  ; 62483 (0xf413)

lri $AR1,    #0x62bd
lri $IX1,    #0xe2d0
lri $WR1,    #0x3b1c
cw 0xd
call send_back  ; 62484 (0xf414)

lri $AR1,    #0xb39d
lri $IX1,    #0x32ca
lri $WR1,    #0x620e
cw 0xd
call send_back  ; 62485 (0xf415)

lri $AR1,    #0x31c0
lri $IX1,    #0xac74
lri $WR1,    #0x899e
cw 0xd
call send_back  ; 62486 (0xf416)

lri $AR1,    #0x6a68
lri $IX1,    #0xb340
lri $WR1,    #0x8a6c
cw 0xd
call send_back  ; 62487 (0xf417)

lri $AR1,    #0xb6f0
lri $IX1,    #0x1a92
lri $WR1,    #0xbd68
cw 0xd
call send_back  ; 62488 (0xf418)

lri $AR1,    #0x357f
lri $IX1,    #0xf4cc
lri $WR1,    #0x9744
cw 0xd
call send_back  ; 62489 (0xf419)

lri $AR1,    #0x3695
lri $IX1,    #0xe986
lri $WR1,    #0xda34
cw 0xd
call send_back  ; 62490 (0xf41a)

lri $AR1,    #0xd92d
lri $IX1,    #0x3b64
lri $WR1,    #0x8503
cw 0xd
call send_back  ; 62491 (0xf41b)

lri $AR1,    #0x76d0
lri $IX1,    #0xc940
lri $WR1,    #0x3c02
cw 0xd
call send_back  ; 62492 (0xf41c)

lri $AR1,    #0x3c69
lri $IX1,    #0x6e04
lri $WR1,    #0xa202
cw 0xd
call send_back  ; 62493 (0xf41d)

lri $AR1,    #0xbc20
lri $IX1,    #0x0e0a
lri $WR1,    #0x54bd
cw 0xd
call send_back  ; 62494 (0xf41e)

lri $AR1,    #0x481d
lri $IX1,    #0x403a
lri $WR1,    #0x61ec
cw 0xd
call send_back  ; 62495 (0xf41f)

lri $AR1,    #0x5d6c
lri $IX1,    #0xb4d6
lri $WR1,    #0xef6a
cw 0xd
call send_back  ; 62496 (0xf420)

lri $AR1,    #0xb1ee
lri $IX1,    #0x232a
lri $WR1,    #0x5aa5
cw 0xd
call send_back  ; 62497 (0xf421)

lri $AR1,    #0x778c
lri $IX1,    #0x82fe
lri $WR1,    #0xa0c6
cw 0xd
call send_back  ; 62498 (0xf422)

lri $AR1,    #0x7a88
lri $IX1,    #0x8616
lri $WR1,    #0x52b2
cw 0xd
call send_back  ; 62499 (0xf423)

lri $AR1,    #0xc84b
lri $IX1,    #0x8990
lri $WR1,    #0x8d76
cw 0xd
call send_back  ; 62500 (0xf424)

lri $AR1,    #0x675e
lri $IX1,    #0x6e6a
lri $WR1,    #0x4922
cw 0xd
call send_back  ; 62501 (0xf425)

lri $AR1,    #0x38f9
lri $IX1,    #0xd416
lri $WR1,    #0xadaf
cw 0xd
call send_back  ; 62502 (0xf426)

lri $AR1,    #0xbff7
lri $IX1,    #0xef42
lri $WR1,    #0x5ef6
cw 0xd
call send_back  ; 62503 (0xf427)

lri $AR1,    #0xa06b
lri $IX1,    #0x8adc
lri $WR1,    #0x3656
cw 0xd
call send_back  ; 62504 (0xf428)

lri $AR1,    #0x96ba
lri $IX1,    #0x886c
lri $WR1,    #0x8a07
cw 0xd
call send_back  ; 62505 (0xf429)

lri $AR1,    #0xc484
lri $IX1,    #0x50bc
lri $WR1,    #0xcfb4
cw 0xd
call send_back  ; 62506 (0xf42a)

lri $AR1,    #0x652b
lri $IX1,    #0xf4fe
lri $WR1,    #0x7970
cw 0xd
call send_back  ; 62507 (0xf42b)

lri $AR1,    #0xa342
lri $IX1,    #0x2462
lri $WR1,    #0x4191
cw 0xd
call send_back  ; 62508 (0xf42c)

lri $AR1,    #0x43bf
lri $IX1,    #0x714e
lri $WR1,    #0x9378
cw 0xd
call send_back  ; 62509 (0xf42d)

lri $AR1,    #0x8b3e
lri $IX1,    #0x8d18
lri $WR1,    #0xbcea
cw 0xd
call send_back  ; 62510 (0xf42e)

lri $AR1,    #0x851b
lri $IX1,    #0x0088
lri $WR1,    #0x74f4
cw 0xd
call send_back  ; 62511 (0xf42f)

lri $AR1,    #0x8bbd
lri $IX1,    #0x5b04
lri $WR1,    #0x6b08
cw 0xd
call send_back  ; 62512 (0xf430)

lri $AR1,    #0x7ce2
lri $IX1,    #0xb9a6
lri $WR1,    #0x5a34
cw 0xd
call send_back  ; 62513 (0xf431)

lri $AR1,    #0x4432
lri $IX1,    #0xc302
lri $WR1,    #0x6a3a
cw 0xd
call send_back  ; 62514 (0xf432)

lri $AR1,    #0xb9f8
lri $IX1,    #0xa40e
lri $WR1,    #0xd969
cw 0xd
call send_back  ; 62515 (0xf433)

lri $AR1,    #0x1b45
lri $IX1,    #0x1dda
lri $WR1,    #0x5fef
cw 0xd
call send_back  ; 62516 (0xf434)

lri $AR1,    #0x7c4e
lri $IX1,    #0x2b84
lri $WR1,    #0x568f
cw 0xd
call send_back  ; 62517 (0xf435)

lri $AR1,    #0xe561
lri $IX1,    #0x1312
lri $WR1,    #0xc868
cw 0xd
call send_back  ; 62518 (0xf436)

lri $AR1,    #0xae2a
lri $IX1,    #0xb3be
lri $WR1,    #0x98d1
cw 0xd
call send_back  ; 62519 (0xf437)

lri $AR1,    #0x82b6
lri $IX1,    #0x7734
lri $WR1,    #0xabd8
cw 0xd
call send_back  ; 62520 (0xf438)

lri $AR1,    #0x28ea
lri $IX1,    #0x536a
lri $WR1,    #0x6976
cw 0xd
call send_back  ; 62521 (0xf439)

lri $AR1,    #0x7cc6
lri $IX1,    #0xa594
lri $WR1,    #0xe110
cw 0xd
call send_back  ; 62522 (0xf43a)

lri $AR1,    #0x8d50
lri $IX1,    #0x3eb6
lri $WR1,    #0xa446
cw 0xd
call send_back  ; 62523 (0xf43b)

lri $AR1,    #0xab68
lri $IX1,    #0x9d9a
lri $WR1,    #0x85a9
cw 0xd
call send_back  ; 62524 (0xf43c)

lri $AR1,    #0x774e
lri $IX1,    #0xe95a
lri $WR1,    #0xa16f
cw 0xd
call send_back  ; 62525 (0xf43d)

lri $AR1,    #0x6953
lri $IX1,    #0xab8a
lri $WR1,    #0x53a6
cw 0xd
call send_back  ; 62526 (0xf43e)

lri $AR1,    #0xd545
lri $IX1,    #0x6816
lri $WR1,    #0xe0f8
cw 0xd
call send_back  ; 62527 (0xf43f)

lri $AR1,    #0x6026
lri $IX1,    #0xe4ca
lri $WR1,    #0x7ca2
cw 0xd
call send_back  ; 62528 (0xf440)

lri $AR1,    #0xaad2
lri $IX1,    #0x19c8
lri $WR1,    #0x5f98
cw 0xd
call send_back  ; 62529 (0xf441)

lri $AR1,    #0xf3f2
lri $IX1,    #0x3fb0
lri $WR1,    #0x3273
cw 0xd
call send_back  ; 62530 (0xf442)

lri $AR1,    #0x8717
lri $IX1,    #0x1fec
lri $WR1,    #0x7d2f
cw 0xd
call send_back  ; 62531 (0xf443)

lri $AR1,    #0x563b
lri $IX1,    #0x8ec0
lri $WR1,    #0x8558
cw 0xd
call send_back  ; 62532 (0xf444)

lri $AR1,    #0x7681
lri $IX1,    #0xaea4
lri $WR1,    #0x5ca4
cw 0xd
call send_back  ; 62533 (0xf445)

lri $AR1,    #0x4886
lri $IX1,    #0x277e
lri $WR1,    #0x3f9b
cw 0xd
call send_back  ; 62534 (0xf446)

lri $AR1,    #0xb80f
lri $IX1,    #0xbc42
lri $WR1,    #0x2550
cw 0xd
call send_back  ; 62535 (0xf447)

lri $AR1,    #0x9661
lri $IX1,    #0x7cac
lri $WR1,    #0xe6bd
cw 0xd
call send_back  ; 62536 (0xf448)

lri $AR1,    #0x7e1e
lri $IX1,    #0x1852
lri $WR1,    #0x8de3
cw 0xd
call send_back  ; 62537 (0xf449)

lri $AR1,    #0x4ee9
lri $IX1,    #0x741c
lri $WR1,    #0x8a1b
cw 0xd
call send_back  ; 62538 (0xf44a)

lri $AR1,    #0x82ad
lri $IX1,    #0x721e
lri $WR1,    #0x98d1
cw 0xd
call send_back  ; 62539 (0xf44b)

lri $AR1,    #0x45d1
lri $IX1,    #0xbff2
lri $WR1,    #0x8717
cw 0xd
call send_back  ; 62540 (0xf44c)

lri $AR1,    #0xb727
lri $IX1,    #0x56b4
lri $WR1,    #0x6a37
cw 0xd
call send_back  ; 62541 (0xf44d)

lri $AR1,    #0x63ed
lri $IX1,    #0x0370
lri $WR1,    #0x6ac4
cw 0xd
call send_back  ; 62542 (0xf44e)

lri $AR1,    #0x57a9
lri $IX1,    #0xae76
lri $WR1,    #0x9f45
cw 0xd
call send_back  ; 62543 (0xf44f)

lri $AR1,    #0x4f38
lri $IX1,    #0x0b38
lri $WR1,    #0x9906
cw 0xd
call send_back  ; 62544 (0xf450)

lri $AR1,    #0xa9cf
lri $IX1,    #0xc21c
lri $WR1,    #0x8f21
cw 0xd
call send_back  ; 62545 (0xf451)

lri $AR1,    #0x725c
lri $IX1,    #0xe116
lri $WR1,    #0x6142
cw 0xd
call send_back  ; 62546 (0xf452)

lri $AR1,    #0xaef5
lri $IX1,    #0x4f3e
lri $WR1,    #0x5d54
cw 0xd
call send_back  ; 62547 (0xf453)

lri $AR1,    #0x6bbc
lri $IX1,    #0x0352
lri $WR1,    #0xa880
cw 0xd
call send_back  ; 62548 (0xf454)

lri $AR1,    #0x9203
lri $IX1,    #0xb45c
lri $WR1,    #0xc5b2
cw 0xd
call send_back  ; 62549 (0xf455)

lri $AR1,    #0x6bf9
lri $IX1,    #0x8764
lri $WR1,    #0x5118
cw 0xd
call send_back  ; 62550 (0xf456)

lri $AR1,    #0x98b8
lri $IX1,    #0xbc62
lri $WR1,    #0x89c0
cw 0xd
call send_back  ; 62551 (0xf457)

lri $AR1,    #0x8bfc
lri $IX1,    #0x7052
lri $WR1,    #0x87d6
cw 0xd
call send_back  ; 62552 (0xf458)

lri $AR1,    #0x6068
lri $IX1,    #0x11b8
lri $WR1,    #0x679b
cw 0xd
call send_back  ; 62553 (0xf459)

lri $AR1,    #0x227e
lri $IX1,    #0x0064
lri $WR1,    #0x1ea2
cw 0xd
call send_back  ; 62554 (0xf45a)

lri $AR1,    #0xae51
lri $IX1,    #0xe0c2
lri $WR1,    #0x8262
cw 0xd
call send_back  ; 62555 (0xf45b)

lri $AR1,    #0xa10f
lri $IX1,    #0x4e7e
lri $WR1,    #0x1cad
cw 0xd
call send_back  ; 62556 (0xf45c)

lri $AR1,    #0x9b59
lri $IX1,    #0xb1ee
lri $WR1,    #0xa41f
cw 0xd
call send_back  ; 62557 (0xf45d)

lri $AR1,    #0x809d
lri $IX1,    #0xe6dc
lri $WR1,    #0x2c13
cw 0xd
call send_back  ; 62558 (0xf45e)

lri $AR1,    #0xe359
lri $IX1,    #0x0338
lri $WR1,    #0x412c
cw 0xd
call send_back  ; 62559 (0xf45f)

lri $AR1,    #0x4581
lri $IX1,    #0xbf5a
lri $WR1,    #0x8d07
cw 0xd
call send_back  ; 62560 (0xf460)

lri $AR1,    #0x1fe9
lri $IX1,    #0xa936
lri $WR1,    #0xa51d
cw 0xd
call send_back  ; 62561 (0xf461)

lri $AR1,    #0xa300
lri $IX1,    #0x4746
lri $WR1,    #0x3677
cw 0xd
call send_back  ; 62562 (0xf462)

lri $AR1,    #0xb6a2
lri $IX1,    #0x7f98
lri $WR1,    #0x3126
cw 0xd
call send_back  ; 62563 (0xf463)

lri $AR1,    #0x465a
lri $IX1,    #0xda9c
lri $WR1,    #0x4c38
cw 0xd
call send_back  ; 62564 (0xf464)

lri $AR1,    #0x42e7
lri $IX1,    #0x713c
lri $WR1,    #0x9409
cw 0xd
call send_back  ; 62565 (0xf465)

lri $AR1,    #0x514b
lri $IX1,    #0x60d8
lri $WR1,    #0x92af
cw 0xd
call send_back  ; 62566 (0xf466)

lri $AR1,    #0x4332
lri $IX1,    #0x5fac
lri $WR1,    #0x6373
cw 0xd
call send_back  ; 62567 (0xf467)

lri $AR1,    #0x8c18
lri $IX1,    #0x5f36
lri $WR1,    #0x87f1
cw 0xd
call send_back  ; 62568 (0xf468)

lri $AR1,    #0xd1d7
lri $IX1,    #0xf228
lri $WR1,    #0x7ef0
cw 0xd
call send_back  ; 62569 (0xf469)

lri $AR1,    #0xd716
lri $IX1,    #0x467e
lri $WR1,    #0x4a77
cw 0xd
call send_back  ; 62570 (0xf46a)

lri $AR1,    #0xb14a
lri $IX1,    #0xd434
lri $WR1,    #0xa44b
cw 0xd
call send_back  ; 62571 (0xf46b)

lri $AR1,    #0x63b0
lri $IX1,    #0x444e
lri $WR1,    #0x753a
cw 0xd
call send_back  ; 62572 (0xf46c)

lri $AR1,    #0x73f2
lri $IX1,    #0x6b98
lri $WR1,    #0x9d78
cw 0xd
call send_back  ; 62573 (0xf46d)

lri $AR1,    #0xbcf3
lri $IX1,    #0x5fdc
lri $WR1,    #0x9964
cw 0xd
call send_back  ; 62574 (0xf46e)

lri $AR1,    #0x8764
lri $IX1,    #0x8dec
lri $WR1,    #0x6ffe
cw 0xd
call send_back  ; 62575 (0xf46f)

lri $AR1,    #0xa792
lri $IX1,    #0x2a44
lri $WR1,    #0x7d72
cw 0xd
call send_back  ; 62576 (0xf470)

lri $AR1,    #0xeb30
lri $IX1,    #0x3da2
lri $WR1,    #0x75dd
cw 0xd
call send_back  ; 62577 (0xf471)

lri $AR1,    #0xe16f
lri $IX1,    #0xca4e
lri $WR1,    #0xc9df
cw 0xd
call send_back  ; 62578 (0xf472)

lri $AR1,    #0x5b2d
lri $IX1,    #0xf688
lri $WR1,    #0xc7f7
cw 0xd
call send_back  ; 62579 (0xf473)

lri $AR1,    #0x48a3
lri $IX1,    #0xabb4
lri $WR1,    #0x4b4f
cw 0xd
call send_back  ; 62580 (0xf474)

lri $AR1,    #0x353c
lri $IX1,    #0x91d4
lri $WR1,    #0x61f7
cw 0xd
call send_back  ; 62581 (0xf475)

lri $AR1,    #0xf209
lri $IX1,    #0x99ea
lri $WR1,    #0x722e
cw 0xd
call send_back  ; 62582 (0xf476)

lri $AR1,    #0x6290
lri $IX1,    #0x49ae
lri $WR1,    #0x67b8
cw 0xd
call send_back  ; 62583 (0xf477)

lri $AR1,    #0xb742
lri $IX1,    #0x8e6a
lri $WR1,    #0xb7e0
cw 0xd
call send_back  ; 62584 (0xf478)

lri $AR1,    #0x8c7a
lri $IX1,    #0xe434
lri $WR1,    #0x7431
cw 0xd
call send_back  ; 62585 (0xf479)

lri $AR1,    #0x443e
lri $IX1,    #0xfa7a
lri $WR1,    #0x916a
cw 0xd
call send_back  ; 62586 (0xf47a)

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