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

lri $AR1,    #0xe9c0
lri $IX1,    #0x0754
lri $WR1,    #0x8256
cw 0x9
call send_back  ; 3969 (0x0f81)

lri $AR1,    #0xca6c
lri $IX1,    #0xa9be
lri $WR1,    #0xbc7c
cw 0x9
call send_back  ; 3970 (0x0f82)

lri $AR1,    #0x6c00
lri $IX1,    #0x3890
lri $WR1,    #0x0a68
cw 0x9
call send_back  ; 3971 (0x0f83)

lri $AR1,    #0x13a6
lri $IX1,    #0x8b86
lri $WR1,    #0xb978
cw 0x9
call send_back  ; 3972 (0x0f84)

lri $AR1,    #0xfdbe
lri $IX1,    #0x99f6
lri $WR1,    #0x901a
cw 0x9
call send_back  ; 3973 (0x0f85)

lri $AR1,    #0xbbb2
lri $IX1,    #0x43b6
lri $WR1,    #0x6cae
cw 0x9
call send_back  ; 3974 (0x0f86)

lri $AR1,    #0x8a98
lri $IX1,    #0x52ca
lri $WR1,    #0x4f42
cw 0x9
call send_back  ; 3975 (0x0f87)

lri $AR1,    #0xaa14
lri $IX1,    #0x3acc
lri $WR1,    #0x6f78
cw 0x9
call send_back  ; 3976 (0x0f88)

lri $AR1,    #0x3dda
lri $IX1,    #0xaadc
lri $WR1,    #0x033e
cw 0x9
call send_back  ; 3977 (0x0f89)

lri $AR1,    #0x2446
lri $IX1,    #0xa988
lri $WR1,    #0xac0c
cw 0x9
call send_back  ; 3978 (0x0f8a)

lri $AR1,    #0x8b78
lri $IX1,    #0xdeb2
lri $WR1,    #0x9d6c
cw 0x9
call send_back  ; 3979 (0x0f8b)

lri $AR1,    #0x1168
lri $IX1,    #0x98d0
lri $WR1,    #0xfcde
cw 0x9
call send_back  ; 3980 (0x0f8c)

lri $AR1,    #0x74c2
lri $IX1,    #0xe858
lri $WR1,    #0x25b0
cw 0x9
call send_back  ; 3981 (0x0f8d)

lri $AR1,    #0xa7b4
lri $IX1,    #0xec6c
lri $WR1,    #0xd352
cw 0x9
call send_back  ; 3982 (0x0f8e)

lri $AR1,    #0x3f56
lri $IX1,    #0x598e
lri $WR1,    #0x2f00
cw 0x9
call send_back  ; 3983 (0x0f8f)

lri $AR1,    #0x05be
lri $IX1,    #0xb228
lri $WR1,    #0xf95c
cw 0x9
call send_back  ; 3984 (0x0f90)

lri $AR1,    #0x2342
lri $IX1,    #0x7860
lri $WR1,    #0x0c74
cw 0x9
call send_back  ; 3985 (0x0f91)

lri $AR1,    #0xf254
lri $IX1,    #0xc53e
lri $WR1,    #0xfe44
cw 0x9
call send_back  ; 3986 (0x0f92)

lri $AR1,    #0xffbe
lri $IX1,    #0x3010
lri $WR1,    #0xd1c0
cw 0x9
call send_back  ; 3987 (0x0f93)

lri $AR1,    #0x6222
lri $IX1,    #0xa880
lri $WR1,    #0x673a
cw 0x9
call send_back  ; 3988 (0x0f94)

lri $AR1,    #0x8c64
lri $IX1,    #0x3442
lri $WR1,    #0xc47a
cw 0x9
call send_back  ; 3989 (0x0f95)

lri $AR1,    #0x92ba
lri $IX1,    #0xe81e
lri $WR1,    #0x70ee
cw 0x9
call send_back  ; 3990 (0x0f96)

lri $AR1,    #0x5f74
lri $IX1,    #0x0d54
lri $WR1,    #0xda3c
cw 0x9
call send_back  ; 3991 (0x0f97)

lri $AR1,    #0xa752
lri $IX1,    #0xfe8a
lri $WR1,    #0x2fd4
cw 0x9
call send_back  ; 3992 (0x0f98)

lri $AR1,    #0x1ff8
lri $IX1,    #0xc8e4
lri $WR1,    #0xd1f2
cw 0x9
call send_back  ; 3993 (0x0f99)

lri $AR1,    #0xdbb8
lri $IX1,    #0x3e7a
lri $WR1,    #0x4956
cw 0x9
call send_back  ; 3994 (0x0f9a)

