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

lri $AR1,    #0x81a7
lri $IX1,    #0xd8d2
lri $WR1,    #0xc366
cw 0xd
call send_back  ; 8412 (0x20dc)

lri $AR1,    #0x7d24
lri $IX1,    #0x3cea
lri $WR1,    #0x60bf
cw 0xd
call send_back  ; 8413 (0x20dd)

lri $AR1,    #0x5a40
lri $IX1,    #0x5348
lri $WR1,    #0x4141
cw 0xd
call send_back  ; 8414 (0x20de)

lri $AR1,    #0x4b43
lri $IX1,    #0x880a
lri $WR1,    #0x270a
cw 0xd
call send_back  ; 8415 (0x20df)

lri $AR1,    #0x7e10
lri $IX1,    #0x96d2
lri $WR1,    #0x29d3
cw 0xd
call send_back  ; 8416 (0x20e0)

lri $AR1,    #0x9e84
lri $IX1,    #0x1100
lri $WR1,    #0x8cd3
cw 0xd
call send_back  ; 8417 (0x20e1)

lri $AR1,    #0xda3d
lri $IX1,    #0xdb9a
lri $WR1,    #0xd96c
cw 0xd
call send_back  ; 8418 (0x20e2)

lri $AR1,    #0xab60
lri $IX1,    #0xb95c
lri $WR1,    #0xa1af
cw 0xd
call send_back  ; 8419 (0x20e3)

lri $AR1,    #0x37e6
lri $IX1,    #0x3880
lri $WR1,    #0x8341
cw 0xd
call send_back  ; 8420 (0x20e4)

lri $AR1,    #0xee1b
lri $IX1,    #0x93dc
lri $WR1,    #0x5cbd
cw 0xd
call send_back  ; 8421 (0x20e5)

lri $AR1,    #0x16a8
lri $IX1,    #0x21dc
lri $WR1,    #0x8515
cw 0xd
call send_back  ; 8422 (0x20e6)

lri $AR1,    #0x380c
lri $IX1,    #0xabe8
lri $WR1,    #0x960e
cw 0xd
call send_back  ; 8423 (0x20e7)

lri $AR1,    #0xbea9
lri $IX1,    #0x5bce
lri $WR1,    #0x6060
cw 0xd
call send_back  ; 8424 (0x20e8)

lri $AR1,    #0xc869
lri $IX1,    #0xb4a6
lri $WR1,    #0x498b
cw 0xd
call send_back  ; 8425 (0x20e9)

lri $AR1,    #0x921e
lri $IX1,    #0x27fa
lri $WR1,    #0x80f7
cw 0xd
call send_back  ; 8426 (0x20ea)

lri $AR1,    #0xb889
lri $IX1,    #0x2774
lri $WR1,    #0x8b61
cw 0xd
call send_back  ; 8427 (0x20eb)

lri $AR1,    #0xa650
lri $IX1,    #0xf6e0
lri $WR1,    #0x7935
cw 0xd
call send_back  ; 8428 (0x20ec)

lri $AR1,    #0x83ad
lri $IX1,    #0xd9fa
lri $WR1,    #0x95e2
cw 0xd
call send_back  ; 8429 (0x20ed)

lri $AR1,    #0xac2d
lri $IX1,    #0x6498
lri $WR1,    #0x5ba5
cw 0xd
call send_back  ; 8430 (0x20ee)

lri $AR1,    #0x724d
lri $IX1,    #0x93b6
lri $WR1,    #0x58f7
cw 0xd
call send_back  ; 8431 (0x20ef)

lri $AR1,    #0x3047
lri $IX1,    #0xc91c
lri $WR1,    #0x5a22
cw 0xd
call send_back  ; 8432 (0x20f0)

lri $AR1,    #0x30da
lri $IX1,    #0xaaf2
lri $WR1,    #0x72ff
cw 0xd
call send_back  ; 8433 (0x20f1)

lri $AR1,    #0x3a62
lri $IX1,    #0x2412
lri $WR1,    #0x5289
cw 0xd
call send_back  ; 8434 (0x20f2)

lri $AR1,    #0x5a0a
lri $IX1,    #0x3162
lri $WR1,    #0x7b3c
cw 0xd
call send_back  ; 8435 (0x20f3)

lri $AR1,    #0x5476
lri $IX1,    #0xac16
lri $WR1,    #0x70dc
cw 0xd
call send_back  ; 8436 (0x20f4)

lri $AR1,    #0xbc9d
lri $IX1,    #0xb81a
lri $WR1,    #0x85b7
cw 0xd
call send_back  ; 8437 (0x20f5)

lri $AR1,    #0x813e
lri $IX1,    #0xc97c
lri $WR1,    #0x8ee8
cw 0xd
call send_back  ; 8438 (0x20f6)

