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

lri $AR1,    #0x825c
lri $IX1,    #0x0408
lri $WR1,    #0x78ed
cw 0x15
call send_back  ; 2404 (0x0964)

lri $AR1,    #0xb28d
lri $IX1,    #0x57e6
lri $WR1,    #0x78f4
cw 0x15
call send_back  ; 2405 (0x0965)

lri $AR1,    #0xd799
lri $IX1,    #0xd598
lri $WR1,    #0x9a4a
cw 0x15
call send_back  ; 2406 (0x0966)

lri $AR1,    #0x7166
lri $IX1,    #0x76f2
lri $WR1,    #0x3851
cw 0x15
call send_back  ; 2407 (0x0967)

lri $AR1,    #0xd0e7
lri $IX1,    #0x5134
lri $WR1,    #0x98f9
cw 0x15
call send_back  ; 2408 (0x0968)

lri $AR1,    #0x86ae
lri $IX1,    #0xe13c
lri $WR1,    #0x99a3
cw 0x15
call send_back  ; 2409 (0x0969)

lri $AR1,    #0x7b59
lri $IX1,    #0xf352
lri $WR1,    #0xdb2e
cw 0x15
call send_back  ; 2410 (0x096a)

lri $AR1,    #0x2399
lri $IX1,    #0x8684
lri $WR1,    #0x2c77
cw 0x15
call send_back  ; 2411 (0x096b)

lri $AR1,    #0x691d
lri $IX1,    #0xa794
lri $WR1,    #0x47a6
cw 0x15
call send_back  ; 2412 (0x096c)

lri $AR1,    #0x5d4c
lri $IX1,    #0xe83e
lri $WR1,    #0x7082
cw 0x15
call send_back  ; 2413 (0x096d)

lri $AR1,    #0x79fd
lri $IX1,    #0xec02
lri $WR1,    #0x7f48
cw 0x15
call send_back  ; 2414 (0x096e)

lri $AR1,    #0x781b
lri $IX1,    #0xa416
lri $WR1,    #0x450b
cw 0x15
call send_back  ; 2415 (0x096f)

lri $AR1,    #0x7b6d
lri $IX1,    #0x60c2
lri $WR1,    #0xdc51
cw 0x15
call send_back  ; 2416 (0x0970)

lri $AR1,    #0x5e5b
lri $IX1,    #0xf6d8
lri $WR1,    #0xc1d0
cw 0x15
call send_back  ; 2417 (0x0971)

lri $AR1,    #0xa80e
lri $IX1,    #0xfc4e
lri $WR1,    #0xdefe
cw 0x15
call send_back  ; 2418 (0x0972)

lri $AR1,    #0x8a9e
lri $IX1,    #0xaff4
lri $WR1,    #0xe173
cw 0x15
call send_back  ; 2419 (0x0973)

lri $AR1,    #0x8ebb
lri $IX1,    #0x9c2a
lri $WR1,    #0xafb1
cw 0x15
call send_back  ; 2420 (0x0974)

lri $AR1,    #0x2d87
lri $IX1,    #0x8d78
lri $WR1,    #0x6560
cw 0x15
call send_back  ; 2421 (0x0975)

lri $AR1,    #0x690e
lri $IX1,    #0x2a22
lri $WR1,    #0x5e98
cw 0x15
call send_back  ; 2422 (0x0976)

lri $AR1,    #0x570a
lri $IX1,    #0x7878
lri $WR1,    #0x5b34
cw 0x15
call send_back  ; 2423 (0x0977)

lri $AR1,    #0xe968
lri $IX1,    #0x0dfa
lri $WR1,    #0x88d6
cw 0x15
call send_back  ; 2424 (0x0978)

lri $AR1,    #0x6b37
lri $IX1,    #0x9a1a
lri $WR1,    #0x2ba2
cw 0x15
call send_back  ; 2425 (0x0979)

