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

lri $AR1,    #0x2db3
lri $IX1,    #0x1e52
lri $WR1,    #0xda42
cw 0xd
call send_back  ; 16385 (0x4001)

lri $AR1,    #0xd328
lri $IX1,    #0x1b52
lri $WR1,    #0x7ee7
cw 0xd
call send_back  ; 16386 (0x4002)

lri $AR1,    #0x3466
lri $IX1,    #0x3ff4
lri $WR1,    #0x68fe
cw 0xd
call send_back  ; 16387 (0x4003)

lri $AR1,    #0x845d
lri $IX1,    #0x0d4a
lri $WR1,    #0x7bb4
cw 0xd
call send_back  ; 16388 (0x4004)

lri $AR1,    #0x901c
lri $IX1,    #0xe100
lri $WR1,    #0x9b12
cw 0xd
call send_back  ; 16389 (0x4005)

lri $AR1,    #0xa19b
lri $IX1,    #0xbb2c
lri $WR1,    #0xdf22
cw 0xd
call send_back  ; 16390 (0x4006)

lri $AR1,    #0xd5e6
lri $IX1,    #0x9e5c
lri $WR1,    #0xc428
cw 0xd
call send_back  ; 16391 (0x4007)

lri $AR1,    #0x8a00
lri $IX1,    #0x67d2
lri $WR1,    #0xde81
cw 0xd
call send_back  ; 16392 (0x4008)

lri $AR1,    #0x6d31
lri $IX1,    #0x4520
lri $WR1,    #0xc23f
cw 0xd
call send_back  ; 16393 (0x4009)

lri $AR1,    #0x6738
lri $IX1,    #0x8816
lri $WR1,    #0x7c00
cw 0xd
call send_back  ; 16394 (0x400a)

lri $AR1,    #0xb409
lri $IX1,    #0x6926
lri $WR1,    #0x0a1e
cw 0xd
call send_back  ; 16395 (0x400b)

lri $AR1,    #0xbe87
lri $IX1,    #0x2c32
lri $WR1,    #0x9ad0
cw 0xd
call send_back  ; 16396 (0x400c)

lri $AR1,    #0xbeed
lri $IX1,    #0xf30e
lri $WR1,    #0x4d30
cw 0xd
call send_back  ; 16397 (0x400d)

lri $AR1,    #0x5152
lri $IX1,    #0x3472
lri $WR1,    #0xb0d3
cw 0xd
call send_back  ; 16398 (0x400e)

lri $AR1,    #0x7c07
lri $IX1,    #0x2dc8
lri $WR1,    #0xa0f3
cw 0xd
call send_back  ; 16399 (0x400f)

lri $AR1,    #0x5522
lri $IX1,    #0x998c
lri $WR1,    #0xbdbf
cw 0xd
call send_back  ; 16400 (0x4010)

lri $AR1,    #0x8204
lri $IX1,    #0x5b9e
lri $WR1,    #0x0fe0
cw 0xd
call send_back  ; 16401 (0x4011)

lri $AR1,    #0x8b33
lri $IX1,    #0x905c
lri $WR1,    #0x2fc8
cw 0xd
call send_back  ; 16402 (0x4012)

lri $AR1,    #0x5250
lri $IX1,    #0x5ab8
lri $WR1,    #0x7bd0
cw 0xd
call send_back  ; 16403 (0x4013)

lri $AR1,    #0xbf77
lri $IX1,    #0xd136
lri $WR1,    #0x5dc6
cw 0xd
call send_back  ; 16404 (0x4014)

lri $AR1,    #0x56e3
lri $IX1,    #0x6122
lri $WR1,    #0x39e6
cw 0xd
call send_back  ; 16405 (0x4015)

lri $AR1,    #0xb71f
lri $IX1,    #0xcaa8
lri $WR1,    #0xbee1
cw 0xd
call send_back  ; 16406 (0x4016)

lri $AR1,    #0x638c
lri $IX1,    #0x585c
lri $WR1,    #0x4ff6
cw 0xd
call send_back  ; 16407 (0x4017)

lri $AR1,    #0x16a3
lri $IX1,    #0x07c4
lri $WR1,    #0x87b4
cw 0xd
call send_back  ; 16408 (0x4018)

lri $AR1,    #0x82ae
lri $IX1,    #0xe05e
lri $WR1,    #0xbb6f
cw 0xd
call send_back  ; 16409 (0x4019)

lri $AR1,    #0xc74e
lri $IX1,    #0x91e4
lri $WR1,    #0x54f9
cw 0xd
call send_back  ; 16410 (0x401a)

lri $AR1,    #0x5599
lri $IX1,    #0x821a
lri $WR1,    #0xa9be
cw 0xd
call send_back  ; 16411 (0x401b)

