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

lri $AR1,    #0xa660
lri $IX1,    #0x31a0
lri $WR1,    #0x9c83
cw 0x15
call send_back  ; 33315 (0x8223)

lri $AR1,    #0xdb42
lri $IX1,    #0x218e
lri $WR1,    #0xd5fd
cw 0x15
call send_back  ; 33316 (0x8224)

lri $AR1,    #0x1853
lri $IX1,    #0xb64a
lri $WR1,    #0x6ef3
cw 0x15
call send_back  ; 33317 (0x8225)

lri $AR1,    #0x5619
lri $IX1,    #0xde9c
lri $WR1,    #0x59ef
cw 0x15
call send_back  ; 33318 (0x8226)

lri $AR1,    #0x7a41
lri $IX1,    #0xcc7c
lri $WR1,    #0x8edd
cw 0x15
call send_back  ; 33319 (0x8227)

lri $AR1,    #0x8b2c
lri $IX1,    #0xa030
lri $WR1,    #0x48a9
cw 0x15
call send_back  ; 33320 (0x8228)

lri $AR1,    #0x3b0f
lri $IX1,    #0xb3e0
lri $WR1,    #0xb09c
cw 0x15
call send_back  ; 33321 (0x8229)

lri $AR1,    #0x28de
lri $IX1,    #0x16f4
lri $WR1,    #0xc4f1
cw 0x15
call send_back  ; 33322 (0x822a)

lri $AR1,    #0x68c5
lri $IX1,    #0x78e6
lri $WR1,    #0xd9cd
cw 0x15
call send_back  ; 33323 (0x822b)

lri $AR1,    #0x8dab
lri $IX1,    #0x5fb8
lri $WR1,    #0x6912
cw 0x15
call send_back  ; 33324 (0x822c)

lri $AR1,    #0x6856
lri $IX1,    #0x2eb4
lri $WR1,    #0x5f33
cw 0x15
call send_back  ; 33325 (0x822d)

lri $AR1,    #0xe0b0
lri $IX1,    #0x56b6
lri $WR1,    #0x9084
cw 0x15
call send_back  ; 33326 (0x822e)

lri $AR1,    #0x90e7
lri $IX1,    #0x29a4
lri $WR1,    #0x6426
cw 0x15
call send_back  ; 33327 (0x822f)

lri $AR1,    #0x81b0
lri $IX1,    #0x5744
lri $WR1,    #0xe715
cw 0x15
call send_back  ; 33328 (0x8230)

lri $AR1,    #0x729a
lri $IX1,    #0x3234
lri $WR1,    #0x4374
cw 0x15
call send_back  ; 33329 (0x8231)

lri $AR1,    #0x589d
lri $IX1,    #0xa00a
lri $WR1,    #0xe592
cw 0x15
call send_back  ; 33330 (0x8232)

lri $AR1,    #0x90d5
lri $IX1,    #0x2884
lri $WR1,    #0x49cf
cw 0x15
call send_back  ; 33331 (0x8233)

lri $AR1,    #0x8ca0
lri $IX1,    #0x13be
lri $WR1,    #0xe3ea
cw 0x15
call send_back  ; 33332 (0x8234)

lri $AR1,    #0x5808
lri $IX1,    #0x104e
lri $WR1,    #0x29b4
cw 0x15
call send_back  ; 33333 (0x8235)

lri $AR1,    #0xaaa5
lri $IX1,    #0x8e5a
lri $WR1,    #0x68dd
cw 0x15
call send_back  ; 33334 (0x8236)

lri $AR1,    #0x16f7
lri $IX1,    #0xfd5c
lri $WR1,    #0x90cd
cw 0x15
call send_back  ; 33335 (0x8237)

lri $AR1,    #0x435b
lri $IX1,    #0x86d4
lri $WR1,    #0x5f1f
cw 0x15
call send_back  ; 33336 (0x8238)

lri $AR1,    #0x4383
lri $IX1,    #0xd87e
lri $WR1,    #0x46e0
cw 0x15
call send_back  ; 33337 (0x8239)

lri $AR1,    #0x88c3
lri $IX1,    #0x3558
lri $WR1,    #0x5802
cw 0x15
call send_back  ; 33338 (0x823a)

lri $AR1,    #0x52ef
lri $IX1,    #0x750a
lri $WR1,    #0xbe36
cw 0x15
call send_back  ; 33339 (0x823b)

lri $AR1,    #0x7335
lri $IX1,    #0xf5fe
lri $WR1,    #0x839d
cw 0x15
call send_back  ; 33340 (0x823c)

lri $AR1,    #0x6daa
lri $IX1,    #0xeec6
lri $WR1,    #0x7d7e
cw 0x15
call send_back  ; 33341 (0x823d)

