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

lri $AR1,    #0x86c6
lri $IX1,    #0xc26c
lri $WR1,    #0x4a8a
cw 0xd
call send_back  ; 4097 (0x1001)

lri $AR1,    #0x755c
lri $IX1,    #0xce44
lri $WR1,    #0x4ed4
cw 0xd
call send_back  ; 4098 (0x1002)

lri $AR1,    #0x6538
lri $IX1,    #0x2c36
lri $WR1,    #0xc192
cw 0xd
call send_back  ; 4099 (0x1003)

lri $AR1,    #0xa7d2
lri $IX1,    #0x51fc
lri $WR1,    #0xcd22
cw 0xd
call send_back  ; 4100 (0x1004)

lri $AR1,    #0xbda0
lri $IX1,    #0xd9be
lri $WR1,    #0x027a
cw 0xd
call send_back  ; 4101 (0x1005)

lri $AR1,    #0xbf5c
lri $IX1,    #0x5850
lri $WR1,    #0x400a
cw 0xd
call send_back  ; 4102 (0x1006)

lri $AR1,    #0x8cfc
lri $IX1,    #0xc626
lri $WR1,    #0xb588
cw 0xd
call send_back  ; 4103 (0x1007)

lri $AR1,    #0xa62c
lri $IX1,    #0x69c0
lri $WR1,    #0x68e4
cw 0xd
call send_back  ; 4104 (0x1008)

lri $AR1,    #0xeeb0
lri $IX1,    #0x3106
lri $WR1,    #0x56be
cw 0xd
call send_back  ; 4105 (0x1009)

lri $AR1,    #0x67d0
lri $IX1,    #0x54c2
lri $WR1,    #0xb8ce
cw 0xd
call send_back  ; 4106 (0x100a)

lri $AR1,    #0xe9ee
lri $IX1,    #0x251c
lri $WR1,    #0xd4ca
cw 0xd
call send_back  ; 4107 (0x100b)

lri $AR1,    #0xbb7a
lri $IX1,    #0x5a18
lri $WR1,    #0x6a96
cw 0xd
call send_back  ; 4108 (0x100c)

lri $AR1,    #0x46f8
lri $IX1,    #0x8fa2
lri $WR1,    #0x8612
cw 0xd
call send_back  ; 4109 (0x100d)

lri $AR1,    #0x73d8
lri $IX1,    #0xf01e
lri $WR1,    #0xffe8
cw 0xd
call send_back  ; 4110 (0x100e)

lri $AR1,    #0xc290
lri $IX1,    #0xa4ec
lri $WR1,    #0xfdc0
cw 0xd
call send_back  ; 4111 (0x100f)

lri $AR1,    #0xf6e8
lri $IX1,    #0x7664
lri $WR1,    #0xd574
cw 0xd
call send_back  ; 4112 (0x1010)

lri $AR1,    #0x4494
lri $IX1,    #0x6396
lri $WR1,    #0x0d4e
cw 0xd
call send_back  ; 4113 (0x1011)

lri $AR1,    #0x9856
lri $IX1,    #0x0996
lri $WR1,    #0xfe2e
cw 0xd
call send_back  ; 4114 (0x1012)

lri $AR1,    #0x4940
lri $IX1,    #0x67da
lri $WR1,    #0x1d7e
cw 0xd
call send_back  ; 4115 (0x1013)

lri $AR1,    #0x1594
lri $IX1,    #0x7a24
lri $WR1,    #0x1e5c
cw 0xd
call send_back  ; 4116 (0x1014)

lri $AR1,    #0x12dc
lri $IX1,    #0x0d46
lri $WR1,    #0xa42c
cw 0xd
call send_back  ; 4117 (0x1015)

lri $AR1,    #0xa372
lri $IX1,    #0xd692
lri $WR1,    #0xb3ba
cw 0xd
call send_back  ; 4118 (0x1016)

lri $AR1,    #0x1c90
lri $IX1,    #0x3590
lri $WR1,    #0x72e2
cw 0xd
call send_back  ; 4119 (0x1017)

lri $AR1,    #0x194c
lri $IX1,    #0xa4d8
lri $WR1,    #0x3834
cw 0xd
call send_back  ; 4120 (0x1018)

lri $AR1,    #0x44f2
lri $IX1,    #0x0fa4
lri $WR1,    #0x8cb0
cw 0xd
call send_back  ; 4121 (0x1019)

lri $AR1,    #0xee8c
lri $IX1,    #0x6cda
lri $WR1,    #0xf9a2
cw 0xd
call send_back  ; 4122 (0x101a)

