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

lri $AR1,    #0x4998
lri $IX1,    #0xa464
lri $WR1,    #0x74b0
cw 0xd
call send_back  ; 3934 (0x0f5e)

lri $AR1,    #0x8028
lri $IX1,    #0x1e76
lri $WR1,    #0xa7e9
cw 0xd
call send_back  ; 3935 (0x0f5f)

lri $AR1,    #0xd05f
lri $IX1,    #0xa262
lri $WR1,    #0x71ab
cw 0xd
call send_back  ; 3936 (0x0f60)

lri $AR1,    #0xb2d9
lri $IX1,    #0x0c1e
lri $WR1,    #0xcd58
cw 0xd
call send_back  ; 3937 (0x0f61)

lri $AR1,    #0x788d
lri $IX1,    #0xd6f6
lri $WR1,    #0x599f
cw 0xd
call send_back  ; 3938 (0x0f62)

lri $AR1,    #0x6c9f
lri $IX1,    #0xb678
lri $WR1,    #0x6dfc
cw 0xd
call send_back  ; 3939 (0x0f63)

lri $AR1,    #0x72a3
lri $IX1,    #0x3b62
lri $WR1,    #0x78a1
cw 0xd
call send_back  ; 3940 (0x0f64)

lri $AR1,    #0x0a1e
lri $IX1,    #0xd3a0
lri $WR1,    #0x56d4
cw 0xd
call send_back  ; 3941 (0x0f65)

lri $AR1,    #0xaf9a
lri $IX1,    #0x805e
lri $WR1,    #0xb754
cw 0xd
call send_back  ; 3942 (0x0f66)

lri $AR1,    #0xb70e
lri $IX1,    #0x5c5e
lri $WR1,    #0xd7d1
cw 0xd
call send_back  ; 3943 (0x0f67)

lri $AR1,    #0xd2fa
lri $IX1,    #0x606a
lri $WR1,    #0x740f
cw 0xd
call send_back  ; 3944 (0x0f68)

lri $AR1,    #0x6703
lri $IX1,    #0x9b36
lri $WR1,    #0x66bc
cw 0xd
call send_back  ; 3945 (0x0f69)

lri $AR1,    #0x6457
lri $IX1,    #0x2d8c
lri $WR1,    #0xa989
cw 0xd
call send_back  ; 3946 (0x0f6a)

lri $AR1,    #0xa1b5
lri $IX1,    #0xaaea
lri $WR1,    #0x73a0
cw 0xd
call send_back  ; 3947 (0x0f6b)

lri $AR1,    #0xc85e
lri $IX1,    #0xe2a0
lri $WR1,    #0x0afd
cw 0xd
call send_back  ; 3948 (0x0f6c)

lri $AR1,    #0xeac7
lri $IX1,    #0x6c80
lri $WR1,    #0x56b4
cw 0xd
call send_back  ; 3949 (0x0f6d)

lri $AR1,    #0x8958
lri $IX1,    #0x8020
lri $WR1,    #0xbdd2
cw 0xd
call send_back  ; 3950 (0x0f6e)

lri $AR1,    #0x8d0c
lri $IX1,    #0x7cd4
lri $WR1,    #0xbfbd
cw 0xd
call send_back  ; 3951 (0x0f6f)

lri $AR1,    #0x773a
lri $IX1,    #0xfc66
lri $WR1,    #0x58c8
cw 0xd
call send_back  ; 3952 (0x0f70)

lri $AR1,    #0x915a
lri $IX1,    #0x3196
lri $WR1,    #0x8efb
cw 0xd
call send_back  ; 3953 (0x0f71)

lri $AR1,    #0x2725
lri $IX1,    #0x8f78
lri $WR1,    #0x509b
cw 0xd
call send_back  ; 3954 (0x0f72)

lri $AR1,    #0xa8c4
lri $IX1,    #0x25d2
lri $WR1,    #0x7f90
cw 0xd
call send_back  ; 3955 (0x0f73)