lri $AR1,    #0x643d
lri $IX1,    #0x95fa
lri $WR1,    #0x8bb0
cw 0xd
call send_back  ; 16412 (0x401c)

lri $AR1,    #0xd043
lri $IX1,    #0x1990
lri $WR1,    #0x8a3e
cw 0xd
call send_back  ; 16413 (0x401d)

lri $AR1,    #0xb6f3
lri $IX1,    #0x1552
lri $WR1,    #0x96c6
cw 0xd
call send_back  ; 16414 (0x401e)

lri $AR1,    #0x9893
lri $IX1,    #0xff4c
lri $WR1,    #0x619a
cw 0xd
call send_back  ; 16415 (0x401f)

lri $AR1,    #0x4b53
lri $IX1,    #0xe9dc
lri $WR1,    #0xaa3a
cw 0xd
call send_back  ; 16416 (0x4020)

lri $AR1,    #0x5132
lri $IX1,    #0xf970
lri $WR1,    #0xc6b4
cw 0xd
call send_back  ; 16417 (0x4021)

lri $AR1,    #0xa338
lri $IX1,    #0xe5f0
lri $WR1,    #0xb3cf
cw 0xd
call send_back  ; 16418 (0x4022)

lri $AR1,    #0x97c9
lri $IX1,    #0x7c40
lri $WR1,    #0x7112
cw 0xd
call send_back  ; 16419 (0x4023)

lri $AR1,    #0x916c
lri $IX1,    #0x579e
lri $WR1,    #0xa129
cw 0xd
call send_back  ; 16420 (0x4024)

lri $AR1,    #0x7ecc
lri $IX1,    #0x422a
lri $WR1,    #0xc0c3
cw 0xd
call send_back  ; 16421 (0x4025)

lri $AR1,    #0x4440
lri $IX1,    #0xb772
lri $WR1,    #0xa37a
cw 0xd
call send_back  ; 16422 (0x4026)

lri $AR1,    #0xcac3
lri $IX1,    #0xc346
lri $WR1,    #0xa7c7
cw 0xd
call send_back  ; 16423 (0x4027)

lri $AR1,    #0x8787
lri $IX1,    #0xcab4
lri $WR1,    #0x98ab
cw 0xd
call send_back  ; 16424 (0x4028)

lri $AR1,    #0xbb12
lri $IX1,    #0x9466
lri $WR1,    #0x5cfa
cw 0xd
call send_back  ; 16425 (0x4029)

lri $AR1,    #0xc625
lri $IX1,    #0x0142
lri $WR1,    #0xc201
cw 0xd
call send_back  ; 16426 (0x402a)

lri $AR1,    #0xa641
lri $IX1,    #0x359e
lri $WR1,    #0x4074
cw 0xd
call send_back  ; 16427 (0x402b)

lri $AR1,    #0x5317
lri $IX1,    #0x56c6
lri $WR1,    #0x7048
cw 0xd
call send_back  ; 16428 (0x402c)

lri $AR1,    #0xb1c1
lri $IX1,    #0x5842
lri $WR1,    #0xd97e
cw 0xd
call send_back  ; 16429 (0x402d)

lri $AR1,    #0x81f9
lri $IX1,    #0x7f88
lri $WR1,    #0x4d79
cw 0xd
call send_back  ; 16430 (0x402e)

lri $AR1,    #0x6d3b
lri $IX1,    #0x2480
lri $WR1,    #0x55ea
cw 0xd
call send_back  ; 16431 (0x402f)

lri $AR1,    #0x970d
lri $IX1,    #0xa8b2
lri $WR1,    #0x6be0
cw 0xd
call send_back  ; 16432 (0x4030)

lri $AR1,    #0x194e
lri $IX1,    #0x8654
lri $WR1,    #0x730c
cw 0xd
call send_back  ; 16433 (0x4031)

lri $AR1,    #0x96c7
lri $IX1,    #0x941c
lri $WR1,    #0xc2cb
cw 0xd
call send_back  ; 16434 (0x4032)

lri $AR1,    #0x61e1
lri $IX1,    #0x0a20
lri $WR1,    #0x3811
cw 0xd
call send_back  ; 16435 (0x4033)

lri $AR1,    #0x7cce
lri $IX1,    #0x5792
lri $WR1,    #0x40aa
cw 0xd
call send_back  ; 16436 (0x4034)

lri $AR1,    #0x53e5
lri $IX1,    #0x50aa
lri $WR1,    #0x69f8
cw 0xd
call send_back  ; 16437 (0x4035)

lri $AR1,    #0x6290
lri $IX1,    #0x8796
lri $WR1,    #0x9abc
cw 0xd
call send_back  ; 16438 (0x4036)