lri $AR1,    #0xf5e9
lri $IX1,    #0x2002
lri $WR1,    #0x8675
cw 0x15
call send_back  ; 33342 (0x823e)

lri $AR1,    #0x4694
lri $IX1,    #0xc872
lri $WR1,    #0x4b3c
cw 0x15
call send_back  ; 33343 (0x823f)

lri $AR1,    #0x4afd
lri $IX1,    #0x097c
lri $WR1,    #0x54a3
cw 0x15
call send_back  ; 33344 (0x8240)

lri $AR1,    #0xddce
lri $IX1,    #0xc2ae
lri $WR1,    #0x82ab
cw 0x15
call send_back  ; 33345 (0x8241)

lri $AR1,    #0x5f01
lri $IX1,    #0x6f98
lri $WR1,    #0x3a7f
cw 0x15
call send_back  ; 33346 (0x8242)

lri $AR1,    #0x76f7
lri $IX1,    #0xe382
lri $WR1,    #0x7a29
cw 0x15
call send_back  ; 33347 (0x8243)

lri $AR1,    #0x63fa
lri $IX1,    #0xfb54
lri $WR1,    #0x3ac6
cw 0x15
call send_back  ; 33348 (0x8244)

lri $AR1,    #0x8afd
lri $IX1,    #0xa64a
lri $WR1,    #0x631d
cw 0x15
call send_back  ; 33349 (0x8245)

lri $AR1,    #0x93ee
lri $IX1,    #0x1aac
lri $WR1,    #0x6a44
cw 0x15
call send_back  ; 33350 (0x8246)

lri $AR1,    #0x7d60
lri $IX1,    #0xcc32
lri $WR1,    #0x8b5e
cw 0x15
call send_back  ; 33351 (0x8247)

lri $AR1,    #0xaaea
lri $IX1,    #0xe658
lri $WR1,    #0x70f8
cw 0x15
call send_back  ; 33352 (0x8248)

lri $AR1,    #0x5cfc
lri $IX1,    #0xc532
lri $WR1,    #0x6820
cw 0x15
call send_back  ; 33353 (0x8249)

lri $AR1,    #0x208a
lri $IX1,    #0x4c0c
lri $WR1,    #0xd8c0
cw 0x15
call send_back  ; 33354 (0x824a)

lri $AR1,    #0x7850
lri $IX1,    #0x297e
lri $WR1,    #0x5255
cw 0x15
call send_back  ; 33355 (0x824b)

lri $AR1,    #0x2903
lri $IX1,    #0x3520
lri $WR1,    #0xd180
cw 0x15
call send_back  ; 33356 (0x824c)

lri $AR1,    #0x8d45
lri $IX1,    #0x3b88
lri $WR1,    #0x5c9a
cw 0x15
call send_back  ; 33357 (0x824d)

lri $AR1,    #0x85a7
lri $IX1,    #0xe1d6
lri $WR1,    #0x92c6
cw 0x15
call send_back  ; 33358 (0x824e)

lri $AR1,    #0x5c7d
lri $IX1,    #0xea6e
lri $WR1,    #0xaa9d
cw 0x15
call send_back  ; 33359 (0x824f)

lri $AR1,    #0xacf2
lri $IX1,    #0x310a
lri $WR1,    #0x82fb
cw 0x15
call send_back  ; 33360 (0x8250)

lri $AR1,    #0x680f
lri $IX1,    #0x4cf6
lri $WR1,    #0xb208
cw 0x15
call send_back  ; 33361 (0x8251)

lri $AR1,    #0x520f
lri $IX1,    #0x0c6e
lri $WR1,    #0x4c02
cw 0x15
call send_back  ; 33362 (0x8252)

lri $AR1,    #0xa5da
lri $IX1,    #0x0d0c
lri $WR1,    #0xcce2
cw 0x15
call send_back  ; 33363 (0x8253)

lri $AR1,    #0xd3e0
lri $IX1,    #0xb140
lri $WR1,    #0x8563
cw 0x15
call send_back  ; 33364 (0x8254)

lri $AR1,    #0x6d44
lri $IX1,    #0xbbae
lri $WR1,    #0x857f
cw 0x15
call send_back  ; 33365 (0x8255)

lri $AR1,    #0x9b85
lri $IX1,    #0x0d80
lri $WR1,    #0x1bf5
cw 0x15
call send_back  ; 33366 (0x8256)

lri $AR1,    #0xe88c
lri $IX1,    #0x8570
lri $WR1,    #0x83e3
cw 0x15
call send_back  ; 33367 (0x8257)

lri $AR1,    #0x7269
lri $IX1,    #0xe9ae
lri $WR1,    #0x9f05
cw 0x15
call send_back  ; 33368 (0x8258)

lri $AR1,    #0x5189
lri $IX1,    #0x3f6a
lri $WR1,    #0x84ad
cw 0x15
call send_back  ; 33369 (0x8259)