lri $AR1,    #0xe21c
lri $IX1,    #0x0a9e
lri $WR1,    #0xc026
cw 0xd
call send_back  ; 4123 (0x101b)

lri $AR1,    #0x13bc
lri $IX1,    #0x3850
lri $WR1,    #0x78f0
cw 0xd
call send_back  ; 4124 (0x101c)

lri $AR1,    #0x06e0
lri $IX1,    #0xdcf4
lri $WR1,    #0x0cf2
cw 0xd
call send_back  ; 4125 (0x101d)

lri $AR1,    #0x50b4
lri $IX1,    #0xcb1c
lri $WR1,    #0xc832
cw 0xd
call send_back  ; 4126 (0x101e)

lri $AR1,    #0x53e2
lri $IX1,    #0x5066
lri $WR1,    #0x82fa
cw 0xd
call send_back  ; 4127 (0x101f)

lri $AR1,    #0xde36
lri $IX1,    #0x3182
lri $WR1,    #0xcf02
cw 0xd
call send_back  ; 4128 (0x1020)

lri $AR1,    #0x5d30
lri $IX1,    #0x77fa
lri $WR1,    #0x6b80
cw 0xd
call send_back  ; 4129 (0x1021)

lri $AR1,    #0x89a0
lri $IX1,    #0x7812
lri $WR1,    #0xb9a2
cw 0xd
call send_back  ; 4130 (0x1022)

lri $AR1,    #0x981a
lri $IX1,    #0x35a0
lri $WR1,    #0xcb20
cw 0xd
call send_back  ; 4131 (0x1023)

lri $AR1,    #0xf5d6
lri $IX1,    #0x93ec
lri $WR1,    #0x3f54
cw 0xd
call send_back  ; 4132 (0x1024)

lri $AR1,    #0x8b00
lri $IX1,    #0xa1bc
lri $WR1,    #0x4632
cw 0xd
call send_back  ; 4133 (0x1025)

lri $AR1,    #0x9d28
lri $IX1,    #0x5014
lri $WR1,    #0x014e
cw 0xd
call send_back  ; 4134 (0x1026)

lri $AR1,    #0x3b92
lri $IX1,    #0x1f48
lri $WR1,    #0xc77a
cw 0xd
call send_back  ; 4135 (0x1027)

lri $AR1,    #0x344e
lri $IX1,    #0x1f68
lri $WR1,    #0x23c2
cw 0xd
call send_back  ; 4136 (0x1028)

lri $AR1,    #0x369c
lri $IX1,    #0xcbae
lri $WR1,    #0x9b84
cw 0xd
call send_back  ; 4137 (0x1029)

lri $AR1,    #0x1740
lri $IX1,    #0x992a
lri $WR1,    #0x8f6e
cw 0xd
call send_back  ; 4138 (0x102a)

lri $AR1,    #0xa680
lri $IX1,    #0xaa1c
lri $WR1,    #0xa1b2
cw 0xd
call send_back  ; 4139 (0x102b)

lri $AR1,    #0x9d0e
lri $IX1,    #0xc87a
lri $WR1,    #0x2212
cw 0xd
call send_back  ; 4140 (0x102c)

lri $AR1,    #0x649a
lri $IX1,    #0x8674
lri $WR1,    #0x5e68
cw 0xd
call send_back  ; 4141 (0x102d)

lri $AR1,    #0xb068
lri $IX1,    #0xf5b4
lri $WR1,    #0x9950
cw 0xd
call send_back  ; 4142 (0x102e)

lri $AR1,    #0x63d8
lri $IX1,    #0x3494
lri $WR1,    #0xc03e
cw 0xd
call send_back  ; 4143 (0x102f)

lri $AR1,    #0xf706
lri $IX1,    #0xcb3a
lri $WR1,    #0x5364
cw 0xd
call send_back  ; 4144 (0x1030)

lri $AR1,    #0xe16e
lri $IX1,    #0xa518
lri $WR1,    #0xeca8
cw 0xd
call send_back  ; 4145 (0x1031)

lri $AR1,    #0x4aa8
lri $IX1,    #0x4d74
lri $WR1,    #0x3e0c
cw 0xd
call send_back  ; 4146 (0x1032)

lri $AR1,    #0x1330
lri $IX1,    #0x6958
lri $WR1,    #0x070c
cw 0xd
call send_back  ; 4147 (0x1033)

