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

lri $AR1,    #0x80a7
lri $IX1,    #0xe786
lri $WR1,    #0x74d7
cw 0xd
call send_back  ; 53303 (0xd037)

lri $AR1,    #0x326a
lri $IX1,    #0xfae8
lri $WR1,    #0x911e
cw 0xd
call send_back  ; 53304 (0xd038)

lri $AR1,    #0x74cf
lri $IX1,    #0xf5e4
lri $WR1,    #0x8369
cw 0xd
call send_back  ; 53305 (0xd039)

lri $AR1,    #0x607b
lri $IX1,    #0x9750
lri $WR1,    #0x763b
cw 0xd
call send_back  ; 53306 (0xd03a)

lri $AR1,    #0xa810
lri $IX1,    #0xb0d2
lri $WR1,    #0x3955
cw 0xd
call send_back  ; 53307 (0xd03b)

lri $AR1,    #0x8f0e
lri $IX1,    #0x88ce
lri $WR1,    #0x8869
cw 0xd
call send_back  ; 53308 (0xd03c)

lri $AR1,    #0x1f57
lri $IX1,    #0xbd06
lri $WR1,    #0x5bcc
cw 0xd
call send_back  ; 53309 (0xd03d)

lri $AR1,    #0x99da
lri $IX1,    #0xa4a8
lri $WR1,    #0x66ab
cw 0xd
call send_back  ; 53310 (0xd03e)

lri $AR1,    #0x2206
lri $IX1,    #0x5042
lri $WR1,    #0x87d0
cw 0xd
call send_back  ; 53311 (0xd03f)

lri $AR1,    #0x1b7e
lri $IX1,    #0xf942
lri $WR1,    #0x579b
cw 0xd
call send_back  ; 53312 (0xd040)

lri $AR1,    #0xfcbd
lri $IX1,    #0xda66
lri $WR1,    #0x871e
cw 0xd
call send_back  ; 53313 (0xd041)

lri $AR1,    #0x590b
lri $IX1,    #0xe5f0
lri $WR1,    #0x5211
cw 0xd
call send_back  ; 53314 (0xd042)

lri $AR1,    #0x779a
lri $IX1,    #0x7dea
lri $WR1,    #0xb693
cw 0xd
call send_back  ; 53315 (0xd043)

lri $AR1,    #0x5505
lri $IX1,    #0x163a
lri $WR1,    #0x5b4b
cw 0xd
call send_back  ; 53316 (0xd044)

lri $AR1,    #0x480d
lri $IX1,    #0x5ff4
lri $WR1,    #0x6614
cw 0xd
call send_back  ; 53317 (0xd045)

lri $AR1,    #0x91f1
lri $IX1,    #0x28a0
lri $WR1,    #0xe294
cw 0xd
call send_back  ; 53318 (0xd046)

lri $AR1,    #0xc614
lri $IX1,    #0x57d4
lri $WR1,    #0x99fc
cw 0xd
call send_back  ; 53319 (0xd047)

lri $AR1,    #0x8c5d
lri $IX1,    #0x48e6
lri $WR1,    #0x426b
cw 0xd
call send_back  ; 53320 (0xd048)

lri $AR1,    #0x2d0d
lri $IX1,    #0x0614
lri $WR1,    #0x15fd
cw 0xd
call send_back  ; 53321 (0xd049)

lri $AR1,    #0x7466
lri $IX1,    #0x85e0
lri $WR1,    #0x8f2e
cw 0xd
call send_back  ; 53322 (0xd04a)

lri $AR1,    #0xaff5
lri $IX1,    #0xdb00
lri $WR1,    #0x9988
cw 0xd
call send_back  ; 53323 (0xd04b)

lri $AR1,    #0x2ebf
lri $IX1,    #0x2ab0
lri $WR1,    #0xdb3f
cw 0xd
call send_back  ; 53324 (0xd04c)