lri $AR1,    #0xf544
lri $IX1,    #0xda58
lri $WR1,    #0x055c
cw 0x9
call send_back  ; 3995 (0x0f9b)

lri $AR1,    #0xb6ec
lri $IX1,    #0x4644
lri $WR1,    #0x788a
cw 0x9
call send_back  ; 3996 (0x0f9c)

lri $AR1,    #0x5bba
lri $IX1,    #0x737a
lri $WR1,    #0xda26
cw 0x9
call send_back  ; 3997 (0x0f9d)

lri $AR1,    #0x46cc
lri $IX1,    #0x9fb8
lri $WR1,    #0xb5b6
cw 0x9
call send_back  ; 3998 (0x0f9e)

lri $AR1,    #0x995a
lri $IX1,    #0x65f0
lri $WR1,    #0x6082
cw 0x9
call send_back  ; 3999 (0x0f9f)

lri $AR1,    #0x7b30
lri $IX1,    #0x09d4
lri $WR1,    #0x483e
cw 0x9
call send_back  ; 4000 (0x0fa0)

lri $AR1,    #0xbae2
lri $IX1,    #0x92b6
lri $WR1,    #0xcfd2
cw 0x9
call send_back  ; 4001 (0x0fa1)

lri $AR1,    #0x4f1e
lri $IX1,    #0x203e
lri $WR1,    #0x6736
cw 0x9
call send_back  ; 4002 (0x0fa2)

lri $AR1,    #0xed20
lri $IX1,    #0x2d42
lri $WR1,    #0xd01e
cw 0x9
call send_back  ; 4003 (0x0fa3)

lri $AR1,    #0xb32e
lri $IX1,    #0x46ec
lri $WR1,    #0x754a
cw 0x9
call send_back  ; 4004 (0x0fa4)

lri $AR1,    #0xcc40
lri $IX1,    #0xc48e
lri $WR1,    #0x7a00
cw 0x9
call send_back  ; 4005 (0x0fa5)

lri $AR1,    #0x3cf4
lri $IX1,    #0x8f12
lri $WR1,    #0x7924
cw 0x9
call send_back  ; 4006 (0x0fa6)

lri $AR1,    #0x8594
lri $IX1,    #0x3cba
lri $WR1,    #0x4cc6
cw 0x9
call send_back  ; 4007 (0x0fa7)

lri $AR1,    #0x9b82
lri $IX1,    #0x5490
lri $WR1,    #0x53fe
cw 0x9
call send_back  ; 4008 (0x0fa8)

lri $AR1,    #0x06d0
lri $IX1,    #0xc868
lri $WR1,    #0xad5a
cw 0x9
call send_back  ; 4009 (0x0fa9)

lri $AR1,    #0xd9b4
lri $IX1,    #0x39f4
lri $WR1,    #0x84a6
cw 0x9
call send_back  ; 4010 (0x0faa)

lri $AR1,    #0x9016
lri $IX1,    #0xa188
lri $WR1,    #0x6ece
cw 0x9
call send_back  ; 4011 (0x0fab)

lri $AR1,    #0xab90
lri $IX1,    #0x8b78
lri $WR1,    #0x1d8a
cw 0x9
call send_back  ; 4012 (0x0fac)

lri $AR1,    #0x74d6
lri $IX1,    #0xddd8
lri $WR1,    #0x1004
cw 0x9
call send_back  ; 4013 (0x0fad)

lri $AR1,    #0x844c
lri $IX1,    #0x8fec
lri $WR1,    #0x18fc
cw 0x9
call send_back  ; 4014 (0x0fae)

lri $AR1,    #0x49d4
lri $IX1,    #0x6394
lri $WR1,    #0x6060
cw 0x9
call send_back  ; 4015 (0x0faf)

lri $AR1,    #0x1f36
lri $IX1,    #0x88ec
lri $WR1,    #0x8784
cw 0x9
call send_back  ; 4016 (0x0fb0)

lri $AR1,    #0xcd74
lri $IX1,    #0xd7d4
lri $WR1,    #0xbff4
cw 0x9
call send_back  ; 4017 (0x0fb1)

lri $AR1,    #0x9e36
lri $IX1,    #0xba6e
lri $WR1,    #0x5030
cw 0x9
call send_back  ; 4018 (0x0fb2)

lri $AR1,    #0x218e
lri $IX1,    #0x7ff4
lri $WR1,    #0xce18
cw 0x9
call send_back  ; 4019 (0x0fb3)