lri $AR1,    #0x6ad6
lri $IX1,    #0xb09c
lri $WR1,    #0x9438
cw 0xd
call send_back  ; 4148 (0x1034)

lri $AR1,    #0x317e
lri $IX1,    #0xccbe
lri $WR1,    #0x3fb4
cw 0xd
call send_back  ; 4149 (0x1035)

lri $AR1,    #0xbf0e
lri $IX1,    #0x4528
lri $WR1,    #0x7fc4
cw 0xd
call send_back  ; 4150 (0x1036)

lri $AR1,    #0x5d0e
lri $IX1,    #0xc236
lri $WR1,    #0x2e88
cw 0xd
call send_back  ; 4151 (0x1037)

lri $AR1,    #0xdd92
lri $IX1,    #0x1e52
lri $WR1,    #0x74dc
cw 0xd
call send_back  ; 4152 (0x1038)

lri $AR1,    #0x9fc2
lri $IX1,    #0xa8de
lri $WR1,    #0x3002
cw 0xd
call send_back  ; 4153 (0x1039)

lri $AR1,    #0x739a
lri $IX1,    #0x5caa
lri $WR1,    #0x4950
cw 0xd
call send_back  ; 4154 (0x103a)

lri $AR1,    #0xc1c0
lri $IX1,    #0x7ba2
lri $WR1,    #0xc944
cw 0xd
call send_back  ; 4155 (0x103b)

lri $AR1,    #0x3fec
lri $IX1,    #0xc91e
lri $WR1,    #0xc264
cw 0xd
call send_back  ; 4156 (0x103c)

lri $AR1,    #0x82dc
lri $IX1,    #0x7c00
lri $WR1,    #0xa2de
cw 0xd
call send_back  ; 4157 (0x103d)

lri $AR1,    #0x31c0
lri $IX1,    #0x4b7c
lri $WR1,    #0xb87e
cw 0xd
call send_back  ; 4158 (0x103e)

lri $AR1,    #0x9aba
lri $IX1,    #0xf0a0
lri $WR1,    #0x1004
cw 0xd
call send_back  ; 4159 (0x103f)

lri $AR1,    #0x89f6
lri $IX1,    #0x61b0
lri $WR1,    #0x2028
cw 0xd
call send_back  ; 4160 (0x1040)

lri $AR1,    #0x50a4
lri $IX1,    #0x44ec
lri $WR1,    #0xfacc
cw 0xd
call send_back  ; 4161 (0x1041)

lri $AR1,    #0x355e
lri $IX1,    #0xb3ee
lri $WR1,    #0x64ce
cw 0xd
call send_back  ; 4162 (0x1042)

lri $AR1,    #0x2666
lri $IX1,    #0xd74e
lri $WR1,    #0x0c5a
cw 0xd
call send_back  ; 4163 (0x1043)

lri $AR1,    #0x9b52
lri $IX1,    #0xd3f8
lri $WR1,    #0xa9b8
cw 0xd
call send_back  ; 4164 (0x1044)

lri $AR1,    #0x984e
lri $IX1,    #0x306a
lri $WR1,    #0xa256
cw 0xd
call send_back  ; 4165 (0x1045)

lri $AR1,    #0xec2e
lri $IX1,    #0xc4a8
lri $WR1,    #0xda9c
cw 0xd
call send_back  ; 4166 (0x1046)

lri $AR1,    #0xf688
lri $IX1,    #0x55cc
lri $WR1,    #0x39c2
cw 0xd
call send_back  ; 4167 (0x1047)

lri $AR1,    #0xb7f6
lri $IX1,    #0xb0fe
lri $WR1,    #0x1550
cw 0xd
call send_back  ; 4168 (0x1048)

lri $AR1,    #0x7afe
lri $IX1,    #0x8f74
lri $WR1,    #0x096e
cw 0xd
call send_back  ; 4169 (0x1049)

lri $AR1,    #0x5dc8
lri $IX1,    #0xe0cc
lri $WR1,    #0x02e6
cw 0xd
call send_back  ; 4170 (0x104a)

lri $AR1,    #0x9904
lri $IX1,    #0x67be
lri $WR1,    #0x3532
cw 0xd
call send_back  ; 4171 (0x104b)

lri $AR1,    #0xd956
lri $IX1,    #0x1b44
lri $WR1,    #0x4eda
cw 0xd
call send_back  ; 4172 (0x104c)

lri $AR1,    #0xbad8
lri $IX1,    #0x09f4
lri $WR1,    #0xed38
cw 0xd
call send_back  ; 4173 (0x104d)