lri $AR1,    #0x2937
lri $IX1,    #0x14a8
lri $WR1,    #0x35bb
cw 0xd
call send_back  ; 53325 (0xd04d)

lri $AR1,    #0xa53c
lri $IX1,    #0xe396
lri $WR1,    #0x98b0
cw 0xd
call send_back  ; 53326 (0xd04e)

lri $AR1,    #0xadf3
lri $IX1,    #0x3c6a
lri $WR1,    #0xa4c5
cw 0xd
call send_back  ; 53327 (0xd04f)

lri $AR1,    #0x6ed8
lri $IX1,    #0xf636
lri $WR1,    #0xc068
cw 0xd
call send_back  ; 53328 (0xd050)

lri $AR1,    #0x4cc2
lri $IX1,    #0x2c02
lri $WR1,    #0x8ace
cw 0xd
call send_back  ; 53329 (0xd051)

lri $AR1,    #0x573d
lri $IX1,    #0x5560
lri $WR1,    #0xe6c9
cw 0xd
call send_back  ; 53330 (0xd052)

lri $AR1,    #0x4000
lri $IX1,    #0x2206
lri $WR1,    #0x885f
cw 0xd
call send_back  ; 53331 (0xd053)

lri $AR1,    #0x4dce
lri $IX1,    #0xd852
lri $WR1,    #0x65dc
cw 0xd
call send_back  ; 53332 (0xd054)

lri $AR1,    #0x5b98
lri $IX1,    #0xedf4
lri $WR1,    #0x864a
cw 0xd
call send_back  ; 53333 (0xd055)

lri $AR1,    #0xc42c
lri $IX1,    #0x5d8e
lri $WR1,    #0x44f9
cw 0xd
call send_back  ; 53334 (0xd056)

lri $AR1,    #0x7e45
lri $IX1,    #0xbbba
lri $WR1,    #0x2315
cw 0xd
call send_back  ; 53335 (0xd057)

lri $AR1,    #0x8440
lri $IX1,    #0x2114
lri $WR1,    #0x85ec
cw 0xd
call send_back  ; 53336 (0xd058)

lri $AR1,    #0xce5e
lri $IX1,    #0x86c2
lri $WR1,    #0xa9dd
cw 0xd
call send_back  ; 53337 (0xd059)

lri $AR1,    #0x85c3
lri $IX1,    #0x0e30
lri $WR1,    #0x7f9d
cw 0xd
call send_back  ; 53338 (0xd05a)

lri $AR1,    #0x8a20
lri $IX1,    #0xbc6c
lri $WR1,    #0x7ac1
cw 0xd
call send_back  ; 53339 (0xd05b)

lri $AR1,    #0xcb45
lri $IX1,    #0x54c4
lri $WR1,    #0x6e3d
cw 0xd
call send_back  ; 53340 (0xd05c)

lri $AR1,    #0x3370
lri $IX1,    #0x162a
lri $WR1,    #0x4ccc
cw 0xd
call send_back  ; 53341 (0xd05d)

lri $AR1,    #0x4eb4
lri $IX1,    #0x0a0a
lri $WR1,    #0x60e7
cw 0xd
call send_back  ; 53342 (0xd05e)

lri $AR1,    #0x5f2b
lri $IX1,    #0x32f6
lri $WR1,    #0x3155
cw 0xd
call send_back  ; 53343 (0xd05f)

lri $AR1,    #0x8569
lri $IX1,    #0x1ce2
lri $WR1,    #0x2cd0
cw 0xd
call send_back  ; 53344 (0xd060)

lri $AR1,    #0x6fe4
lri $IX1,    #0xf864
lri $WR1,    #0x40f3
cw 0xd
call send_back  ; 53345 (0xd061)

lri $AR1,    #0x83aa
lri $IX1,    #0x6596
lri $WR1,    #0x0de5
cw 0xd
call send_back  ; 53346 (0xd062)