lri $AR1,    #0xa4a9
lri $IX1,    #0x3322
lri $WR1,    #0x48af
cw 0xd
call send_back  ; 8439 (0x20f7)

lri $AR1,    #0x2a3b
lri $IX1,    #0xc4a0
lri $WR1,    #0x7972
cw 0xd
call send_back  ; 8440 (0x20f8)

lri $AR1,    #0xf05c
lri $IX1,    #0x0478
lri $WR1,    #0xcb78
cw 0xd
call send_back  ; 8441 (0x20f9)

lri $AR1,    #0x8d3d
lri $IX1,    #0xefa4
lri $WR1,    #0xc2dd
cw 0xd
call send_back  ; 8442 (0x20fa)

lri $AR1,    #0xb848
lri $IX1,    #0xb69a
lri $WR1,    #0x86ea
cw 0xd
call send_back  ; 8443 (0x20fb)

lri $AR1,    #0xb16c
lri $IX1,    #0x93c2
lri $WR1,    #0x4b4d
cw 0xd
call send_back  ; 8444 (0x20fc)

lri $AR1,    #0xd32f
lri $IX1,    #0x6e8c
lri $WR1,    #0x5f46
cw 0xd
call send_back  ; 8445 (0x20fd)

lri $AR1,    #0xebcf
lri $IX1,    #0x6a0c
lri $WR1,    #0x2659
cw 0xd
call send_back  ; 8446 (0x20fe)

lri $AR1,    #0x7d42
lri $IX1,    #0x9d62
lri $WR1,    #0x5f9e
cw 0xd
call send_back  ; 8447 (0x20ff)

lri $AR1,    #0x7b57
lri $IX1,    #0xe7bc
lri $WR1,    #0x862b
cw 0xd
call send_back  ; 8448 (0x2100)

lri $AR1,    #0x6aee
lri $IX1,    #0xf94a
lri $WR1,    #0x9ebf
cw 0xd
call send_back  ; 8449 (0x2101)

lri $AR1,    #0xc460
lri $IX1,    #0x25f2
lri $WR1,    #0x542b
cw 0xd
call send_back  ; 8450 (0x2102)

lri $AR1,    #0x8f24
lri $IX1,    #0x460e
lri $WR1,    #0xb596
cw 0xd
call send_back  ; 8451 (0x2103)

lri $AR1,    #0x33c3
lri $IX1,    #0xad06
lri $WR1,    #0x9f25
cw 0xd
call send_back  ; 8452 (0x2104)

lri $AR1,    #0x5d22
lri $IX1,    #0xf522
lri $WR1,    #0x2f19
cw 0xd
call send_back  ; 8453 (0x2105)

lri $AR1,    #0x5152
lri $IX1,    #0xeb4a
lri $WR1,    #0x86f3
cw 0xd
call send_back  ; 8454 (0x2106)

lri $AR1,    #0x4db8
lri $IX1,    #0x2526
lri $WR1,    #0x59b1
cw 0xd
call send_back  ; 8455 (0x2107)

lri $AR1,    #0x89ed
lri $IX1,    #0x9f52
lri $WR1,    #0xcda8
cw 0xd
call send_back  ; 8456 (0x2108)

lri $AR1,    #0x7013
lri $IX1,    #0x08f8
lri $WR1,    #0xe220
cw 0xd
call send_back  ; 8457 (0x2109)

lri $AR1,    #0xb8ff
lri $IX1,    #0xfdbe
lri $WR1,    #0x362f
cw 0xd
call send_back  ; 8458 (0x210a)

lri $AR1,    #0x4e00
lri $IX1,    #0x3e30
lri $WR1,    #0x1fea
cw 0xd
call send_back  ; 8459 (0x210b)

lri $AR1,    #0x798c
lri $IX1,    #0xda86
lri $WR1,    #0x587c
cw 0xd
call send_back  ; 8460 (0x210c)

lri $AR1,    #0x6bba
lri $IX1,    #0x1b2c
lri $WR1,    #0x7b3a
cw 0xd
call send_back  ; 8461 (0x210d)

lri $AR1,    #0x46b9
lri $IX1,    #0x9db6
lri $WR1,    #0x9330
cw 0xd
call send_back  ; 8462 (0x210e)

lri $AR1,    #0xab31
lri $IX1,    #0x7ca2
lri $WR1,    #0x5450
cw 0xd
call send_back  ; 8463 (0x210f)

lri $AR1,    #0x73cf
lri $IX1,    #0x4bc2
lri $WR1,    #0xc2c1
cw 0xd
call send_back  ; 8464 (0x2110)

lri $AR1,    #0xdacd
lri $IX1,    #0x1a96
lri $WR1,    #0x5464
cw 0xd
call send_back  ; 8465 (0x2111)