lri $AR1,    #0x8508
lri $IX1,    #0x640e
lri $WR1,    #0x83d8
cw 0x9
call send_back  ; 4020 (0x0fb4)

lri $AR1,    #0x14c6
lri $IX1,    #0x9c76
lri $WR1,    #0xb3d0
cw 0x9
call send_back  ; 4021 (0x0fb5)

lri $AR1,    #0xc8ee
lri $IX1,    #0xc4ec
lri $WR1,    #0xb84c
cw 0x9
call send_back  ; 4022 (0x0fb6)

lri $AR1,    #0xdbfa
lri $IX1,    #0xdbea
lri $WR1,    #0xee14
cw 0x9
call send_back  ; 4023 (0x0fb7)

lri $AR1,    #0x0904
lri $IX1,    #0xadc2
lri $WR1,    #0xa144
cw 0x9
call send_back  ; 4024 (0x0fb8)

lri $AR1,    #0x5a72
lri $IX1,    #0x4922
lri $WR1,    #0x2e3a
cw 0x9
call send_back  ; 4025 (0x0fb9)

lri $AR1,    #0xebe6
lri $IX1,    #0x6aea
lri $WR1,    #0x491e
cw 0x9
call send_back  ; 4026 (0x0fba)

lri $AR1,    #0x9296
lri $IX1,    #0xa852
lri $WR1,    #0x3594
cw 0x9
call send_back  ; 4027 (0x0fbb)

lri $AR1,    #0xb3d0
lri $IX1,    #0x92f8
lri $WR1,    #0x044e
cw 0x9
call send_back  ; 4028 (0x0fbc)

lri $AR1,    #0xaec6
lri $IX1,    #0xb350
lri $WR1,    #0x1bb0
cw 0x9
call send_back  ; 4029 (0x0fbd)

lri $AR1,    #0x7b00
lri $IX1,    #0x24a0
lri $WR1,    #0x9e66
cw 0x9
call send_back  ; 4030 (0x0fbe)

lri $AR1,    #0xe508
lri $IX1,    #0x2daa
lri $WR1,    #0xd50e
cw 0x9
call send_back  ; 4031 (0x0fbf)

lri $AR1,    #0x566c
lri $IX1,    #0xf992
lri $WR1,    #0x70bc
cw 0x9
call send_back  ; 4032 (0x0fc0)

lri $AR1,    #0xe650
lri $IX1,    #0x7dba
lri $WR1,    #0xb2e4
cw 0x9
call send_back  ; 4033 (0x0fc1)

lri $AR1,    #0xf58c
lri $IX1,    #0x8a0a
lri $WR1,    #0x2e8e
cw 0x9
call send_back  ; 4034 (0x0fc2)

lri $AR1,    #0x34ea
lri $IX1,    #0x7878
lri $WR1,    #0x92c2
cw 0x9
call send_back  ; 4035 (0x0fc3)

lri $AR1,    #0x5a6e
lri $IX1,    #0xefac
lri $WR1,    #0x5b8e
cw 0x9
call send_back  ; 4036 (0x0fc4)

lri $AR1,    #0x43f0
lri $IX1,    #0x7a18
lri $WR1,    #0x2f92
cw 0x9
call send_back  ; 4037 (0x0fc5)

lri $AR1,    #0x15b2
lri $IX1,    #0xa480
lri $WR1,    #0xb5e6
cw 0x9
call send_back  ; 4038 (0x0fc6)

lri $AR1,    #0x442e
lri $IX1,    #0xde50
lri $WR1,    #0x1bde
cw 0x9
call send_back  ; 4039 (0x0fc7)

lri $AR1,    #0x2eb6
lri $IX1,    #0x4584
lri $WR1,    #0x7d72
cw 0x9
call send_back  ; 4040 (0x0fc8)

lri $AR1,    #0xa17a
lri $IX1,    #0x8f52
lri $WR1,    #0xffd8
cw 0x9
call send_back  ; 4041 (0x0fc9)

lri $AR1,    #0xa87a
lri $IX1,    #0x46d6
lri $WR1,    #0x8e5a
cw 0x9
call send_back  ; 4042 (0x0fca)

lri $AR1,    #0x0dea
lri $IX1,    #0xd342
lri $WR1,    #0x6408
cw 0x9
call send_back  ; 4043 (0x0fcb)

lri $AR1,    #0x88aa
lri $IX1,    #0xa9c8
lri $WR1,    #0xddc2
cw 0x9
call send_back  ; 4044 (0x0fcc)

lri $AR1,    #0x2ec6
lri $IX1,    #0xdc42
lri $WR1,    #0x3c10
cw 0x9
call send_back  ; 4045 (0x0fcd)