lri $AR1,    #0xb40e
lri $IX1,    #0xe688
lri $WR1,    #0xaf7e
cw 0xd
call send_back  ; 4174 (0x104e)

lri $AR1,    #0xd34c
lri $IX1,    #0x8c3c
lri $WR1,    #0x933e
cw 0xd
call send_back  ; 4175 (0x104f)

lri $AR1,    #0x8c24
lri $IX1,    #0x0d8c
lri $WR1,    #0x035e
cw 0xd
call send_back  ; 4176 (0x1050)

lri $AR1,    #0xf8a8
lri $IX1,    #0x45f4
lri $WR1,    #0x4272
cw 0xd
call send_back  ; 4177 (0x1051)

lri $AR1,    #0xdc30
lri $IX1,    #0x2c36
lri $WR1,    #0x03c0
cw 0xd
call send_back  ; 4178 (0x1052)

lri $AR1,    #0x4824
lri $IX1,    #0x3454
lri $WR1,    #0x749e
cw 0xd
call send_back  ; 4179 (0x1053)

lri $AR1,    #0x9288
lri $IX1,    #0x5446
lri $WR1,    #0x14fe
cw 0xd
call send_back  ; 4180 (0x1054)

lri $AR1,    #0x37e6
lri $IX1,    #0xbb5e
lri $WR1,    #0x9a40
cw 0xd
call send_back  ; 4181 (0x1055)

lri $AR1,    #0xb81a
lri $IX1,    #0xcbe8
lri $WR1,    #0xf1d2
cw 0xd
call send_back  ; 4182 (0x1056)

lri $AR1,    #0xe004
lri $IX1,    #0xe9f8
lri $WR1,    #0xf15a
cw 0xd
call send_back  ; 4183 (0x1057)

lri $AR1,    #0x02d6
lri $IX1,    #0x1154
lri $WR1,    #0x6f6a
cw 0xd
call send_back  ; 4184 (0x1058)

lri $AR1,    #0x4160
lri $IX1,    #0xec2e
lri $WR1,    #0x598e
cw 0xd
call send_back  ; 4185 (0x1059)

lri $AR1,    #0xd878
lri $IX1,    #0x5588
lri $WR1,    #0x844e
cw 0xd
call send_back  ; 4186 (0x105a)

lri $AR1,    #0xcbf2
lri $IX1,    #0xa77e
lri $WR1,    #0xf254
cw 0xd
call send_back  ; 4187 (0x105b)

lri $AR1,    #0x1ac8
lri $IX1,    #0x226e
lri $WR1,    #0x34de
cw 0xd
call send_back  ; 4188 (0x105c)

lri $AR1,    #0xfc4a
lri $IX1,    #0xb930
lri $WR1,    #0x9adc
cw 0xd
call send_back  ; 4189 (0x105d)

lri $AR1,    #0x371c
lri $IX1,    #0x7f72
lri $WR1,    #0x2c8a
cw 0xd
call send_back  ; 4190 (0x105e)

lri $AR1,    #0x7ad4
lri $IX1,    #0x5792
lri $WR1,    #0x9164
cw 0xd
call send_back  ; 4191 (0x105f)

lri $AR1,    #0x7f2e
lri $IX1,    #0x41f4
lri $WR1,    #0xbb92
cw 0xd
call send_back  ; 4192 (0x1060)

lri $AR1,    #0x55d0
lri $IX1,    #0x0b30
lri $WR1,    #0x129e
cw 0xd
call send_back  ; 4193 (0x1061)

lri $AR1,    #0xea0a
lri $IX1,    #0xed84
lri $WR1,    #0xcd46
cw 0xd
call send_back  ; 4194 (0x1062)

lri $AR1,    #0x594c
lri $IX1,    #0xf5b4
lri $WR1,    #0x97f2
cw 0xd
call send_back  ; 4195 (0x1063)

lri $AR1,    #0x2036
lri $IX1,    #0x3a4e
lri $WR1,    #0x53ba
cw 0xd
call send_back  ; 4196 (0x1064)

lri $AR1,    #0xcf3c
lri $IX1,    #0x88b8
lri $WR1,    #0xce18
cw 0xd
call send_back  ; 4197 (0x1065)

lri $AR1,    #0x46e0
lri $IX1,    #0xa6be
lri $WR1,    #0xb9e4
cw 0xd
call send_back  ; 4198 (0x1066)

