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

lri $AR1,    #0x9e92
lri $IX1,    #0xcbd4
lri $WR1,    #0x6dba
cw 0x15
call send_back  ; 41398 (0xa1b6)

lri $AR1,    #0xd125
lri $IX1,    #0xfd70
lri $WR1,    #0x5094
cw 0x15
call send_back  ; 41399 (0xa1b7)

lri $AR1,    #0x8199
lri $IX1,    #0x8a34
lri $WR1,    #0x7eef
cw 0x15
call send_back  ; 41400 (0xa1b8)

lri $AR1,    #0xadb6
lri $IX1,    #0xdd2e
lri $WR1,    #0xabb8
cw 0x15
call send_back  ; 41401 (0xa1b9)

lri $AR1,    #0x39c1
lri $IX1,    #0xe6c0
lri $WR1,    #0x3729
cw 0x15
call send_back  ; 41402 (0xa1ba)

lri $AR1,    #0x1e64
lri $IX1,    #0xf724
lri $WR1,    #0x3e94
cw 0x15
call send_back  ; 41403 (0xa1bb)

lri $AR1,    #0x6080
lri $IX1,    #0x5370
lri $WR1,    #0x4821
cw 0x15
call send_back  ; 41404 (0xa1bc)

lri $AR1,    #0x9fbd
lri $IX1,    #0xb200
lri $WR1,    #0x3079
cw 0x15
call send_back  ; 41405 (0xa1bd)

lri $AR1,    #0x782f
lri $IX1,    #0x5f60
lri $WR1,    #0xbdfd
cw 0x15
call send_back  ; 41406 (0xa1be)

lri $AR1,    #0x76c7
lri $IX1,    #0xad5c
lri $WR1,    #0x5e8a
cw 0x15
call send_back  ; 41407 (0xa1bf)

lri $AR1,    #0xd80d
lri $IX1,    #0x9a88
lri $WR1,    #0x7a74
cw 0x15
call send_back  ; 41408 (0xa1c0)

lri $AR1,    #0x13bd
lri $IX1,    #0x78bc
lri $WR1,    #0xd0a2
cw 0x15
call send_back  ; 41409 (0xa1c1)

lri $AR1,    #0x37c7
lri $IX1,    #0xddf6
lri $WR1,    #0x5d80
cw 0x15
call send_back  ; 41410 (0xa1c2)

lri $AR1,    #0xa860
lri $IX1,    #0x7b06
lri $WR1,    #0x3fbf
cw 0x15
call send_back  ; 41411 (0xa1c3)

lri $AR1,    #0xe286
lri $IX1,    #0xb082
lri $WR1,    #0x437e
cw 0x15
call send_back  ; 41412 (0xa1c4)

lri $AR1,    #0xb9be
lri $IX1,    #0x0274
lri $WR1,    #0x15e7
cw 0x15
call send_back  ; 41413 (0xa1c5)

lri $AR1,    #0x996c
lri $IX1,    #0x000e
lri $WR1,    #0x80d7
cw 0x15
call send_back  ; 41414 (0xa1c6)

lri $AR1,    #0x7578
lri $IX1,    #0xf516
lri $WR1,    #0xcf93
cw 0x15
call send_back  ; 41415 (0xa1c7)

lri $AR1,    #0xada9
lri $IX1,    #0xe730
lri $WR1,    #0x832c
cw 0x15
call send_back  ; 41416 (0xa1c8)

lri $AR1,    #0x9287
lri $IX1,    #0x19c0
lri $WR1,    #0xa696
cw 0x15
call send_back  ; 41417 (0xa1c9)

lri $AR1,    #0x59f8
lri $IX1,    #0xb77c
lri $WR1,    #0xbffc
cw 0x15
call send_back  ; 41418 (0xa1ca)

lri $AR1,    #0x858d
lri $IX1,    #0x718a
lri $WR1,    #0x6e81
cw 0x15
call send_back  ; 41419 (0xa1cb)