lri $AR1,    #0x863a
lri $IX1,    #0x03ea
lri $WR1,    #0x2bae
cw 0x9
call send_back  ; 4046 (0x0fce)

lri $AR1,    #0x31be
lri $IX1,    #0x07dc
lri $WR1,    #0x2b80
cw 0x9
call send_back  ; 4047 (0x0fcf)

lri $AR1,    #0x31f0
lri $IX1,    #0x206c
lri $WR1,    #0xcdf4
cw 0x9
call send_back  ; 4048 (0x0fd0)

lri $AR1,    #0x5f48
lri $IX1,    #0x4ee4
lri $WR1,    #0xc124
cw 0x9
call send_back  ; 4049 (0x0fd1)

lri $AR1,    #0xa38c
lri $IX1,    #0xdbc2
lri $WR1,    #0x742e
cw 0x9
call send_back  ; 4050 (0x0fd2)

lri $AR1,    #0xc99e
lri $IX1,    #0x4798
lri $WR1,    #0x43b4
cw 0x9
call send_back  ; 4051 (0x0fd3)

lri $AR1,    #0x9a9c
lri $IX1,    #0x2c0e
lri $WR1,    #0xcd9c
cw 0x9
call send_back  ; 4052 (0x0fd4)

lri $AR1,    #0x1e32
lri $IX1,    #0x6812
lri $WR1,    #0xc56a
cw 0x9
call send_back  ; 4053 (0x0fd5)

lri $AR1,    #0xb2d2
lri $IX1,    #0x3724
lri $WR1,    #0x2dee
cw 0x9
call send_back  ; 4054 (0x0fd6)

lri $AR1,    #0x0234
lri $IX1,    #0x0fda
lri $WR1,    #0xaa58
cw 0x9
call send_back  ; 4055 (0x0fd7)

lri $AR1,    #0xe7f4
lri $IX1,    #0x81c0
lri $WR1,    #0xced8
cw 0x9
call send_back  ; 4056 (0x0fd8)

lri $AR1,    #0xe0fa
lri $IX1,    #0x63b6
lri $WR1,    #0x3ffc
cw 0x9
call send_back  ; 4057 (0x0fd9)

lri $AR1,    #0x4e22
lri $IX1,    #0x49aa
lri $WR1,    #0x387a
cw 0x9
call send_back  ; 4058 (0x0fda)

lri $AR1,    #0x4db6
lri $IX1,    #0x5766
lri $WR1,    #0x12fe
cw 0x9
call send_back  ; 4059 (0x0fdb)

lri $AR1,    #0xb79e
lri $IX1,    #0x9f6c
lri $WR1,    #0xd354
cw 0x9
call send_back  ; 4060 (0x0fdc)

lri $AR1,    #0xb086
lri $IX1,    #0x7d8c
lri $WR1,    #0xfa8a
cw 0x9
call send_back  ; 4061 (0x0fdd)

lri $AR1,    #0x21c4
lri $IX1,    #0x725e
lri $WR1,    #0xcb16
cw 0x9
call send_back  ; 4062 (0x0fde)

lri $AR1,    #0x8938
lri $IX1,    #0x7e5c
lri $WR1,    #0xf730
cw 0x9
call send_back  ; 4063 (0x0fdf)

lri $AR1,    #0x4f60
lri $IX1,    #0x1ca2
lri $WR1,    #0x59bc
cw 0x9
call send_back  ; 4064 (0x0fe0)

lri $AR1,    #0xc0b6
lri $IX1,    #0x8a52
lri $WR1,    #0xa5bc
cw 0x9
call send_back  ; 4065 (0x0fe1)

lri $AR1,    #0x0f26
lri $IX1,    #0xb2d0
lri $WR1,    #0x6f72
cw 0x9
call send_back  ; 4066 (0x0fe2)

lri $AR1,    #0xec8c
lri $IX1,    #0xdea4
lri $WR1,    #0xc504
cw 0x9
call send_back  ; 4067 (0x0fe3)

lri $AR1,    #0x7154
lri $IX1,    #0x0df8
lri $WR1,    #0x93b0
cw 0x9
call send_back  ; 4068 (0x0fe4)

lri $AR1,    #0xae80
lri $IX1,    #0x9d82
lri $WR1,    #0xc800
cw 0x9
call send_back  ; 4069 (0x0fe5)

lri $AR1,    #0xc05a
lri $IX1,    #0xd4b0
lri $WR1,    #0xf0e2
cw 0x9
call send_back  ; 4070 (0x0fe6)