lri $AR1,    #0x8879
lri $IX1,    #0x23b0
lri $WR1,    #0x8b2f
cw 0x15
call send_back  ; 2426 (0x097a)

lri $AR1,    #0xaa80
lri $IX1,    #0xc0fe
lri $WR1,    #0x9ae4
cw 0x15
call send_back  ; 2427 (0x097b)

lri $AR1,    #0x5a48
lri $IX1,    #0xee2c
lri $WR1,    #0xea29
cw 0x15
call send_back  ; 2428 (0x097c)

lri $AR1,    #0x9584
lri $IX1,    #0x0f3e
lri $WR1,    #0x229a
cw 0x15
call send_back  ; 2429 (0x097d)

lri $AR1,    #0x72bf
lri $IX1,    #0x3e76
lri $WR1,    #0x97b7
cw 0x15
call send_back  ; 2430 (0x097e)

lri $AR1,    #0x7457
lri $IX1,    #0x68ea
lri $WR1,    #0x0d35
cw 0x15
call send_back  ; 2431 (0x097f)

lri $AR1,    #0x61ab
lri $IX1,    #0x077c
lri $WR1,    #0x3e65
cw 0x15
call send_back  ; 2432 (0x0980)

lri $AR1,    #0xc945
lri $IX1,    #0x9af0
lri $WR1,    #0x3ae3
cw 0x15
call send_back  ; 2433 (0x0981)

lri $AR1,    #0x4e4c
lri $IX1,    #0x9638
lri $WR1,    #0xb9fb
cw 0x15
call send_back  ; 2434 (0x0982)

lri $AR1,    #0x771f
lri $IX1,    #0xb2aa
lri $WR1,    #0x77f1
cw 0x15
call send_back  ; 2435 (0x0983)

lri $AR1,    #0xba56
lri $IX1,    #0xe674
lri $WR1,    #0xe5a6
cw 0x15
call send_back  ; 2436 (0x0984)

lri $AR1,    #0x6303
lri $IX1,    #0x7dc2
lri $WR1,    #0xccb6
cw 0x15
call send_back  ; 2437 (0x0985)

lri $AR1,    #0x7481
lri $IX1,    #0x4bfe
lri $WR1,    #0x679f
cw 0x15
call send_back  ; 2438 (0x0986)

lri $AR1,    #0x59a2
lri $IX1,    #0xaab6
lri $WR1,    #0xaef9
cw 0x15
call send_back  ; 2439 (0x0987)

lri $AR1,    #0x4288
lri $IX1,    #0x2862
lri $WR1,    #0xa258
cw 0x15
call send_back  ; 2440 (0x0988)

lri $AR1,    #0x8005
lri $IX1,    #0x81cc
lri $WR1,    #0x7cdd
cw 0x15
call send_back  ; 2441 (0x0989)

lri $AR1,    #0x4ab9
lri $IX1,    #0xe520
lri $WR1,    #0x731d
cw 0x15
call send_back  ; 2442 (0x098a)

lri $AR1,    #0x97de
lri $IX1,    #0xae8a
lri $WR1,    #0x2946
cw 0x15
call send_back  ; 2443 (0x098b)

lri $AR1,    #0x44f7
lri $IX1,    #0xea60
lri $WR1,    #0x6643
cw 0x15
call send_back  ; 2444 (0x098c)

lri $AR1,    #0x5f47
lri $IX1,    #0x11ae
lri $WR1,    #0x81c1
cw 0x15
call send_back  ; 2445 (0x098d)

lri $AR1,    #0x7b47
lri $IX1,    #0xca36
lri $WR1,    #0x88c9
cw 0x15
call send_back  ; 2446 (0x098e)

lri $AR1,    #0xd40d
lri $IX1,    #0x13ac
lri $WR1,    #0x75ea
cw 0x15
call send_back  ; 2447 (0x098f)