lri $AR1,    #0x63ae
lri $IX1,    #0x002a
lri $WR1,    #0x98c9
cw 0x15
call send_back  ; 41420 (0xa1cc)

lri $AR1,    #0xd093
lri $IX1,    #0x99c2
lri $WR1,    #0x8a92
cw 0x15
call send_back  ; 41421 (0xa1cd)

lri $AR1,    #0x8b3e
lri $IX1,    #0xc95c
lri $WR1,    #0xdcc4
cw 0x15
call send_back  ; 41422 (0xa1ce)

lri $AR1,    #0xb659
lri $IX1,    #0xae68
lri $WR1,    #0x6519
cw 0x15
call send_back  ; 41423 (0xa1cf)

lri $AR1,    #0x5442
lri $IX1,    #0xbbce
lri $WR1,    #0x8ff2
cw 0x15
call send_back  ; 41424 (0xa1d0)

lri $AR1,    #0x9917
lri $IX1,    #0xa524
lri $WR1,    #0x505b
cw 0x15
call send_back  ; 41425 (0xa1d1)

lri $AR1,    #0xad06
lri $IX1,    #0x6d12
lri $WR1,    #0x9fd8
cw 0x15
call send_back  ; 41426 (0xa1d2)

lri $AR1,    #0xcccc
lri $IX1,    #0x98be
lri $WR1,    #0xb904
cw 0x15
call send_back  ; 41427 (0xa1d3)

lri $AR1,    #0x7d8c
lri $IX1,    #0x8844
lri $WR1,    #0x2d9f
cw 0x15
call send_back  ; 41428 (0xa1d4)

lri $AR1,    #0xa4ff
lri $IX1,    #0xfd16
lri $WR1,    #0x9205
cw 0x15
call send_back  ; 41429 (0xa1d5)

lri $AR1,    #0xa615
lri $IX1,    #0x0b4a
lri $WR1,    #0x95bd
cw 0x15
call send_back  ; 41430 (0xa1d6)

lri $AR1,    #0x860d
lri $IX1,    #0x33a0
lri $WR1,    #0x6204
cw 0x15
call send_back  ; 41431 (0xa1d7)

lri $AR1,    #0x752a
lri $IX1,    #0x507e
lri $WR1,    #0xdd1e
cw 0x15
call send_back  ; 41432 (0xa1d8)

lri $AR1,    #0x41ee
lri $IX1,    #0x7856
lri $WR1,    #0x5a3f
cw 0x15
call send_back  ; 41433 (0xa1d9)

lri $AR1,    #0x9d23
lri $IX1,    #0x1cf6
lri $WR1,    #0x2bcd
cw 0x15
call send_back  ; 41434 (0xa1da)

lri $AR1,    #0x887d
lri $IX1,    #0x9f30
lri $WR1,    #0xdef3
cw 0x15
call send_back  ; 41435 (0xa1db)

lri $AR1,    #0x3130
lri $IX1,    #0x6b30
lri $WR1,    #0x7d18
cw 0x15
call send_back  ; 41436 (0xa1dc)

lri $AR1,    #0xb342
lri $IX1,    #0x9a22
lri $WR1,    #0x694b
cw 0x15
call send_back  ; 41437 (0xa1dd)

lri $AR1,    #0xb1e3
lri $IX1,    #0x2a54
lri $WR1,    #0x2d3b
cw 0x15
call send_back  ; 41438 (0xa1de)

lri $AR1,    #0x34b5
lri $IX1,    #0x3f90
lri $WR1,    #0xaac1
cw 0x15
call send_back  ; 41439 (0xa1df)

lri $AR1,    #0xb130
lri $IX1,    #0xa9de
lri $WR1,    #0x8c8b
cw 0x15
call send_back  ; 41440 (0xa1e0)