lri $AR1,    #0xda76
lri $IX1,    #0xa252
lri $WR1,    #0x7a2a
cw 0xd
call send_back  ; 3956 (0x0f74)

lri $AR1,    #0x526c
lri $IX1,    #0x5e02
lri $WR1,    #0x8b64
cw 0xd
call send_back  ; 3957 (0x0f75)

lri $AR1,    #0xd543
lri $IX1,    #0x29aa
lri $WR1,    #0xca25
cw 0xd
call send_back  ; 3958 (0x0f76)

lri $AR1,    #0x04c6
lri $IX1,    #0x8b8c
lri $WR1,    #0x7098
cw 0xd
call send_back  ; 3959 (0x0f77)

lri $AR1,    #0x2c6f
lri $IX1,    #0xb438
lri $WR1,    #0x7a31
cw 0xd
call send_back  ; 3960 (0x0f78)

lri $AR1,    #0x2261
lri $IX1,    #0x77cc
lri $WR1,    #0x405f
cw 0xd
call send_back  ; 3961 (0x0f79)

lri $AR1,    #0x932b
lri $IX1,    #0xf480
lri $WR1,    #0xbb8e
cw 0xd
call send_back  ; 3962 (0x0f7a)

lri $AR1,    #0x8230
lri $IX1,    #0x1ea4
lri $WR1,    #0xdf71
cw 0xd
call send_back  ; 3963 (0x0f7b)

lri $AR1,    #0xaffd
lri $IX1,    #0x0e1c
lri $WR1,    #0x9f43
cw 0xd
call send_back  ; 3964 (0x0f7c)

lri $AR1,    #0xd353
lri $IX1,    #0x8074
lri $WR1,    #0x5ff0
cw 0xd
call send_back  ; 3965 (0x0f7d)

lri $AR1,    #0x814d
lri $IX1,    #0x6e7e
lri $WR1,    #0xdbc7
cw 0xd
call send_back  ; 3966 (0x0f7e)

lri $AR1,    #0x245c
lri $IX1,    #0xb3b4
lri $WR1,    #0x9ccb
cw 0xd
call send_back  ; 3967 (0x0f7f)

lri $AR1,    #0x596d
lri $IX1,    #0x7940
lri $WR1,    #0x9822
cw 0xd
call send_back  ; 3968 (0x0f80)

lri $AR1,    #0x5618
lri $IX1,    #0x3df0
lri $WR1,    #0x7eb3
cw 0xd
call send_back  ; 3969 (0x0f81)

lri $AR1,    #0xfa17
lri $IX1,    #0xcfe4
lri $WR1,    #0xe49b
cw 0xd
call send_back  ; 3970 (0x0f82)

lri $AR1,    #0xc1d9
lri $IX1,    #0x3c50
lri $WR1,    #0x5271
cw 0xd
call send_back  ; 3971 (0x0f83)

lri $AR1,    #0x5785
lri $IX1,    #0x7d1e
lri $WR1,    #0x88e2
cw 0xd
call send_back  ; 3972 (0x0f84)

lri $AR1,    #0x5b3c
lri $IX1,    #0x63ac
lri $WR1,    #0x98de
cw 0xd
call send_back  ; 3973 (0x0f85)

lri $AR1,    #0x8aea
lri $IX1,    #0xcba2
lri $WR1,    #0x4fb0
cw 0xd
call send_back  ; 3974 (0x0f86)

lri $AR1,    #0x9570
lri $IX1,    #0x6002
lri $WR1,    #0x3842
cw 0xd
call send_back  ; 3975 (0x0f87)

lri $AR1,    #0x7c84
lri $IX1,    #0x1064
lri $WR1,    #0x77f5
cw 0xd
call send_back  ; 3976 (0x0f88)

lri $AR1,    #0x5403
lri $IX1,    #0x9b90
lri $WR1,    #0x773f
cw 0xd
call send_back  ; 3977 (0x0f89)