lri $AR1,    #0xa1d2
lri $IX1,    #0x584e
lri $WR1,    #0x7f86
cw 0x15
call send_back  ; 2448 (0x0990)

lri $AR1,    #0xa27b
lri $IX1,    #0x6f96
lri $WR1,    #0x485b
cw 0x15
call send_back  ; 2449 (0x0991)

lri $AR1,    #0x8e74
lri $IX1,    #0xe628
lri $WR1,    #0x8bce
cw 0x15
call send_back  ; 2450 (0x0992)

lri $AR1,    #0x879f
lri $IX1,    #0xeea8
lri $WR1,    #0x910d
cw 0x15
call send_back  ; 2451 (0x0993)

lri $AR1,    #0xd7bd
lri $IX1,    #0x5bd0
lri $WR1,    #0xa59a
cw 0x15
call send_back  ; 2452 (0x0994)

lri $AR1,    #0x6f10
lri $IX1,    #0x0c34
lri $WR1,    #0x7943
cw 0x15
call send_back  ; 2453 (0x0995)

lri $AR1,    #0x6382
lri $IX1,    #0x651e
lri $WR1,    #0xd32f
cw 0x15
call send_back  ; 2454 (0x0996)

lri $AR1,    #0x943b
lri $IX1,    #0xfa18
lri $WR1,    #0x98f1
cw 0x15
call send_back  ; 2455 (0x0997)

lri $AR1,    #0x6cd9
lri $IX1,    #0x6b5a
lri $WR1,    #0x664c
cw 0x15
call send_back  ; 2456 (0x0998)

lri $AR1,    #0x6f29
lri $IX1,    #0xfdc0
lri $WR1,    #0xdda5
cw 0x15
call send_back  ; 2457 (0x0999)

lri $AR1,    #0x89ac
lri $IX1,    #0x938c
lri $WR1,    #0x46c8
cw 0x15
call send_back  ; 2458 (0x099a)

lri $AR1,    #0xb4c3
lri $IX1,    #0x9d98
lri $WR1,    #0x62ef
cw 0x15
call send_back  ; 2459 (0x099b)

lri $AR1,    #0xb7bb
lri $IX1,    #0x7922
lri $WR1,    #0x72c4
cw 0x15
call send_back  ; 2460 (0x099c)

lri $AR1,    #0xb2a1
lri $IX1,    #0x9700
lri $WR1,    #0xa448
cw 0x15
call send_back  ; 2461 (0x099d)

lri $AR1,    #0x7925
lri $IX1,    #0xdd32
lri $WR1,    #0xdc4c
cw 0x15
call send_back  ; 2462 (0x099e)

lri $AR1,    #0x4e4e
lri $IX1,    #0x14cc
lri $WR1,    #0x7079
cw 0x15
call send_back  ; 2463 (0x099f)

lri $AR1,    #0x8870
lri $IX1,    #0x0228
lri $WR1,    #0x4c82
cw 0x15
call send_back  ; 2464 (0x09a0)

lri $AR1,    #0x700e
lri $IX1,    #0x1e38
lri $WR1,    #0x8687
cw 0x15
call send_back  ; 2465 (0x09a1)

lri $AR1,    #0xac15
lri $IX1,    #0xec0e
lri $WR1,    #0x7446
cw 0x15
call send_back  ; 2466 (0x09a2)

lri $AR1,    #0xa12d
lri $IX1,    #0xb662
lri $WR1,    #0xc417
cw 0x15
call send_back  ; 2467 (0x09a3)

lri $AR1,    #0x3180
lri $IX1,    #0x3d34
lri $WR1,    #0xd25c
cw 0x15
call send_back  ; 2468 (0x09a4)

lri $AR1,    #0x25bd
lri $IX1,    #0xa43e
lri $WR1,    #0x4d59
cw 0x15
call send_back  ; 2469 (0x09a5)