lri $AR1,    #0x57c3
lri $IX1,    #0x16fe
lri $WR1,    #0x9afc
cw 0x15
call send_back  ; 33370 (0x825a)

lri $AR1,    #0xc1f7
lri $IX1,    #0x44b6
lri $WR1,    #0xc17b
cw 0x15
call send_back  ; 33371 (0x825b)

lri $AR1,    #0xdda4
lri $IX1,    #0x5a10
lri $WR1,    #0xa98a
cw 0x15
call send_back  ; 33372 (0x825c)

lri $AR1,    #0xdf3b
lri $IX1,    #0x1c6a
lri $WR1,    #0x32d6
cw 0x15
call send_back  ; 33373 (0x825d)

lri $AR1,    #0x957b
lri $IX1,    #0x4a26
lri $WR1,    #0x5f4a
cw 0x15
call send_back  ; 33374 (0x825e)

lri $AR1,    #0xa9b1
lri $IX1,    #0x6006
lri $WR1,    #0x1399
cw 0x15
call send_back  ; 33375 (0x825f)

lri $AR1,    #0x9420
lri $IX1,    #0xdce4
lri $WR1,    #0x3ef0
cw 0x15
call send_back  ; 33376 (0x8260)

lri $AR1,    #0x376d
lri $IX1,    #0xda7a
lri $WR1,    #0x8dd8
cw 0x15
call send_back  ; 33377 (0x8261)

lri $AR1,    #0x9558
lri $IX1,    #0xd67a
lri $WR1,    #0x59ea
cw 0x15
call send_back  ; 33378 (0x8262)

lri $AR1,    #0xa28a
lri $IX1,    #0x578e
lri $WR1,    #0x7948
cw 0x15
call send_back  ; 33379 (0x8263)

lri $AR1,    #0xc6e1
lri $IX1,    #0xd670
lri $WR1,    #0xc68e
cw 0x15
call send_back  ; 33380 (0x8264)

lri $AR1,    #0x72ec
lri $IX1,    #0x1bea
lri $WR1,    #0x1329
cw 0x15
call send_back  ; 33381 (0x8265)

lri $AR1,    #0x42fb
lri $IX1,    #0x38c8
lri $WR1,    #0x93bf
cw 0x15
call send_back  ; 33382 (0x8266)

lri $AR1,    #0xcb8b
lri $IX1,    #0x7d82
lri $WR1,    #0x97aa
cw 0x15
call send_back  ; 33383 (0x8267)

lri $AR1,    #0x4267
lri $IX1,    #0x83c6
lri $WR1,    #0x6215
cw 0x15
call send_back  ; 33384 (0x8268)

lri $AR1,    #0xa33c
lri $IX1,    #0x9494
lri $WR1,    #0xa4d5
cw 0x15
call send_back  ; 33385 (0x8269)

lri $AR1,    #0x8dfe
lri $IX1,    #0x9a20
lri $WR1,    #0xca85
cw 0x15
call send_back  ; 33386 (0x826a)

lri $AR1,    #0x50f4
lri $IX1,    #0x7d20
lri $WR1,    #0xcef7
cw 0x15
call send_back  ; 33387 (0x826b)

lri $AR1,    #0xb7a9
lri $IX1,    #0x69bc
lri $WR1,    #0xba8b
cw 0x15
call send_back  ; 33388 (0x826c)

lri $AR1,    #0x3399
lri $IX1,    #0x20dc
lri $WR1,    #0x4e82
cw 0x15
call send_back  ; 33389 (0x826d)

lri $AR1,    #0xa2f5
lri $IX1,    #0x4ee2
lri $WR1,    #0x6dcf
cw 0x15
call send_back  ; 33390 (0x826e)

lri $AR1,    #0xbd3f
lri $IX1,    #0x01ae
lri $WR1,    #0x2f7f
cw 0x15
call send_back  ; 33391 (0x826f)

lri $AR1,    #0x6514
lri $IX1,    #0xe3f4
lri $WR1,    #0xad4f
cw 0x15
call send_back  ; 33392 (0x8270)

lri $AR1,    #0xa9f8
lri $IX1,    #0xfca8
lri $WR1,    #0x6a6d
cw 0x15
call send_back  ; 33393 (0x8271)

lri $AR1,    #0x8469
lri $IX1,    #0x75ae
lri $WR1,    #0x7c08
cw 0x15
call send_back  ; 33394 (0x8272)

lri $AR1,    #0xaa1a
lri $IX1,    #0x7d7a
lri $WR1,    #0x4ead
cw 0x15
call send_back  ; 33395 (0x8273)

lri $AR1,    #0x9f8e
lri $IX1,    #0xd3d6
lri $WR1,    #0x5919
cw 0x15
call send_back  ; 33396 (0x8274)