lri $AR1,    #0x4d1f
lri $IX1,    #0x3066
lri $WR1,    #0x737f
cw 0xd
call send_back  ; 3978 (0x0f8a)

lri $AR1,    #0xaf22
lri $IX1,    #0xf54c
lri $WR1,    #0xa937
cw 0xd
call send_back  ; 3979 (0x0f8b)

lri $AR1,    #0x8720
lri $IX1,    #0x29fa
lri $WR1,    #0x9b21
cw 0xd
call send_back  ; 3980 (0x0f8c)

lri $AR1,    #0xd369
lri $IX1,    #0x6ef8
lri $WR1,    #0x743a
cw 0xd
call send_back  ; 3981 (0x0f8d)

lri $AR1,    #0x1f09
lri $IX1,    #0x6994
lri $WR1,    #0x805c
cw 0xd
call send_back  ; 3982 (0x0f8e)

lri $AR1,    #0x4526
lri $IX1,    #0x5aa6
lri $WR1,    #0x9864
cw 0xd
call send_back  ; 3983 (0x0f8f)

lri $AR1,    #0x4b87
lri $IX1,    #0x3202
lri $WR1,    #0x8486
cw 0xd
call send_back  ; 3984 (0x0f90)

lri $AR1,    #0xcf23
lri $IX1,    #0x0fbe
lri $WR1,    #0x20ce
cw 0xd
call send_back  ; 3985 (0x0f91)

lri $AR1,    #0xbcf3
lri $IX1,    #0xe048
lri $WR1,    #0x5d72
cw 0xd
call send_back  ; 3986 (0x0f92)

lri $AR1,    #0x64ed
lri $IX1,    #0xaf86
lri $WR1,    #0x65f0
cw 0xd
call send_back  ; 3987 (0x0f93)

lri $AR1,    #0xbc60
lri $IX1,    #0x52d4
lri $WR1,    #0xaf9a
cw 0xd
call send_back  ; 3988 (0x0f94)

lri $AR1,    #0xc09d
lri $IX1,    #0x012e
lri $WR1,    #0xc98f
cw 0xd
call send_back  ; 3989 (0x0f95)

lri $AR1,    #0x3a1f
lri $IX1,    #0x3c56
lri $WR1,    #0x65c4
cw 0xd
call send_back  ; 3990 (0x0f96)

lri $AR1,    #0x841e
lri $IX1,    #0xed54
lri $WR1,    #0x941e
cw 0xd
call send_back  ; 3991 (0x0f97)

lri $AR1,    #0xd3c8
lri $IX1,    #0xaa00
lri $WR1,    #0x6e2d
cw 0xd
call send_back  ; 3992 (0x0f98)

lri $AR1,    #0xa5fa
lri $IX1,    #0xa10e
lri $WR1,    #0xdbab
cw 0xd
call send_back  ; 3993 (0x0f99)

lri $AR1,    #0xd9c5
lri $IX1,    #0x854c
lri $WR1,    #0x852e
cw 0xd
call send_back  ; 3994 (0x0f9a)

lri $AR1,    #0x719b
lri $IX1,    #0xe072
lri $WR1,    #0x5c45
cw 0xd
call send_back  ; 3995 (0x0f9b)

lri $AR1,    #0x5c56
lri $IX1,    #0x594c
lri $WR1,    #0xb566
cw 0xd
call send_back  ; 3996 (0x0f9c)

lri $AR1,    #0x6318
lri $IX1,    #0x909c
lri $WR1,    #0xa9e6
cw 0xd
call send_back  ; 3997 (0x0f9d)

lri $AR1,    #0x481b
lri $IX1,    #0x236c
lri $WR1,    #0x3563
cw 0xd
call send_back  ; 3998 (0x0f9e)