lri $AR1,    #0x17a1
lri $IX1,    #0xe770
lri $WR1,    #0x1718
cw 0x15
call send_back  ; 2470 (0x09a6)

lri $AR1,    #0x59e7
lri $IX1,    #0x5b12
lri $WR1,    #0x166b
cw 0x15
call send_back  ; 2471 (0x09a7)

lri $AR1,    #0x70e9
lri $IX1,    #0x69d4
lri $WR1,    #0xad83
cw 0x15
call send_back  ; 2472 (0x09a8)

lri $AR1,    #0x1ab0
lri $IX1,    #0xfb6a
lri $WR1,    #0xb64a
cw 0x15
call send_back  ; 2473 (0x09a9)

lri $AR1,    #0x84e1
lri $IX1,    #0xd2ea
lri $WR1,    #0x9201
cw 0x15
call send_back  ; 2474 (0x09aa)

lri $AR1,    #0x823f
lri $IX1,    #0xe498
lri $WR1,    #0x6b2e
cw 0x15
call send_back  ; 2475 (0x09ab)

lri $AR1,    #0x3922
lri $IX1,    #0x3f62
lri $WR1,    #0x1e7d
cw 0x15
call send_back  ; 2476 (0x09ac)

lri $AR1,    #0x3fa5
lri $IX1,    #0xcea0
lri $WR1,    #0xb880
cw 0x15
call send_back  ; 2477 (0x09ad)

lri $AR1,    #0xc9e8
lri $IX1,    #0x0d58
lri $WR1,    #0x7410
cw 0x15
call send_back  ; 2478 (0x09ae)

lri $AR1,    #0xd22a
lri $IX1,    #0xe4ba
lri $WR1,    #0x8632
cw 0x15
call send_back  ; 2479 (0x09af)

lri $AR1,    #0xda17
lri $IX1,    #0x7bfc
lri $WR1,    #0xaa29
cw 0x15
call send_back  ; 2480 (0x09b0)

lri $AR1,    #0x700f
lri $IX1,    #0xd846
lri $WR1,    #0x29b7
cw 0x15
call send_back  ; 2481 (0x09b1)

lri $AR1,    #0x62c1
lri $IX1,    #0xefdc
lri $WR1,    #0x6b33
cw 0x15
call send_back  ; 2482 (0x09b2)

lri $AR1,    #0xe0da
lri $IX1,    #0x6446
lri $WR1,    #0x4060
cw 0x15
call send_back  ; 2483 (0x09b3)

lri $AR1,    #0x8a30
lri $IX1,    #0x938c
lri $WR1,    #0xa6be
cw 0x15
call send_back  ; 2484 (0x09b4)

lri $AR1,    #0x931b
lri $IX1,    #0x3950
lri $WR1,    #0x4346
cw 0x15
call send_back  ; 2485 (0x09b5)

lri $AR1,    #0x6a6d
lri $IX1,    #0x8ce6
lri $WR1,    #0x812c
cw 0x15
call send_back  ; 2486 (0x09b6)

lri $AR1,    #0xb5b7
lri $IX1,    #0xca12
lri $WR1,    #0xbcb8
cw 0x15
call send_back  ; 2487 (0x09b7)

lri $AR1,    #0xcf4a
lri $IX1,    #0x7ec0
lri $WR1,    #0x28cd
cw 0x15
call send_back  ; 2488 (0x09b8)

lri $AR1,    #0x9cad
lri $IX1,    #0xf038
lri $WR1,    #0x871a
cw 0x15
call send_back  ; 2489 (0x09b9)

lri $AR1,    #0x73e6
lri $IX1,    #0x8f26
lri $WR1,    #0xb897
cw 0x15
call send_back  ; 2490 (0x09ba)

lri $AR1,    #0xb961
lri $IX1,    #0xe1fa
lri $WR1,    #0x7d54
cw 0x15
call send_back  ; 2491 (0x09bb)