lri $AR1,    #0x83ca
lri $IX1,    #0x694c
lri $WR1,    #0x6623
cw 0xd
call send_back  ; 8466 (0x2112)

lri $AR1,    #0x37bc
lri $IX1,    #0xecf0
lri $WR1,    #0x900e
cw 0xd
call send_back  ; 8467 (0x2113)

lri $AR1,    #0x685b
lri $IX1,    #0x0262
lri $WR1,    #0x58ed
cw 0xd
call send_back  ; 8468 (0x2114)

lri $AR1,    #0xabb8
lri $IX1,    #0xa780
lri $WR1,    #0xe333
cw 0xd
call send_back  ; 8469 (0x2115)

lri $AR1,    #0xb074
lri $IX1,    #0x9d54
lri $WR1,    #0xcb09
cw 0xd
call send_back  ; 8470 (0x2116)

lri $AR1,    #0x8e4c
lri $IX1,    #0xd584
lri $WR1,    #0x6e66
cw 0xd
call send_back  ; 8471 (0x2117)

lri $AR1,    #0x2e4e
lri $IX1,    #0x60f2
lri $WR1,    #0x9dd1
cw 0xd
call send_back  ; 8472 (0x2118)

lri $AR1,    #0xb19f
lri $IX1,    #0x9cb4
lri $WR1,    #0x9dd5
cw 0xd
call send_back  ; 8473 (0x2119)

lri $AR1,    #0x9cf2
lri $IX1,    #0x365a
lri $WR1,    #0x4ebf
cw 0xd
call send_back  ; 8474 (0x211a)

lri $AR1,    #0x82bd
lri $IX1,    #0xafc2
lri $WR1,    #0xa1af
cw 0xd
call send_back  ; 8475 (0x211b)

lri $AR1,    #0x4d40
lri $IX1,    #0x2e3c
lri $WR1,    #0x9792
cw 0xd
call send_back  ; 8476 (0x211c)

lri $AR1,    #0x855e
lri $IX1,    #0x786e
lri $WR1,    #0x400e
cw 0xd
call send_back  ; 8477 (0x211d)

lri $AR1,    #0xe277
lri $IX1,    #0xf1a4
lri $WR1,    #0x6bf8
cw 0xd
call send_back  ; 8478 (0x211e)

lri $AR1,    #0x732b
lri $IX1,    #0x0102
lri $WR1,    #0x685d
cw 0xd
call send_back  ; 8479 (0x211f)

lri $AR1,    #0xa63e
lri $IX1,    #0x8640
lri $WR1,    #0x7cb2
cw 0xd
call send_back  ; 8480 (0x2120)

lri $AR1,    #0x4689
lri $IX1,    #0xa564
lri $WR1,    #0x703d
cw 0xd
call send_back  ; 8481 (0x2121)

lri $AR1,    #0x7c2c
lri $IX1,    #0x2e2e
lri $WR1,    #0x683f
cw 0xd
call send_back  ; 8482 (0x2122)

lri $AR1,    #0x78e4
lri $IX1,    #0x1398
lri $WR1,    #0x61f6
cw 0xd
call send_back  ; 8483 (0x2123)

lri $AR1,    #0x7cce
lri $IX1,    #0xab38
lri $WR1,    #0xc105
cw 0xd
call send_back  ; 8484 (0x2124)

lri $AR1,    #0xbc6e
lri $IX1,    #0xa3c6
lri $WR1,    #0x4456
cw 0xd
call send_back  ; 8485 (0x2125)

lri $AR1,    #0xc034
lri $IX1,    #0xadaa
lri $WR1,    #0x90f7
cw 0xd
call send_back  ; 8486 (0x2126)

lri $AR1,    #0x7971
lri $IX1,    #0x8fcc
lri $WR1,    #0xc41d
cw 0xd
call send_back  ; 8487 (0x2127)

lri $AR1,    #0xdff0
lri $IX1,    #0xb692
lri $WR1,    #0x82be
cw 0xd
call send_back  ; 8488 (0x2128)

lri $AR1,    #0xd710
lri $IX1,    #0x123a
lri $WR1,    #0xa6e7
cw 0xd
call send_back  ; 8489 (0x2129)

lri $AR1,    #0xb8a8
lri $IX1,    #0x3586
lri $WR1,    #0x585d
cw 0xd
call send_back  ; 8490 (0x212a)

lri $AR1,    #0x9792
lri $IX1,    #0xf4e2
lri $WR1,    #0xef8c
cw 0xd
call send_back  ; 8491 (0x212b)

lri $AR1,    #0x7319
lri $IX1,    #0x29f6
lri $WR1,    #0x5760
cw 0xd
call send_back  ; 8492 (0x212c)

lri $AR1,    #0x902a
lri $IX1,    #0x96de
lri $WR1,    #0x1c14
cw 0xd
call send_back  ; 8493 (0x212d)