lri $AR1,    #0x569d
lri $IX1,    #0xa2aa
lri $WR1,    #0xa0eb
cw 0xd
call send_back  ; 16439 (0x4037)

lri $AR1,    #0x9d3a
lri $IX1,    #0x15b6
lri $WR1,    #0x8235
cw 0xd
call send_back  ; 16440 (0x4038)

lri $AR1,    #0x706a
lri $IX1,    #0xabcc
lri $WR1,    #0x6732
cw 0xd
call send_back  ; 16441 (0x4039)

lri $AR1,    #0x5b4f
lri $IX1,    #0xaa42
lri $WR1,    #0x66e6
cw 0xd
call send_back  ; 16442 (0x403a)

lri $AR1,    #0x9f0e
lri $IX1,    #0xe53e
lri $WR1,    #0xc992
cw 0xd
call send_back  ; 16443 (0x403b)

lri $AR1,    #0x49a5
lri $IX1,    #0xc1a4
lri $WR1,    #0x6f67
cw 0xd
call send_back  ; 16444 (0x403c)

lri $AR1,    #0x0b79
lri $IX1,    #0xb7b6
lri $WR1,    #0x413d
cw 0xd
call send_back  ; 16445 (0x403d)

lri $AR1,    #0xc7f6
lri $IX1,    #0x5522
lri $WR1,    #0x4ebd
cw 0xd
call send_back  ; 16446 (0x403e)

lri $AR1,    #0xe10c
lri $IX1,    #0xdcf6
lri $WR1,    #0x5f35
cw 0xd
call send_back  ; 16447 (0x403f)

lri $AR1,    #0x34df
lri $IX1,    #0x5720
lri $WR1,    #0x1f81
cw 0xd
call send_back  ; 16448 (0x4040)

lri $AR1,    #0x9066
lri $IX1,    #0x08de
lri $WR1,    #0x2136
cw 0xd
call send_back  ; 16449 (0x4041)

lri $AR1,    #0x596e
lri $IX1,    #0xcaf2
lri $WR1,    #0x6c8d
cw 0xd
call send_back  ; 16450 (0x4042)

lri $AR1,    #0x45a8
lri $IX1,    #0x61e6
lri $WR1,    #0x581f
cw 0xd
call send_back  ; 16451 (0x4043)

lri $AR1,    #0x7c2c
lri $IX1,    #0xc020
lri $WR1,    #0x8f1b
cw 0xd
call send_back  ; 16452 (0x4044)

lri $AR1,    #0x5a3f
lri $IX1,    #0xd134
lri $WR1,    #0x87d6
cw 0xd
call send_back  ; 16453 (0x4045)

lri $AR1,    #0xa39d
lri $IX1,    #0xf92a
lri $WR1,    #0x8a77
cw 0xd
call send_back  ; 16454 (0x4046)

lri $AR1,    #0x8a2a
lri $IX1,    #0xb218
lri $WR1,    #0xa8b2
cw 0xd
call send_back  ; 16455 (0x4047)

lri $AR1,    #0x904d
lri $IX1,    #0x85d4
lri $WR1,    #0x8d22
cw 0xd
call send_back  ; 16456 (0x4048)

lri $AR1,    #0x34c6
lri $IX1,    #0xe91c
lri $WR1,    #0x3265
cw 0xd
call send_back  ; 16457 (0x4049)

lri $AR1,    #0x765a
lri $IX1,    #0x18f2
lri $WR1,    #0x3f78
cw 0xd
call send_back  ; 16458 (0x404a)

lri $AR1,    #0x7112
lri $IX1,    #0xea8c
lri $WR1,    #0xd865
cw 0xd
call send_back  ; 16459 (0x404b)

lri $AR1,    #0x7e77
lri $IX1,    #0x61a6
lri $WR1,    #0x07de
cw 0xd
call send_back  ; 16460 (0x404c)

lri $AR1,    #0xbd79
lri $IX1,    #0xb878
lri $WR1,    #0xdfcc
cw 0xd
call send_back  ; 16461 (0x404d)

lri $AR1,    #0x9677
lri $IX1,    #0x3030
lri $WR1,    #0x6c63
cw 0xd
call send_back  ; 16462 (0x404e)

lri $AR1,    #0x9319
lri $IX1,    #0x603e
lri $WR1,    #0x76cb
cw 0xd
call send_back  ; 16463 (0x404f)

lri $AR1,    #0x9958
lri $IX1,    #0xae34
lri $WR1,    #0x39ef
cw 0xd
call send_back  ; 16464 (0x4050)

lri $AR1,    #0xa48b
lri $IX1,    #0xff9a
lri $WR1,    #0x7587
cw 0xd
call send_back  ; 16465 (0x4051)

lri $AR1,    #0x56c1
lri $IX1,    #0x7282
lri $WR1,    #0x18e3
cw 0xd
call send_back  ; 16466 (0x4052)