lri $AR1,    #0x47bc
lri $IX1,    #0xaa0e
lri $WR1,    #0x503d
cw 0x15
call send_back  ; 2492 (0x09bc)

lri $AR1,    #0xee62
lri $IX1,    #0x7000
lri $WR1,    #0x84b8
cw 0x15
call send_back  ; 2493 (0x09bd)

lri $AR1,    #0x4321
lri $IX1,    #0x3898
lri $WR1,    #0x89e6
cw 0x15
call send_back  ; 2494 (0x09be)

lri $AR1,    #0x86b0
lri $IX1,    #0x03e6
lri $WR1,    #0xd866
cw 0x15
call send_back  ; 2495 (0x09bf)

lri $AR1,    #0xd355
lri $IX1,    #0x04ba
lri $WR1,    #0x754c
cw 0x15
call send_back  ; 2496 (0x09c0)

lri $AR1,    #0x188c
lri $IX1,    #0x5730
lri $WR1,    #0x7e3d
cw 0x15
call send_back  ; 2497 (0x09c1)

lri $AR1,    #0x6606
lri $IX1,    #0x8182
lri $WR1,    #0x4066
cw 0x15
call send_back  ; 2498 (0x09c2)

lri $AR1,    #0x9bb5
lri $IX1,    #0x5ac4
lri $WR1,    #0x4d37
cw 0x15
call send_back  ; 2499 (0x09c3)

lri $AR1,    #0x9c5a
lri $IX1,    #0x2fc8
lri $WR1,    #0xb590
cw 0x15
call send_back  ; 2500 (0x09c4)

lri $AR1,    #0x7b3a
lri $IX1,    #0x46dc
lri $WR1,    #0x6d5d
cw 0x15
call send_back  ; 2501 (0x09c5)

lri $AR1,    #0xad77
lri $IX1,    #0x576e
lri $WR1,    #0xb738
cw 0x15
call send_back  ; 2502 (0x09c6)

lri $AR1,    #0x6ab9
lri $IX1,    #0x4b86
lri $WR1,    #0x3927
cw 0x15
call send_back  ; 2503 (0x09c7)

lri $AR1,    #0x808a
lri $IX1,    #0xcd0c
lri $WR1,    #0xe0fc
cw 0x15
call send_back  ; 2504 (0x09c8)

lri $AR1,    #0xc72f
lri $IX1,    #0xd99a
lri $WR1,    #0x6868
cw 0x15
call send_back  ; 2505 (0x09c9)

lri $AR1,    #0x864f
lri $IX1,    #0xfc30
lri $WR1,    #0x765a
cw 0x15
call send_back  ; 2506 (0x09ca)

lri $AR1,    #0x4b3a
lri $IX1,    #0xfc2e
lri $WR1,    #0x6cb1
cw 0x15
call send_back  ; 2507 (0x09cb)

lri $AR1,    #0xda1b
lri $IX1,    #0xee18
lri $WR1,    #0xc6d4
cw 0x15
call send_back  ; 2508 (0x09cc)

lri $AR1,    #0x5ee7
lri $IX1,    #0xba90
lri $WR1,    #0x6741
cw 0x15
call send_back  ; 2509 (0x09cd)

lri $AR1,    #0xb261
lri $IX1,    #0x84e4
lri $WR1,    #0x2f9c
cw 0x15
call send_back  ; 2510 (0x09ce)

lri $AR1,    #0x4af2
lri $IX1,    #0xfac0
lri $WR1,    #0xa065
cw 0x15
call send_back  ; 2511 (0x09cf)

lri $AR1,    #0x28bb
lri $IX1,    #0xa350
lri $WR1,    #0xe2b9
cw 0x15
call send_back  ; 2512 (0x09d0)

lri $AR1,    #0x9797
lri $IX1,    #0xdc66
lri $WR1,    #0x6866
cw 0x15
call send_back  ; 2513 (0x09d1)

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