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

lri $AR1,    #0xb6f9
lri $IX1,    #0x8bce
lri $WR1,    #0x7557
cw 0xd
call send_back  ; 30366 (0x769e)

lri $AR1,    #0x3451
lri $IX1,    #0x209a
lri $WR1,    #0x5b12
cw 0xd
call send_back  ; 30367 (0x769f)

lri $AR1,    #0xccf0
lri $IX1,    #0xba58
lri $WR1,    #0x8a8a
cw 0xd
call send_back  ; 30368 (0x76a0)

lri $AR1,    #0x8c4e
lri $IX1,    #0xead0
lri $WR1,    #0xa9b8
cw 0xd
call send_back  ; 30369 (0x76a1)

lri $AR1,    #0x0d93
lri $IX1,    #0xf4e6
lri $WR1,    #0x6c71
cw 0xd
call send_back  ; 30370 (0x76a2)

lri $AR1,    #0x68dd
lri $IX1,    #0x8d1c
lri $WR1,    #0x3364
cw 0xd
call send_back  ; 30371 (0x76a3)

lri $AR1,    #0x5111
lri $IX1,    #0xf9ea
lri $WR1,    #0xf78d
cw 0xd
call send_back  ; 30372 (0x76a4)

lri $AR1,    #0xaad2
lri $IX1,    #0xc34a
lri $WR1,    #0x1405
cw 0xd
call send_back  ; 30373 (0x76a5)

lri $AR1,    #0x7518
lri $IX1,    #0x2c4a
lri $WR1,    #0x5df2
cw 0xd
call send_back  ; 30374 (0x76a6)

lri $AR1,    #0x7f16
lri $IX1,    #0x70d6
lri $WR1,    #0x3b7c
cw 0xd
call send_back  ; 30375 (0x76a7)

lri $AR1,    #0x7edb
lri $IX1,    #0x15b6
lri $WR1,    #0x706b
cw 0xd
call send_back  ; 30376 (0x76a8)

lri $AR1,    #0x876b
lri $IX1,    #0x5ff0
lri $WR1,    #0x8082
cw 0xd
call send_back  ; 30377 (0x76a9)

lri $AR1,    #0x7ca1
lri $IX1,    #0x2466
lri $WR1,    #0x351a
cw 0xd
call send_back  ; 30378 (0x76aa)

lri $AR1,    #0xd6ba
lri $IX1,    #0x700a
lri $WR1,    #0xe512
cw 0xd
call send_back  ; 30379 (0x76ab)

lri $AR1,    #0x2ec5
lri $IX1,    #0xec66
lri $WR1,    #0x73ac
cw 0xd
call send_back  ; 30380 (0x76ac)

lri $AR1,    #0x88d5
lri $IX1,    #0x3bdc
lri $WR1,    #0x7454
cw 0xd
call send_back  ; 30381 (0x76ad)

lri $AR1,    #0x8043
lri $IX1,    #0xb45e
lri $WR1,    #0x5efa
cw 0xd
call send_back  ; 30382 (0x76ae)

lri $AR1,    #0xbdc3
lri $IX1,    #0xbef2
lri $WR1,    #0xa1fa
cw 0xd
call send_back  ; 30383 (0x76af)

lri $AR1,    #0x56bc
lri $IX1,    #0x95da
lri $WR1,    #0x8430
cw 0xd
call send_back  ; 30384 (0x76b0)

lri $AR1,    #0xc085
lri $IX1,    #0x02a8
lri $WR1,    #0x9337
cw 0xd
call send_back  ; 30385 (0x76b1)

lri $AR1,    #0xc204
lri $IX1,    #0xf90e
lri $WR1,    #0x277c
cw 0xd
call send_back  ; 30386 (0x76b2)

lri $AR1,    #0xa160
lri $IX1,    #0x5abe
lri $WR1,    #0xb91b
cw 0xd
call send_back  ; 30387 (0x76b3)

lri $AR1,    #0x9326
lri $IX1,    #0xb428
lri $WR1,    #0xb62d
cw 0xd
call send_back  ; 30388 (0x76b4)

lri $AR1,    #0x8ba6
lri $IX1,    #0x395e
lri $WR1,    #0xa481
cw 0xd
call send_back  ; 30389 (0x76b5)

lri $AR1,    #0x62ea
lri $IX1,    #0x960a
lri $WR1,    #0x7664
cw 0xd
call send_back  ; 30390 (0x76b6)

lri $AR1,    #0x9efb
lri $IX1,    #0x229c
lri $WR1,    #0xfb77
cw 0xd
call send_back  ; 30391 (0x76b7)

lri $AR1,    #0x8fe2
lri $IX1,    #0xa4a2
lri $WR1,    #0x9c33
cw 0xd
call send_back  ; 30392 (0x76b8)