lri $AR1,    #0x730e
lri $IX1,    #0x4946
lri $WR1,    #0x5a09
cw 0x15
call send_back  ; 41441 (0xa1e1)

lri $AR1,    #0x95ff
lri $IX1,    #0xe9e6
lri $WR1,    #0xa015
cw 0x15
call send_back  ; 41442 (0xa1e2)

lri $AR1,    #0x5684
lri $IX1,    #0x03f0
lri $WR1,    #0x9178
cw 0x15
call send_back  ; 41443 (0xa1e3)

lri $AR1,    #0x872e
lri $IX1,    #0x87cc
lri $WR1,    #0x37cf
cw 0x15
call send_back  ; 41444 (0xa1e4)

lri $AR1,    #0x531f
lri $IX1,    #0xa712
lri $WR1,    #0xa6ed
cw 0x15
call send_back  ; 41445 (0xa1e5)

lri $AR1,    #0x861a
lri $IX1,    #0x7f78
lri $WR1,    #0x823c
cw 0x15
call send_back  ; 41446 (0xa1e6)

lri $AR1,    #0xb5f5
lri $IX1,    #0xcd82
lri $WR1,    #0x6538
cw 0x15
call send_back  ; 41447 (0xa1e7)

lri $AR1,    #0x40aa
lri $IX1,    #0x790c
lri $WR1,    #0x4593
cw 0x15
call send_back  ; 41448 (0xa1e8)

lri $AR1,    #0x7df9
lri $IX1,    #0x0660
lri $WR1,    #0x8f05
cw 0x15
call send_back  ; 41449 (0xa1e9)

lri $AR1,    #0xa2cf
lri $IX1,    #0xdb1e
lri $WR1,    #0x666b
cw 0x15
call send_back  ; 41450 (0xa1ea)

lri $AR1,    #0x8845
lri $IX1,    #0xf688
lri $WR1,    #0x933c
cw 0x15
call send_back  ; 41451 (0xa1eb)

lri $AR1,    #0x2f97
lri $IX1,    #0x5974
lri $WR1,    #0x63de
cw 0x15
call send_back  ; 41452 (0xa1ec)

lri $AR1,    #0xd7d9
lri $IX1,    #0x0294
lri $WR1,    #0x5af4
cw 0x15
call send_back  ; 41453 (0xa1ed)

lri $AR1,    #0xa9ae
lri $IX1,    #0x3836
lri $WR1,    #0x7135
cw 0x15
call send_back  ; 41454 (0xa1ee)

lri $AR1,    #0x40ec
lri $IX1,    #0xf946
lri $WR1,    #0x98d4
cw 0x15
call send_back  ; 41455 (0xa1ef)

lri $AR1,    #0x9366
lri $IX1,    #0xfba6
lri $WR1,    #0x5510
cw 0x15
call send_back  ; 41456 (0xa1f0)

lri $AR1,    #0x3fb2
lri $IX1,    #0xb694
lri $WR1,    #0x81fb
cw 0x15
call send_back  ; 41457 (0xa1f1)

lri $AR1,    #0x8e43
lri $IX1,    #0xbc60
lri $WR1,    #0xb607
cw 0x15
call send_back  ; 41458 (0xa1f2)

lri $AR1,    #0x429e
lri $IX1,    #0x370a
lri $WR1,    #0x586a
cw 0x15
call send_back  ; 41459 (0xa1f3)

lri $AR1,    #0xa1fd
lri $IX1,    #0xd808
lri $WR1,    #0x7cdf
cw 0x15
call send_back  ; 41460 (0xa1f4)

lri $AR1,    #0xb031
lri $IX1,    #0x13d4
lri $WR1,    #0xaeed
cw 0x15
call send_back  ; 41461 (0xa1f5)

lri $AR1,    #0x730f
lri $IX1,    #0x368a
lri $WR1,    #0x7424
cw 0x15
call send_back  ; 41462 (0xa1f6)