lri $AR1,    #0x8435
lri $IX1,    #0x4326
lri $WR1,    #0xd9da
cw 0xd
call send_back  ; 53347 (0xd063)

lri $AR1,    #0x47b4
lri $IX1,    #0x1926
lri $WR1,    #0x1cfb
cw 0xd
call send_back  ; 53348 (0xd064)

lri $AR1,    #0xe084
lri $IX1,    #0xef1c
lri $WR1,    #0x57c9
cw 0xd
call send_back  ; 53349 (0xd065)

lri $AR1,    #0x3445
lri $IX1,    #0x680a
lri $WR1,    #0xc377
cw 0xd
call send_back  ; 53350 (0xd066)

lri $AR1,    #0x9c47
lri $IX1,    #0xbecc
lri $WR1,    #0x2d70
cw 0xd
call send_back  ; 53351 (0xd067)

lri $AR1,    #0xc2a4
lri $IX1,    #0x9082
lri $WR1,    #0x546f
cw 0xd
call send_back  ; 53352 (0xd068)

lri $AR1,    #0xdad4
lri $IX1,    #0x2a7a
lri $WR1,    #0xc75a
cw 0xd
call send_back  ; 53353 (0xd069)

lri $AR1,    #0x7422
lri $IX1,    #0x2c52
lri $WR1,    #0x735a
cw 0xd
call send_back  ; 53354 (0xd06a)

lri $AR1,    #0x57a2
lri $IX1,    #0x9ea6
lri $WR1,    #0xa051
cw 0xd
call send_back  ; 53355 (0xd06b)

lri $AR1,    #0x8b2e
lri $IX1,    #0x021c
lri $WR1,    #0x7032
cw 0xd
call send_back  ; 53356 (0xd06c)

lri $AR1,    #0x8e13
lri $IX1,    #0x321c
lri $WR1,    #0x6f4c
cw 0xd
call send_back  ; 53357 (0xd06d)

lri $AR1,    #0x93d2
lri $IX1,    #0x2212
lri $WR1,    #0x4121
cw 0xd
call send_back  ; 53358 (0xd06e)

lri $AR1,    #0x44bd
lri $IX1,    #0x5b72
lri $WR1,    #0x56cf
cw 0xd
call send_back  ; 53359 (0xd06f)

lri $AR1,    #0x43c1
lri $IX1,    #0x9654
lri $WR1,    #0x41a4
cw 0xd
call send_back  ; 53360 (0xd070)

lri $AR1,    #0x4432
lri $IX1,    #0xae18
lri $WR1,    #0x7ddc
cw 0xd
call send_back  ; 53361 (0xd071)

lri $AR1,    #0xb9df
lri $IX1,    #0x6ea8
lri $WR1,    #0xdf36
cw 0xd
call send_back  ; 53362 (0xd072)

lri $AR1,    #0x8148
lri $IX1,    #0x26de
lri $WR1,    #0x7a53
cw 0xd
call send_back  ; 53363 (0xd073)

lri $AR1,    #0xa545
lri $IX1,    #0x6fc4
lri $WR1,    #0x5b7a
cw 0xd
call send_back  ; 53364 (0xd074)

lri $AR1,    #0x82e0
lri $IX1,    #0x0ffc
lri $WR1,    #0x74df
cw 0xd
call send_back  ; 53365 (0xd075)

lri $AR1,    #0x5bcc
lri $IX1,    #0x2e24
lri $WR1,    #0x4bde
cw 0xd
call send_back  ; 53366 (0xd076)

lri $AR1,    #0xcb2d
lri $IX1,    #0x0498
lri $WR1,    #0x6e5d
cw 0xd
call send_back  ; 53367 (0xd077)

lri $AR1,    #0xe816
lri $IX1,    #0xdc3e
lri $WR1,    #0x7ec7
cw 0xd
call send_back  ; 53368 (0xd078)