lri $AR1,    #0x141e
lri $IX1,    #0xc788
lri $WR1,    #0x7820
cw 0xd
call send_back  ; 30393 (0x76b9)

lri $AR1,    #0xbbee
lri $IX1,    #0xd6a0
lri $WR1,    #0x6c4e
cw 0xd
call send_back  ; 30394 (0x76ba)

lri $AR1,    #0x7533
lri $IX1,    #0xd0ae
lri $WR1,    #0xd926
cw 0xd
call send_back  ; 30395 (0x76bb)

lri $AR1,    #0xd145
lri $IX1,    #0x90d0
lri $WR1,    #0x942a
cw 0xd
call send_back  ; 30396 (0x76bc)

lri $AR1,    #0x3188
lri $IX1,    #0x6022
lri $WR1,    #0x2b99
cw 0xd
call send_back  ; 30397 (0x76bd)

lri $AR1,    #0x9702
lri $IX1,    #0xaed2
lri $WR1,    #0x5fad
cw 0xd
call send_back  ; 30398 (0x76be)

lri $AR1,    #0x54e0
lri $IX1,    #0xd30a
lri $WR1,    #0xd65c
cw 0xd
call send_back  ; 30399 (0x76bf)

lri $AR1,    #0x5d20
lri $IX1,    #0x5f72
lri $WR1,    #0x7450
cw 0xd
call send_back  ; 30400 (0x76c0)

lri $AR1,    #0xaa38
lri $IX1,    #0xcaa4
lri $WR1,    #0x4f09
cw 0xd
call send_back  ; 30401 (0x76c1)

lri $AR1,    #0xc810
lri $IX1,    #0x9c5e
lri $WR1,    #0xb9cc
cw 0xd
call send_back  ; 30402 (0x76c2)

lri $AR1,    #0x9212
lri $IX1,    #0x04c8
lri $WR1,    #0x6060
cw 0xd
call send_back  ; 30403 (0x76c3)

lri $AR1,    #0x43b7
lri $IX1,    #0x8580
lri $WR1,    #0x983d
cw 0xd
call send_back  ; 30404 (0x76c4)

lri $AR1,    #0x543b
lri $IX1,    #0x0bfa
lri $WR1,    #0xea26
cw 0xd
call send_back  ; 30405 (0x76c5)

lri $AR1,    #0xa5fa
lri $IX1,    #0x67b8
lri $WR1,    #0xb3ce
cw 0xd
call send_back  ; 30406 (0x76c6)

lri $AR1,    #0xb514
lri $IX1,    #0x46ee
lri $WR1,    #0x8294
cw 0xd
call send_back  ; 30407 (0x76c7)

lri $AR1,    #0x88c8
lri $IX1,    #0xb72c
lri $WR1,    #0xcde0
cw 0xd
call send_back  ; 30408 (0x76c8)

lri $AR1,    #0x9656
lri $IX1,    #0x6f8c
lri $WR1,    #0x613b
cw 0xd
call send_back  ; 30409 (0x76c9)

lri $AR1,    #0xe39c
lri $IX1,    #0xc50c
lri $WR1,    #0x73af
cw 0xd
call send_back  ; 30410 (0x76ca)

lri $AR1,    #0x6b62
lri $IX1,    #0xf97e
lri $WR1,    #0x7b71
cw 0xd
call send_back  ; 30411 (0x76cb)

lri $AR1,    #0x6c8b
lri $IX1,    #0x78dc
lri $WR1,    #0xa27f
cw 0xd
call send_back  ; 30412 (0x76cc)

lri $AR1,    #0xc903
lri $IX1,    #0x7038
lri $WR1,    #0xba30
cw 0xd
call send_back  ; 30413 (0x76cd)

lri $AR1,    #0xc8c7
lri $IX1,    #0xd53c
lri $WR1,    #0x8942
cw 0xd
call send_back  ; 30414 (0x76ce)

lri $AR1,    #0x58b8
lri $IX1,    #0x5476
lri $WR1,    #0xb188
cw 0xd
call send_back  ; 30415 (0x76cf)

lri $AR1,    #0x94ad
lri $IX1,    #0x9032
lri $WR1,    #0x0fbc
cw 0xd
call send_back  ; 30416 (0x76d0)

lri $AR1,    #0x7779
lri $IX1,    #0x8154
lri $WR1,    #0xc180
cw 0xd
call send_back  ; 30417 (0x76d1)

lri $AR1,    #0x4b45
lri $IX1,    #0x86e8
lri $WR1,    #0x4b32
cw 0xd
call send_back  ; 30418 (0x76d2)

lri $AR1,    #0x4803
lri $IX1,    #0xa0c6
lri $WR1,    #0x8883
cw 0xd
call send_back  ; 30419 (0x76d3)

lri $AR1,    #0x9553
lri $IX1,    #0x5504
lri $WR1,    #0x888c
cw 0xd
call send_back  ; 30420 (0x76d4)