lri $AR1,    #0x703f
lri $IX1,    #0xdf2a
lri $WR1,    #0xce7f
cw 0x15
call send_back  ; 41463 (0xa1f7)

lri $AR1,    #0x70b9
lri $IX1,    #0xdbcc
lri $WR1,    #0xcd5b
cw 0x15
call send_back  ; 41464 (0xa1f8)

lri $AR1,    #0x40ba
lri $IX1,    #0x594e
lri $WR1,    #0xa536
cw 0x15
call send_back  ; 41465 (0xa1f9)

lri $AR1,    #0x828d
lri $IX1,    #0xfde8
lri $WR1,    #0xb3a6
cw 0x15
call send_back  ; 41466 (0xa1fa)

lri $AR1,    #0x1df2
lri $IX1,    #0xf604
lri $WR1,    #0xa6ab
cw 0x15
call send_back  ; 41467 (0xa1fb)

lri $AR1,    #0xbd72
lri $IX1,    #0x57e6
lri $WR1,    #0x93eb
cw 0x15
call send_back  ; 41468 (0xa1fc)

lri $AR1,    #0x8669
lri $IX1,    #0xaa84
lri $WR1,    #0x85de
cw 0x15
call send_back  ; 41469 (0xa1fd)

lri $AR1,    #0xa82f
lri $IX1,    #0xf0f4
lri $WR1,    #0x4281
cw 0x15
call send_back  ; 41470 (0xa1fe)

lri $AR1,    #0xe20f
lri $IX1,    #0x7bfc
lri $WR1,    #0x30a1
cw 0x15
call send_back  ; 41471 (0xa1ff)

lri $AR1,    #0x9774
lri $IX1,    #0x1018
lri $WR1,    #0xa64f
cw 0x15
call send_back  ; 41472 (0xa200)

lri $AR1,    #0xd513
lri $IX1,    #0xc67e
lri $WR1,    #0x7481
cw 0x15
call send_back  ; 41473 (0xa201)

lri $AR1,    #0xa95f
lri $IX1,    #0x9472
lri $WR1,    #0x917f
cw 0x15
call send_back  ; 41474 (0xa202)

lri $AR1,    #0xc625
lri $IX1,    #0xb480
lri $WR1,    #0x352b
cw 0x15
call send_back  ; 41475 (0xa203)

lri $AR1,    #0x6887
lri $IX1,    #0x69ea
lri $WR1,    #0x6f9e
cw 0x15
call send_back  ; 41476 (0xa204)

lri $AR1,    #0x6044
lri $IX1,    #0xded0
lri $WR1,    #0x1c54
cw 0x15
call send_back  ; 41477 (0xa205)

lri $AR1,    #0x9e81
lri $IX1,    #0x5270
lri $WR1,    #0xf146
cw 0x15
call send_back  ; 41478 (0xa206)

lri $AR1,    #0xd7fd
lri $IX1,    #0x8d08
lri $WR1,    #0xab27
cw 0x15
call send_back  ; 41479 (0xa207)

lri $AR1,    #0x5de9
lri $IX1,    #0xbbac
lri $WR1,    #0xdd47
cw 0x15
call send_back  ; 41480 (0xa208)

lri $AR1,    #0x3c3f
lri $IX1,    #0x8e92
lri $WR1,    #0x9525
cw 0x15
call send_back  ; 41481 (0xa209)

lri $AR1,    #0x4bec
lri $IX1,    #0xd93e
lri $WR1,    #0xaf4f
cw 0x15
call send_back  ; 41482 (0xa20a)

lri $AR1,    #0x1a98
lri $IX1,    #0x2410
lri $WR1,    #0x4c91
cw 0x15
call send_back  ; 41483 (0xa20b)

lri $AR1,    #0x314f
lri $IX1,    #0xbb74
lri $WR1,    #0x2c10
cw 0x15
call send_back  ; 41484 (0xa20c)