lri $AR1,    #0x8c7f
lri $IX1,    #0x1bce
lri $WR1,    #0x8ec3
cw 0xd
call send_back  ; 53369 (0xd079)

lri $AR1,    #0x9713
lri $IX1,    #0x9456
lri $WR1,    #0x6e35
cw 0xd
call send_back  ; 53370 (0xd07a)

lri $AR1,    #0x718b
lri $IX1,    #0xc33e
lri $WR1,    #0x6588
cw 0xd
call send_back  ; 53371 (0xd07b)

lri $AR1,    #0x0d0b
lri $IX1,    #0x65c6
lri $WR1,    #0x67ef
cw 0xd
call send_back  ; 53372 (0xd07c)

lri $AR1,    #0xc12e
lri $IX1,    #0x510e
lri $WR1,    #0x838d
cw 0xd
call send_back  ; 53373 (0xd07d)

lri $AR1,    #0x6a25
lri $IX1,    #0xedc0
lri $WR1,    #0x932b
cw 0xd
call send_back  ; 53374 (0xd07e)

lri $AR1,    #0xa5ba
lri $IX1,    #0xd570
lri $WR1,    #0xd683
cw 0xd
call send_back  ; 53375 (0xd07f)

lri $AR1,    #0x8673
lri $IX1,    #0xc39e
lri $WR1,    #0x7bb2
cw 0xd
call send_back  ; 53376 (0xd080)

lri $AR1,    #0xdfbe
lri $IX1,    #0x33b0
lri $WR1,    #0xadd9
cw 0xd
call send_back  ; 53377 (0xd081)

lri $AR1,    #0x4d6f
lri $IX1,    #0x80a0
lri $WR1,    #0x4a8d
cw 0xd
call send_back  ; 53378 (0xd082)

lri $AR1,    #0xac4b
lri $IX1,    #0x0abc
lri $WR1,    #0x511a
cw 0xd
call send_back  ; 53379 (0xd083)

lri $AR1,    #0x4112
lri $IX1,    #0xab3e
lri $WR1,    #0x5429
cw 0xd
call send_back  ; 53380 (0xd084)

lri $AR1,    #0x26bd
lri $IX1,    #0x7524
lri $WR1,    #0x8fde
cw 0xd
call send_back  ; 53381 (0xd085)

lri $AR1,    #0xac51
lri $IX1,    #0x4dea
lri $WR1,    #0xa400
cw 0xd
call send_back  ; 53382 (0xd086)

lri $AR1,    #0x6e06
lri $IX1,    #0x28ac
lri $WR1,    #0xb32c
cw 0xd
call send_back  ; 53383 (0xd087)

lri $AR1,    #0x8d28
lri $IX1,    #0x8158
lri $WR1,    #0x2dc1
cw 0xd
call send_back  ; 53384 (0xd088)

lri $AR1,    #0x5570
lri $IX1,    #0xfd4e
lri $WR1,    #0x3868
cw 0xd
call send_back  ; 53385 (0xd089)

lri $AR1,    #0x3e26
lri $IX1,    #0xb24a
lri $WR1,    #0x4bfc
cw 0xd
call send_back  ; 53386 (0xd08a)

lri $AR1,    #0x68eb
lri $IX1,    #0x63c4
lri $WR1,    #0xbdb4
cw 0xd
call send_back  ; 53387 (0xd08b)

lri $AR1,    #0xe76c
lri $IX1,    #0xead2
lri $WR1,    #0xb442
cw 0xd
call send_back  ; 53388 (0xd08c)

lri $AR1,    #0x8cd2
lri $IX1,    #0xd390
lri $WR1,    #0x07dd
cw 0xd
call send_back  ; 53389 (0xd08d)

lri $AR1,    #0xbf3f
lri $IX1,    #0xe722
lri $WR1,    #0x88d7
cw 0xd
call send_back  ; 53390 (0xd08e)