lri $AR1,    #0x1c96
lri $IX1,    #0xf4f8
lri $WR1,    #0x4438
cw 0x9
call send_back  ; 4071 (0x0fe7)

lri $AR1,    #0x8c9e
lri $IX1,    #0x52da
lri $WR1,    #0xdc44
cw 0x9
call send_back  ; 4072 (0x0fe8)

lri $AR1,    #0xfc8a
lri $IX1,    #0xf38c
lri $WR1,    #0xdeea
cw 0x9
call send_back  ; 4073 (0x0fe9)

lri $AR1,    #0xa40a
lri $IX1,    #0x55e0
lri $WR1,    #0xf818
cw 0x9
call send_back  ; 4074 (0x0fea)

lri $AR1,    #0x3822
lri $IX1,    #0x9a4e
lri $WR1,    #0xc9cc
cw 0x9
call send_back  ; 4075 (0x0feb)

lri $AR1,    #0x82a8
lri $IX1,    #0x25ec
lri $WR1,    #0x66f6
cw 0x9
call send_back  ; 4076 (0x0fec)

lri $AR1,    #0xe640
lri $IX1,    #0xd88c
lri $WR1,    #0x8b04
cw 0x9
call send_back  ; 4077 (0x0fed)

lri $AR1,    #0xc9ee
lri $IX1,    #0xb316
lri $WR1,    #0x8b58
cw 0x9
call send_back  ; 4078 (0x0fee)

lri $AR1,    #0x3740
lri $IX1,    #0x45d4
lri $WR1,    #0x5210
cw 0x9
call send_back  ; 4079 (0x0fef)

lri $AR1,    #0xb8dc
lri $IX1,    #0xc7da
lri $WR1,    #0x9f20
cw 0x9
call send_back  ; 4080 (0x0ff0)

lri $AR1,    #0x216e
lri $IX1,    #0xc380
lri $WR1,    #0x1e32
cw 0x9
call send_back  ; 4081 (0x0ff1)

lri $AR1,    #0x97c6
lri $IX1,    #0x28ea
lri $WR1,    #0x2b34
cw 0x9
call send_back  ; 4082 (0x0ff2)

lri $AR1,    #0x751e
lri $IX1,    #0xcf6a
lri $WR1,    #0x1946
cw 0x9
call send_back  ; 4083 (0x0ff3)

lri $AR1,    #0xaed0
lri $IX1,    #0x9cb0
lri $WR1,    #0x2ff8
cw 0x9
call send_back  ; 4084 (0x0ff4)

lri $AR1,    #0xa654
lri $IX1,    #0x5e08
lri $WR1,    #0x6478
cw 0x9
call send_back  ; 4085 (0x0ff5)

lri $AR1,    #0xceda
lri $IX1,    #0x8376
lri $WR1,    #0xc3c2
cw 0x9
call send_back  ; 4086 (0x0ff6)

lri $AR1,    #0xbc56
lri $IX1,    #0xaa98
lri $WR1,    #0xcab8
cw 0x9
call send_back  ; 4087 (0x0ff7)

lri $AR1,    #0xd112
lri $IX1,    #0x93b8
lri $WR1,    #0x2d04
cw 0x9
call send_back  ; 4088 (0x0ff8)

lri $AR1,    #0x1640
lri $IX1,    #0xb092
lri $WR1,    #0xff68
cw 0x9
call send_back  ; 4089 (0x0ff9)

lri $AR1,    #0xd9e0
lri $IX1,    #0x146a
lri $WR1,    #0x2a54
cw 0x9
call send_back  ; 4090 (0x0ffa)

lri $AR1,    #0xadd2
lri $IX1,    #0x1206
lri $WR1,    #0xde48
cw 0x9
call send_back  ; 4091 (0x0ffb)

lri $AR1,    #0xc048
lri $IX1,    #0x31ce
lri $WR1,    #0x5310
cw 0x9
call send_back  ; 4092 (0x0ffc)

lri $AR1,    #0xd8aa
lri $IX1,    #0x2b1e
lri $WR1,    #0x2be6
cw 0x9
call send_back  ; 4093 (0x0ffd)

lri $AR1,    #0xdb84
lri $IX1,    #0x67a4
lri $WR1,    #0x5fb4
cw 0x9
call send_back  ; 4094 (0x0ffe)

lri $AR1,    #0xda1c
lri $IX1,    #0x1b74
lri $WR1,    #0x3c98
cw 0x9
call send_back  ; 4095 (0x0fff)

lri $AR1,    #0xc4fe
lri $IX1,    #0x1638
lri $WR1,    #0xd9ae
cw 0x9
call send_back  ; 4096 (0x1000)

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