lri $AR1,    #0x902e
lri $IX1,    #0xd922
lri $WR1,    #0x708c
cw 0xd
call send_back  ; 16467 (0x4053)

lri $AR1,    #0x8216
lri $IX1,    #0xb858
lri $WR1,    #0x374b
cw 0xd
call send_back  ; 16468 (0x4054)

lri $AR1,    #0x4dea
lri $IX1,    #0x8054
lri $WR1,    #0x84ab
cw 0xd
call send_back  ; 16469 (0x4055)

lri $AR1,    #0x90f8
lri $IX1,    #0x8238
lri $WR1,    #0x307c
cw 0xd
call send_back  ; 16470 (0x4056)

lri $AR1,    #0x207a
lri $IX1,    #0xa51e
lri $WR1,    #0x4469
cw 0xd
call send_back  ; 16471 (0x4057)

lri $AR1,    #0x9150
lri $IX1,    #0xf022
lri $WR1,    #0x5a42
cw 0xd
call send_back  ; 16472 (0x4058)

lri $AR1,    #0xd238
lri $IX1,    #0x86ea
lri $WR1,    #0xaee6
cw 0xd
call send_back  ; 16473 (0x4059)

lri $AR1,    #0x7ed7
lri $IX1,    #0x9162
lri $WR1,    #0x9f87
cw 0xd
call send_back  ; 16474 (0x405a)

lri $AR1,    #0x855d
lri $IX1,    #0x9718
lri $WR1,    #0x983e
cw 0xd
call send_back  ; 16475 (0x405b)

lri $AR1,    #0xa01c
lri $IX1,    #0xf9da
lri $WR1,    #0x907c
cw 0xd
call send_back  ; 16476 (0x405c)

lri $AR1,    #0x5fd3
lri $IX1,    #0x531a
lri $WR1,    #0x6b7d
cw 0xd
call send_back  ; 16477 (0x405d)

lri $AR1,    #0xf310
lri $IX1,    #0x62c4
lri $WR1,    #0x503a
cw 0xd
call send_back  ; 16478 (0x405e)

lri $AR1,    #0x5a71
lri $IX1,    #0xdde8
lri $WR1,    #0x2dfa
cw 0xd
call send_back  ; 16479 (0x405f)

lri $AR1,    #0xb108
lri $IX1,    #0x9f00
lri $WR1,    #0x87f6
cw 0xd
call send_back  ; 16480 (0x4060)

lri $AR1,    #0x7bcd
lri $IX1,    #0x611a
lri $WR1,    #0xac4c
cw 0xd
call send_back  ; 16481 (0x4061)

lri $AR1,    #0x724d
lri $IX1,    #0x2ad8
lri $WR1,    #0x87a0
cw 0xd
call send_back  ; 16482 (0x4062)

lri $AR1,    #0x4682
lri $IX1,    #0xbd62
lri $WR1,    #0x38a6
cw 0xd
call send_back  ; 16483 (0x4063)

lri $AR1,    #0x791b
lri $IX1,    #0x9f4c
lri $WR1,    #0x3c0b
cw 0xd
call send_back  ; 16484 (0x4064)

lri $AR1,    #0xa2f5
lri $IX1,    #0x929c
lri $WR1,    #0x62c9
cw 0xd
call send_back  ; 16485 (0x4065)

lri $AR1,    #0xac31
lri $IX1,    #0x50d4
lri $WR1,    #0xa29a
cw 0xd
call send_back  ; 16486 (0x4066)

lri $AR1,    #0x8c9d
lri $IX1,    #0x2750
lri $WR1,    #0x1165
cw 0xd
call send_back  ; 16487 (0x4067)

lri $AR1,    #0x48d3
lri $IX1,    #0x61b0
lri $WR1,    #0x6266
cw 0xd
call send_back  ; 16488 (0x4068)

lri $AR1,    #0x4ace
lri $IX1,    #0x37c2
lri $WR1,    #0x6502
cw 0xd
call send_back  ; 16489 (0x4069)

lri $AR1,    #0x5456
lri $IX1,    #0x0fa4
lri $WR1,    #0x32e5
cw 0xd
call send_back  ; 16490 (0x406a)

lri $AR1,    #0x7d00
lri $IX1,    #0x3472
lri $WR1,    #0xcc6e
cw 0xd
call send_back  ; 16491 (0x406b)

lri $AR1,    #0x5526
lri $IX1,    #0x8552
lri $WR1,    #0x3811
cw 0xd
call send_back  ; 16492 (0x406c)

lri $AR1,    #0x4294
lri $IX1,    #0xf82c
lri $WR1,    #0xb29c
cw 0xd
call send_back  ; 16493 (0x406d)

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