lri $AR1,    #0x3f01
lri $IX1,    #0xf166
lri $WR1,    #0xa859
cw 0x15
call send_back  ; 41485 (0xa20d)

lri $AR1,    #0xdaf5
lri $IX1,    #0x9a7c
lri $WR1,    #0x92ed
cw 0x15
call send_back  ; 41486 (0xa20e)

lri $AR1,    #0x572c
lri $IX1,    #0x701e
lri $WR1,    #0x8b79
cw 0x15
call send_back  ; 41487 (0xa20f)

lri $AR1,    #0x51ea
lri $IX1,    #0x0e24
lri $WR1,    #0x951b
cw 0x15
call send_back  ; 41488 (0xa210)

lri $AR1,    #0x4140
lri $IX1,    #0xda76
lri $WR1,    #0x75ec
cw 0x15
call send_back  ; 41489 (0xa211)

lri $AR1,    #0x72e6
lri $IX1,    #0x6a0a
lri $WR1,    #0x3a4d
cw 0x15
call send_back  ; 41490 (0xa212)

lri $AR1,    #0x4e2b
lri $IX1,    #0x06c2
lri $WR1,    #0x6709
cw 0x15
call send_back  ; 41491 (0xa213)

lri $AR1,    #0x6d5d
lri $IX1,    #0xf660
lri $WR1,    #0x5add
cw 0x15
call send_back  ; 41492 (0xa214)

lri $AR1,    #0x3f67
lri $IX1,    #0x2b74
lri $WR1,    #0x7974
cw 0x15
call send_back  ; 41493 (0xa215)

lri $AR1,    #0x3200
lri $IX1,    #0x3d18
lri $WR1,    #0x5771
cw 0x15
call send_back  ; 41494 (0xa216)

lri $AR1,    #0xc83d
lri $IX1,    #0x038c
lri $WR1,    #0xa082
cw 0x15
call send_back  ; 41495 (0xa217)

lri $AR1,    #0xd8c8
lri $IX1,    #0x239c
lri $WR1,    #0x3625
cw 0x15
call send_back  ; 41496 (0xa218)

lri $AR1,    #0x5a98
lri $IX1,    #0x4b98
lri $WR1,    #0x6f20
cw 0x15
call send_back  ; 41497 (0xa219)

lri $AR1,    #0x867e
lri $IX1,    #0x0914
lri $WR1,    #0xcd35
cw 0x15
call send_back  ; 41498 (0xa21a)

lri $AR1,    #0x8743
lri $IX1,    #0x0f20
lri $WR1,    #0x503d
cw 0x15
call send_back  ; 41499 (0xa21b)

lri $AR1,    #0x59c2
lri $IX1,    #0xa110
lri $WR1,    #0xa31d
cw 0x15
call send_back  ; 41500 (0xa21c)

lri $AR1,    #0xb9b3
lri $IX1,    #0xbea6
lri $WR1,    #0x98b3
cw 0x15
call send_back  ; 41501 (0xa21d)

lri $AR1,    #0x6793
lri $IX1,    #0xc2c0
lri $WR1,    #0xac4b
cw 0x15
call send_back  ; 41502 (0xa21e)

lri $AR1,    #0x9754
lri $IX1,    #0x8620
lri $WR1,    #0x5aab
cw 0x15
call send_back  ; 41503 (0xa21f)

lri $AR1,    #0x4f57
lri $IX1,    #0xe4b8
lri $WR1,    #0x8e42
cw 0x15
call send_back  ; 41504 (0xa220)

lri $AR1,    #0xca4a
lri $IX1,    #0xdbe8
lri $WR1,    #0xe28b
cw 0x15
call send_back  ; 41505 (0xa221)

lri $AR1,    #0x6e67
lri $IX1,    #0x7d1a
lri $WR1,    #0x9040
cw 0x15
call send_back  ; 41506 (0xa222)

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