lri $AR1,    #0x80a1
lri $IX1,    #0xb7ac
lri $WR1,    #0x8f43
cw 0xd
call send_back  ; 30421 (0x76d5)

lri $AR1,    #0x87d9
lri $IX1,    #0xd762
lri $WR1,    #0x9402
cw 0xd
call send_back  ; 30422 (0x76d6)

lri $AR1,    #0x3c6e
lri $IX1,    #0x5158
lri $WR1,    #0x9623
cw 0xd
call send_back  ; 30423 (0x76d7)

lri $AR1,    #0xda1e
lri $IX1,    #0xe264
lri $WR1,    #0x663f
cw 0xd
call send_back  ; 30424 (0x76d8)

lri $AR1,    #0x9823
lri $IX1,    #0x528c
lri $WR1,    #0x6c23
cw 0xd
call send_back  ; 30425 (0x76d9)

lri $AR1,    #0x9b3c
lri $IX1,    #0xf3b8
lri $WR1,    #0x5f0d
cw 0xd
call send_back  ; 30426 (0x76da)

lri $AR1,    #0x6259
lri $IX1,    #0xfc0e
lri $WR1,    #0x3741
cw 0xd
call send_back  ; 30427 (0x76db)

lri $AR1,    #0x6f23
lri $IX1,    #0x279c
lri $WR1,    #0x357c
cw 0xd
call send_back  ; 30428 (0x76dc)

lri $AR1,    #0xa758
lri $IX1,    #0x24ac
lri $WR1,    #0x9667
cw 0xd
call send_back  ; 30429 (0x76dd)

lri $AR1,    #0x5b22
lri $IX1,    #0x39ac
lri $WR1,    #0x4588
cw 0xd
call send_back  ; 30430 (0x76de)

lri $AR1,    #0x605a
lri $IX1,    #0x32c4
lri $WR1,    #0x84ce
cw 0xd
call send_back  ; 30431 (0x76df)

lri $AR1,    #0x29f0
lri $IX1,    #0xd928
lri $WR1,    #0x6343
cw 0xd
call send_back  ; 30432 (0x76e0)

lri $AR1,    #0x0e55
lri $IX1,    #0xdd46
lri $WR1,    #0x66ec
cw 0xd
call send_back  ; 30433 (0x76e1)

lri $AR1,    #0x6f34
lri $IX1,    #0x18ba
lri $WR1,    #0x5b7d
cw 0xd
call send_back  ; 30434 (0x76e2)

lri $AR1,    #0x8843
lri $IX1,    #0x3c4a
lri $WR1,    #0xa8d5
cw 0xd
call send_back  ; 30435 (0x76e3)

lri $AR1,    #0xb28c
lri $IX1,    #0x41c2
lri $WR1,    #0xc9eb
cw 0xd
call send_back  ; 30436 (0x76e4)

lri $AR1,    #0xc4e8
lri $IX1,    #0x3108
lri $WR1,    #0x5628
cw 0xd
call send_back  ; 30437 (0x76e5)

lri $AR1,    #0xca14
lri $IX1,    #0xd31a
lri $WR1,    #0x6ccf
cw 0xd
call send_back  ; 30438 (0x76e6)

lri $AR1,    #0xe81d
lri $IX1,    #0xad6c
lri $WR1,    #0x9375
cw 0xd
call send_back  ; 30439 (0x76e7)

lri $AR1,    #0x6c74
lri $IX1,    #0xf35c
lri $WR1,    #0x9e22
cw 0xd
call send_back  ; 30440 (0x76e8)

lri $AR1,    #0x5b94
lri $IX1,    #0xe316
lri $WR1,    #0xe126
cw 0xd
call send_back  ; 30441 (0x76e9)

lri $AR1,    #0x825e
lri $IX1,    #0x1eb4
lri $WR1,    #0x9a39
cw 0xd
call send_back  ; 30442 (0x76ea)

lri $AR1,    #0x3b26
lri $IX1,    #0xe1ec
lri $WR1,    #0x8fe8
cw 0xd
call send_back  ; 30443 (0x76eb)

lri $AR1,    #0x3f9f
lri $IX1,    #0x581e
lri $WR1,    #0xbbf1
cw 0xd
call send_back  ; 30444 (0x76ec)

lri $AR1,    #0xdc95
lri $IX1,    #0xae12
lri $WR1,    #0xce8e
cw 0xd
call send_back  ; 30445 (0x76ed)

lri $AR1,    #0x8ba3
lri $IX1,    #0xa630
lri $WR1,    #0xd650
cw 0xd
call send_back  ; 30446 (0x76ee)

lri $AR1,    #0x3ad7
lri $IX1,    #0x5582
lri $WR1,    #0xb980
cw 0xd
call send_back  ; 30447 (0x76ef)