lri $AR1,    #0x267b
lri $IX1,    #0x013a
lri $WR1,    #0x23d7
cw 0xd
call send_back  ; 3999 (0x0f9f)

lri $AR1,    #0x9a19
lri $IX1,    #0x77bc
lri $WR1,    #0x4ac5
cw 0xd
call send_back  ; 4000 (0x0fa0)

lri $AR1,    #0x828b
lri $IX1,    #0xfd90
lri $WR1,    #0x919e
cw 0xd
call send_back  ; 4001 (0x0fa1)

lri $AR1,    #0xb349
lri $IX1,    #0xc0b4
lri $WR1,    #0x5aee
cw 0xd
call send_back  ; 4002 (0x0fa2)

lri $AR1,    #0x770f
lri $IX1,    #0x2d00
lri $WR1,    #0xd15f
cw 0xd
call send_back  ; 4003 (0x0fa3)

lri $AR1,    #0x5397
lri $IX1,    #0xe286
lri $WR1,    #0x5121
cw 0xd
call send_back  ; 4004 (0x0fa4)

lri $AR1,    #0x569e
lri $IX1,    #0xcb18
lri $WR1,    #0x7fc9
cw 0xd
call send_back  ; 4005 (0x0fa5)

lri $AR1,    #0xc471
lri $IX1,    #0x09d8
lri $WR1,    #0x8232
cw 0xd
call send_back  ; 4006 (0x0fa6)

lri $AR1,    #0xa3df
lri $IX1,    #0x3f0e
lri $WR1,    #0x817c
cw 0xd
call send_back  ; 4007 (0x0fa7)

lri $AR1,    #0xbacd
lri $IX1,    #0xee1a
lri $WR1,    #0x35a9
cw 0xd
call send_back  ; 4008 (0x0fa8)

lri $AR1,    #0xfa56
lri $IX1,    #0x9ad8
lri $WR1,    #0xd5f2
cw 0xd
call send_back  ; 4009 (0x0fa9)

lri $AR1,    #0x78ae
lri $IX1,    #0x4f44
lri $WR1,    #0x7c6b
cw 0xd
call send_back  ; 4010 (0x0faa)

lri $AR1,    #0x4aab
lri $IX1,    #0x89a6
lri $WR1,    #0x9be9
cw 0xd
call send_back  ; 4011 (0x0fab)

lri $AR1,    #0x3632
lri $IX1,    #0xf720
lri $WR1,    #0x7ce4
cw 0xd
call send_back  ; 4012 (0x0fac)

lri $AR1,    #0x3270
lri $IX1,    #0xb5f0
lri $WR1,    #0x2f42
cw 0xd
call send_back  ; 4013 (0x0fad)

lri $AR1,    #0x5a12
lri $IX1,    #0x061a
lri $WR1,    #0x5cac
cw 0xd
call send_back  ; 4014 (0x0fae)

lri $AR1,    #0xb76b
lri $IX1,    #0x2f00
lri $WR1,    #0x4875
cw 0xd
call send_back  ; 4015 (0x0faf)

lri $AR1,    #0x89b4
lri $IX1,    #0xd37c
lri $WR1,    #0x6fb0
cw 0xd
call send_back  ; 4016 (0x0fb0)

lri $AR1,    #0xae5f
lri $IX1,    #0xd5f6
lri $WR1,    #0x0573
cw 0xd
call send_back  ; 4017 (0x0fb1)

lri $AR1,    #0x98a8
lri $IX1,    #0x293a
lri $WR1,    #0x54df
cw 0xd
call send_back  ; 4018 (0x0fb2)

lri $AR1,    #0x9550
lri $IX1,    #0x5a52
lri $WR1,    #0xc40c
cw 0xd
call send_back  ; 4019 (0x0fb3)

lri $AR1,    #0x5fba
lri $IX1,    #0x2342
lri $WR1,    #0xa847
cw 0xd
call send_back  ; 4020 (0x0fb4)