lri $AR1,    #0x8133
lri $IX1,    #0xb880
lri $WR1,    #0x89c3
cw 0xd
call send_back  ; 53391 (0xd08f)

lri $AR1,    #0xa20b
lri $IX1,    #0x3dce
lri $WR1,    #0x2fcd
cw 0xd
call send_back  ; 53392 (0xd090)

lri $AR1,    #0x9097
lri $IX1,    #0xe7bc
lri $WR1,    #0xd53b
cw 0xd
call send_back  ; 53393 (0xd091)

lri $AR1,    #0x89e9
lri $IX1,    #0x6392
lri $WR1,    #0x97ba
cw 0xd
call send_back  ; 53394 (0xd092)

lri $AR1,    #0xb24d
lri $IX1,    #0x244e
lri $WR1,    #0xdd80
cw 0xd
call send_back  ; 53395 (0xd093)

lri $AR1,    #0x6dab
lri $IX1,    #0xd2a2
lri $WR1,    #0x91d6
cw 0xd
call send_back  ; 53396 (0xd094)

lri $AR1,    #0x682c
lri $IX1,    #0xbb24
lri $WR1,    #0xf316
cw 0xd
call send_back  ; 53397 (0xd095)

lri $AR1,    #0x8f64
lri $IX1,    #0x1d6c
lri $WR1,    #0x69a9
cw 0xd
call send_back  ; 53398 (0xd096)

lri $AR1,    #0x9fe1
lri $IX1,    #0xbe9c
lri $WR1,    #0x612f
cw 0xd
call send_back  ; 53399 (0xd097)

lri $AR1,    #0xc26b
lri $IX1,    #0x34e2
lri $WR1,    #0x622f
cw 0xd
call send_back  ; 53400 (0xd098)

lri $AR1,    #0x5fb5
lri $IX1,    #0xe98a
lri $WR1,    #0x949a
cw 0xd
call send_back  ; 53401 (0xd099)

lri $AR1,    #0x30ea
lri $IX1,    #0xaa3e
lri $WR1,    #0xc081
cw 0xd
call send_back  ; 53402 (0xd09a)

lri $AR1,    #0x86d2
lri $IX1,    #0xb1c8
lri $WR1,    #0x3427
cw 0xd
call send_back  ; 53403 (0xd09b)

lri $AR1,    #0x28e1
lri $IX1,    #0x3452
lri $WR1,    #0x8bfe
cw 0xd
call send_back  ; 53404 (0xd09c)

lri $AR1,    #0x690e
lri $IX1,    #0x9232
lri $WR1,    #0x928f
cw 0xd
call send_back  ; 53405 (0xd09d)

lri $AR1,    #0x78af
lri $IX1,    #0x404a
lri $WR1,    #0x2bf3
cw 0xd
call send_back  ; 53406 (0xd09e)

lri $AR1,    #0x8e35
lri $IX1,    #0x1432
lri $WR1,    #0x61dc
cw 0xd
call send_back  ; 53407 (0xd09f)

lri $AR1,    #0x631c
lri $IX1,    #0xd5f4
lri $WR1,    #0x8ac3
cw 0xd
call send_back  ; 53408 (0xd0a0)

lri $AR1,    #0xdccc
lri $IX1,    #0xa0cc
lri $WR1,    #0x9051
cw 0xd
call send_back  ; 53409 (0xd0a1)

lri $AR1,    #0xb2dc
lri $IX1,    #0x978e
lri $WR1,    #0xe68c
cw 0xd
call send_back  ; 53410 (0xd0a2)

lri $AR1,    #0x785c
lri $IX1,    #0xa126
lri $WR1,    #0xb6d4
cw 0xd
call send_back  ; 53411 (0xd0a3)

lri $AR1,    #0x75a1
lri $IX1,    #0x2502
lri $WR1,    #0x7753
cw 0xd
call send_back  ; 53412 (0xd0a4)

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