lri $AR1,    #0xc17c
lri $IX1,    #0x2366
lri $WR1,    #0xd3b6
cw 0xd
call send_back  ; 30448 (0x76f0)

lri $AR1,    #0x8ce0
lri $IX1,    #0x0d0e
lri $WR1,    #0x539c
cw 0xd
call send_back  ; 30449 (0x76f1)

lri $AR1,    #0xcf6d
lri $IX1,    #0x69e6
lri $WR1,    #0x427e
cw 0xd
call send_back  ; 30450 (0x76f2)

lri $AR1,    #0x4fe2
lri $IX1,    #0xdce4
lri $WR1,    #0x50a5
cw 0xd
call send_back  ; 30451 (0x76f3)

lri $AR1,    #0x3df0
lri $IX1,    #0xa2cc
lri $WR1,    #0xf728
cw 0xd
call send_back  ; 30452 (0x76f4)

lri $AR1,    #0x8d20
lri $IX1,    #0xe49c
lri $WR1,    #0x9925
cw 0xd
call send_back  ; 30453 (0x76f5)

lri $AR1,    #0xa63e
lri $IX1,    #0x00ee
lri $WR1,    #0x6c05
cw 0xd
call send_back  ; 30454 (0x76f6)

lri $AR1,    #0xa32d
lri $IX1,    #0xbeba
lri $WR1,    #0x6fd9
cw 0xd
call send_back  ; 30455 (0x76f7)

lri $AR1,    #0xa05a
lri $IX1,    #0xef24
lri $WR1,    #0x8658
cw 0xd
call send_back  ; 30456 (0x76f8)

lri $AR1,    #0xdaba
lri $IX1,    #0x0bbe
lri $WR1,    #0xa097
cw 0xd
call send_back  ; 30457 (0x76f9)

lri $AR1,    #0xb092
lri $IX1,    #0xba12
lri $WR1,    #0x6902
cw 0xd
call send_back  ; 30458 (0x76fa)

lri $AR1,    #0x8eda
lri $IX1,    #0xaca6
lri $WR1,    #0x20b6
cw 0xd
call send_back  ; 30459 (0x76fb)

lri $AR1,    #0x3c90
lri $IX1,    #0xfd72
lri $WR1,    #0x7cac
cw 0xd
call send_back  ; 30460 (0x76fc)

lri $AR1,    #0xb0cb
lri $IX1,    #0xb4f6
lri $WR1,    #0x88f6
cw 0xd
call send_back  ; 30461 (0x76fd)

lri $AR1,    #0x8fd9
lri $IX1,    #0x9cd8
lri $WR1,    #0x5569
cw 0xd
call send_back  ; 30462 (0x76fe)

lri $AR1,    #0x6f40
lri $IX1,    #0x9c44
lri $WR1,    #0x50eb
cw 0xd
call send_back  ; 30463 (0x76ff)

lri $AR1,    #0x77e0
lri $IX1,    #0x8ffa
lri $WR1,    #0x1de3
cw 0xd
call send_back  ; 30464 (0x7700)

lri $AR1,    #0x4926
lri $IX1,    #0xb73a
lri $WR1,    #0x33e1
cw 0xd
call send_back  ; 30465 (0x7701)

lri $AR1,    #0x7f80
lri $IX1,    #0x4a7a
lri $WR1,    #0x3003
cw 0xd
call send_back  ; 30466 (0x7702)

lri $AR1,    #0x53f0
lri $IX1,    #0x8024
lri $WR1,    #0x2743
cw 0xd
call send_back  ; 30467 (0x7703)

lri $AR1,    #0x5210
lri $IX1,    #0x0730
lri $WR1,    #0x8316
cw 0xd
call send_back  ; 30468 (0x7704)

lri $AR1,    #0x7d58
lri $IX1,    #0xb6f6
lri $WR1,    #0x4a8b
cw 0xd
call send_back  ; 30469 (0x7705)

lri $AR1,    #0x4de6
lri $IX1,    #0xbeee
lri $WR1,    #0x9775
cw 0xd
call send_back  ; 30470 (0x7706)

lri $AR1,    #0x90b1
lri $IX1,    #0xe0d2
lri $WR1,    #0xb8a0
cw 0xd
call send_back  ; 30471 (0x7707)

lri $AR1,    #0x4e60
lri $IX1,    #0x12c8
lri $WR1,    #0x87b2
cw 0xd
call send_back  ; 30472 (0x7708)

lri $AR1,    #0xc7a5
lri $IX1,    #0x2f12
lri $WR1,    #0xa2c4
cw 0xd
call send_back  ; 30473 (0x7709)

lri $AR1,    #0x3568
lri $IX1,    #0xf1e0
lri $WR1,    #0x673a
cw 0xd
call send_back  ; 30474 (0x770a)

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