lri $AR1,    #0x5c9c
lri $IX1,    #0x0fe8
lri $WR1,    #0x5282
cw 0xd
call send_back  ; 8494 (0x212e)

lri $AR1,    #0x843f
lri $IX1,    #0xf214
lri $WR1,    #0xe513
cw 0xd
call send_back  ; 8495 (0x212f)

lri $AR1,    #0x1735
lri $IX1,    #0x6046
lri $WR1,    #0x78ce
cw 0xd
call send_back  ; 8496 (0x2130)

lri $AR1,    #0xac33
lri $IX1,    #0xa848
lri $WR1,    #0xe69b
cw 0xd
call send_back  ; 8497 (0x2131)

lri $AR1,    #0x2919
lri $IX1,    #0x6ca8
lri $WR1,    #0x9251
cw 0xd
call send_back  ; 8498 (0x2132)

lri $AR1,    #0xafaa
lri $IX1,    #0x9f96
lri $WR1,    #0x9a9b
cw 0xd
call send_back  ; 8499 (0x2133)

lri $AR1,    #0x73ae
lri $IX1,    #0xde98
lri $WR1,    #0xd23d
cw 0xd
call send_back  ; 8500 (0x2134)

lri $AR1,    #0x5b55
lri $IX1,    #0x3686
lri $WR1,    #0x8cd0
cw 0xd
call send_back  ; 8501 (0x2135)

lri $AR1,    #0x9a21
lri $IX1,    #0xa25e
lri $WR1,    #0x6690
cw 0xd
call send_back  ; 8502 (0x2136)

lri $AR1,    #0x5a39
lri $IX1,    #0x978e
lri $WR1,    #0xb027
cw 0xd
call send_back  ; 8503 (0x2137)

lri $AR1,    #0x5f61
lri $IX1,    #0x8540
lri $WR1,    #0xed3d
cw 0xd
call send_back  ; 8504 (0x2138)

lri $AR1,    #0xba76
lri $IX1,    #0x341e
lri $WR1,    #0xbda4
cw 0xd
call send_back  ; 8505 (0x2139)

lri $AR1,    #0x83af
lri $IX1,    #0x4f54
lri $WR1,    #0x76d7
cw 0xd
call send_back  ; 8506 (0x213a)

lri $AR1,    #0x858e
lri $IX1,    #0xef22
lri $WR1,    #0x84ce
cw 0xd
call send_back  ; 8507 (0x213b)

lri $AR1,    #0xa9a3
lri $IX1,    #0xa0c2
lri $WR1,    #0x3eb5
cw 0xd
call send_back  ; 8508 (0x213c)

lri $AR1,    #0x3430
lri $IX1,    #0xff0e
lri $WR1,    #0x9599
cw 0xd
call send_back  ; 8509 (0x213d)

lri $AR1,    #0xcab6
lri $IX1,    #0x5a90
lri $WR1,    #0xc09c
cw 0xd
call send_back  ; 8510 (0x213e)

lri $AR1,    #0xc57f
lri $IX1,    #0x0f6a
lri $WR1,    #0x2bc3
cw 0xd
call send_back  ; 8511 (0x213f)

lri $AR1,    #0x4344
lri $IX1,    #0xdae2
lri $WR1,    #0xd3e5
cw 0xd
call send_back  ; 8512 (0x2140)

lri $AR1,    #0x41d9
lri $IX1,    #0xa9ce
lri $WR1,    #0x43cc
cw 0xd
call send_back  ; 8513 (0x2141)

lri $AR1,    #0x7e1f
lri $IX1,    #0xd4cc
lri $WR1,    #0x7429
cw 0xd
call send_back  ; 8514 (0x2142)

lri $AR1,    #0x711f
lri $IX1,    #0x6e78
lri $WR1,    #0x414f
cw 0xd
call send_back  ; 8515 (0x2143)

lri $AR1,    #0xc78a
lri $IX1,    #0x0b94
lri $WR1,    #0x5f64
cw 0xd
call send_back  ; 8516 (0x2144)

lri $AR1,    #0x8c7d
lri $IX1,    #0x244c
lri $WR1,    #0x8ef4
cw 0xd
call send_back  ; 8517 (0x2145)

lri $AR1,    #0x4fcc
lri $IX1,    #0xb97e
lri $WR1,    #0xb1a1
cw 0xd
call send_back  ; 8518 (0x2146)

lri $AR1,    #0x33b4
lri $IX1,    #0x285a
lri $WR1,    #0x9fd3
cw 0xd
call send_back  ; 8519 (0x2147)

lri $AR1,    #0x6532
lri $IX1,    #0xea0c
lri $WR1,    #0x2621
cw 0xd
call send_back  ; 8520 (0x2148)

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