lri $AR1,    #0x4804
lri $IX1,    #0x1a6e
lri $WR1,    #0x266b
cw 0x15
call send_back  ; 33397 (0x8275)

lri $AR1,    #0x83dd
lri $IX1,    #0xb672
lri $WR1,    #0x3f72
cw 0x15
call send_back  ; 33398 (0x8276)

lri $AR1,    #0x516d
lri $IX1,    #0x10da
lri $WR1,    #0x7c03
cw 0x15
call send_back  ; 33399 (0x8277)

lri $AR1,    #0x3b77
lri $IX1,    #0x6f8e
lri $WR1,    #0x8af8
cw 0x15
call send_back  ; 33400 (0x8278)

lri $AR1,    #0x8c23
lri $IX1,    #0x9a24
lri $WR1,    #0x68ea
cw 0x15
call send_back  ; 33401 (0x8279)

lri $AR1,    #0x9acb
lri $IX1,    #0x2162
lri $WR1,    #0x6b2b
cw 0x15
call send_back  ; 33402 (0x827a)

lri $AR1,    #0x7e5a
lri $IX1,    #0x912c
lri $WR1,    #0x5618
cw 0x15
call send_back  ; 33403 (0x827b)

lri $AR1,    #0x55a3
lri $IX1,    #0x3116
lri $WR1,    #0x8b53
cw 0x15
call send_back  ; 33404 (0x827c)

lri $AR1,    #0x1270
lri $IX1,    #0x604e
lri $WR1,    #0x15ef
cw 0x15
call send_back  ; 33405 (0x827d)

lri $AR1,    #0xa3a5
lri $IX1,    #0x2df8
lri $WR1,    #0x1824
cw 0x15
call send_back  ; 33406 (0x827e)

lri $AR1,    #0x5e38
lri $IX1,    #0xafd4
lri $WR1,    #0x3f9f
cw 0x15
call send_back  ; 33407 (0x827f)

lri $AR1,    #0x7c61
lri $IX1,    #0xe530
lri $WR1,    #0x4aea
cw 0x15
call send_back  ; 33408 (0x8280)

lri $AR1,    #0x55bf
lri $IX1,    #0xccf4
lri $WR1,    #0x3417
cw 0x15
call send_back  ; 33409 (0x8281)

lri $AR1,    #0x72d5
lri $IX1,    #0xd9fa
lri $WR1,    #0xa22b
cw 0x15
call send_back  ; 33410 (0x8282)

lri $AR1,    #0xb198
lri $IX1,    #0x4142
lri $WR1,    #0xb461
cw 0x15
call send_back  ; 33411 (0x8283)

lri $AR1,    #0x3877
lri $IX1,    #0xda60
lri $WR1,    #0x6fd4
cw 0x15
call send_back  ; 33412 (0x8284)

lri $AR1,    #0xd09e
lri $IX1,    #0x92aa
lri $WR1,    #0x7196
cw 0x15
call send_back  ; 33413 (0x8285)

lri $AR1,    #0x4fbe
lri $IX1,    #0xe870
lri $WR1,    #0x64e0
cw 0x15
call send_back  ; 33414 (0x8286)

lri $AR1,    #0x5d41
lri $IX1,    #0xa3ea
lri $WR1,    #0x7e3e
cw 0x15
call send_back  ; 33415 (0x8287)

lri $AR1,    #0x7625
lri $IX1,    #0x2ff8
lri $WR1,    #0xc27f
cw 0x15
call send_back  ; 33416 (0x8288)

lri $AR1,    #0x7e4f
lri $IX1,    #0xad88
lri $WR1,    #0x893b
cw 0x15
call send_back  ; 33417 (0x8289)

lri $AR1,    #0xcdba
lri $IX1,    #0x40b2
lri $WR1,    #0x58bf
cw 0x15
call send_back  ; 33418 (0x828a)

lri $AR1,    #0xdb35
lri $IX1,    #0x474a
lri $WR1,    #0x4a32
cw 0x15
call send_back  ; 33419 (0x828b)

lri $AR1,    #0xce20
lri $IX1,    #0x450e
lri $WR1,    #0x7ab3
cw 0x15
call send_back  ; 33420 (0x828c)

lri $AR1,    #0xbbd0
lri $IX1,    #0x7a30
lri $WR1,    #0x876c
cw 0x15
call send_back  ; 33421 (0x828d)

lri $AR1,    #0x851b
lri $IX1,    #0x6d5a
lri $WR1,    #0x901c
cw 0x15
call send_back  ; 33422 (0x828e)

lri $AR1,    #0x8bac
lri $IX1,    #0x52e8
lri $WR1,    #0x9d4a
cw 0x15
call send_back  ; 33423 (0x828f)

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