lri $AR1,    #0xb40a
lri $IX1,    #0x4726
lri $WR1,    #0x340c
cw 0xd
call send_back  ; 4199 (0x1067)

lri $AR1,    #0x7a14
lri $IX1,    #0x03b6
lri $WR1,    #0x4dfa
cw 0xd
call send_back  ; 4200 (0x1068)

lri $AR1,    #0x4a84
lri $IX1,    #0x904a
lri $WR1,    #0x24a8
cw 0xd
call send_back  ; 4201 (0x1069)

lri $AR1,    #0x6ed8
lri $IX1,    #0x5154
lri $WR1,    #0x6228
cw 0xd
call send_back  ; 4202 (0x106a)

lri $AR1,    #0x94b0
lri $IX1,    #0xa472
lri $WR1,    #0x7bfe
cw 0xd
call send_back  ; 4203 (0x106b)

lri $AR1,    #0x6a40
lri $IX1,    #0x24a2
lri $WR1,    #0x3a5e
cw 0xd
call send_back  ; 4204 (0x106c)

lri $AR1,    #0x2d62
lri $IX1,    #0x2f12
lri $WR1,    #0xb3b0
cw 0xd
call send_back  ; 4205 (0x106d)

lri $AR1,    #0xbb3a
lri $IX1,    #0xcd4a
lri $WR1,    #0xe264
cw 0xd
call send_back  ; 4206 (0x106e)

lri $AR1,    #0xf11a
lri $IX1,    #0xcb54
lri $WR1,    #0xd86c
cw 0xd
call send_back  ; 4207 (0x106f)

lri $AR1,    #0x5134
lri $IX1,    #0x2c8c
lri $WR1,    #0xd7d2
cw 0xd
call send_back  ; 4208 (0x1070)

lri $AR1,    #0x72f4
lri $IX1,    #0x4c1c
lri $WR1,    #0xbcda
cw 0xd
call send_back  ; 4209 (0x1071)

lri $AR1,    #0x025a
lri $IX1,    #0x458c
lri $WR1,    #0x303a
cw 0xd
call send_back  ; 4210 (0x1072)

lri $AR1,    #0x0546
lri $IX1,    #0x313e
lri $WR1,    #0xece8
cw 0xd
call send_back  ; 4211 (0x1073)

lri $AR1,    #0xb89a
lri $IX1,    #0xa152
lri $WR1,    #0xac1a
cw 0xd
call send_back  ; 4212 (0x1074)

lri $AR1,    #0xc3c6
lri $IX1,    #0xc018
lri $WR1,    #0xbf02
cw 0xd
call send_back  ; 4213 (0x1075)

lri $AR1,    #0x2d0a
lri $IX1,    #0x4f80
lri $WR1,    #0x1bd2
cw 0xd
call send_back  ; 4214 (0x1076)

lri $AR1,    #0x2fa0
lri $IX1,    #0xce46
lri $WR1,    #0x1708
cw 0xd
call send_back  ; 4215 (0x1077)

lri $AR1,    #0x3608
lri $IX1,    #0x370e
lri $WR1,    #0xbc4e
cw 0xd
call send_back  ; 4216 (0x1078)

lri $AR1,    #0x2c7c
lri $IX1,    #0x9186
lri $WR1,    #0xa184
cw 0xd
call send_back  ; 4217 (0x1079)

lri $AR1,    #0x1494
lri $IX1,    #0x3126
lri $WR1,    #0xdd8e
cw 0xd
call send_back  ; 4218 (0x107a)

lri $AR1,    #0x27e2
lri $IX1,    #0xd8a6
lri $WR1,    #0x1c06
cw 0xd
call send_back  ; 4219 (0x107b)

lri $AR1,    #0xc23e
lri $IX1,    #0xaa6a
lri $WR1,    #0x5dca
cw 0xd
call send_back  ; 4220 (0x107c)

lri $AR1,    #0x8adc
lri $IX1,    #0x0d76
lri $WR1,    #0x4a1a
cw 0xd
call send_back  ; 4221 (0x107d)

lri $AR1,    #0x2136
lri $IX1,    #0xe5ac
lri $WR1,    #0x6846
cw 0xd
call send_back  ; 4222 (0x107e)

lri $AR1,    #0xe862
lri $IX1,    #0x68ae
lri $WR1,    #0x1ccc
cw 0xd
call send_back  ; 4223 (0x107f)

lri $AR1,    #0x3cd2
lri $IX1,    #0x157c
lri $WR1,    #0x97ac
cw 0xd
call send_back  ; 4224 (0x1080)

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