lri $AR1,    #0xa950
lri $IX1,    #0xcdf8
lri $WR1,    #0xb5da
cw 0xd
call send_back  ; 4021 (0x0fb5)

lri $AR1,    #0x8372
lri $IX1,    #0x7a36
lri $WR1,    #0x72c9
cw 0xd
call send_back  ; 4022 (0x0fb6)

lri $AR1,    #0x7fc2
lri $IX1,    #0x58c2
lri $WR1,    #0x95ad
cw 0xd
call send_back  ; 4023 (0x0fb7)

lri $AR1,    #0x3221
lri $IX1,    #0x81c2
lri $WR1,    #0x7f37
cw 0xd
call send_back  ; 4024 (0x0fb8)

lri $AR1,    #0x6b27
lri $IX1,    #0x137e
lri $WR1,    #0x6667
cw 0xd
call send_back  ; 4025 (0x0fb9)

lri $AR1,    #0x6169
lri $IX1,    #0xa25c
lri $WR1,    #0x3d04
cw 0xd
call send_back  ; 4026 (0x0fba)

lri $AR1,    #0x7361
lri $IX1,    #0x9276
lri $WR1,    #0x2372
cw 0xd
call send_back  ; 4027 (0x0fbb)

lri $AR1,    #0x9340
lri $IX1,    #0x9688
lri $WR1,    #0x5867
cw 0xd
call send_back  ; 4028 (0x0fbc)

lri $AR1,    #0xa980
lri $IX1,    #0x2784
lri $WR1,    #0xca9d
cw 0xd
call send_back  ; 4029 (0x0fbd)

lri $AR1,    #0xaa80
lri $IX1,    #0x33ae
lri $WR1,    #0x3004
cw 0xd
call send_back  ; 4030 (0x0fbe)

lri $AR1,    #0x9f06
lri $IX1,    #0x6388
lri $WR1,    #0x278d
cw 0xd
call send_back  ; 4031 (0x0fbf)

lri $AR1,    #0x56e7
lri $IX1,    #0x0652
lri $WR1,    #0x5017
cw 0xd
call send_back  ; 4032 (0x0fc0)

lri $AR1,    #0xc8b0
lri $IX1,    #0xdf80
lri $WR1,    #0xc89b
cw 0xd
call send_back  ; 4033 (0x0fc1)

lri $AR1,    #0x20a2
lri $IX1,    #0x89e8
lri $WR1,    #0x9b15
cw 0xd
call send_back  ; 4034 (0x0fc2)

lri $AR1,    #0x94c0
lri $IX1,    #0xd508
lri $WR1,    #0x8547
cw 0xd
call send_back  ; 4035 (0x0fc3)

lri $AR1,    #0x9b58
lri $IX1,    #0x4418
lri $WR1,    #0xc7dd
cw 0xd
call send_back  ; 4036 (0x0fc4)

lri $AR1,    #0x7cc3
lri $IX1,    #0x8e62
lri $WR1,    #0xfe15
cw 0xd
call send_back  ; 4037 (0x0fc5)

lri $AR1,    #0x48b0
lri $IX1,    #0x8b82
lri $WR1,    #0xdd59
cw 0xd
call send_back  ; 4038 (0x0fc6)

lri $AR1,    #0x5ad8
lri $IX1,    #0x3602
lri $WR1,    #0x7e00
cw 0xd
call send_back  ; 4039 (0x0fc7)

lri $AR1,    #0xb255
lri $IX1,    #0x420c
lri $WR1,    #0x53a9
cw 0xd
call send_back  ; 4040 (0x0fc8)

lri $AR1,    #0x4a7c
lri $IX1,    #0x0d90
lri $WR1,    #0x2558
cw 0xd
call send_back  ; 4041 (0x0fc9)

lri $AR1,    #0x4385
lri $IX1,    #0x4aa4
lri $WR1,    #0x82cc
cw 0xd
call send_back  ; 4042 (0x0fca)

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