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

lri $AR1,    #0xa8e2
lri $IX1,    #0xcdac
lri $WR1,    #0x7cf1
cw 0xd
call send_back  ; 65209 (0xfeb9)

lri $AR1,    #0x956c
lri $IX1,    #0xc558
lri $WR1,    #0xd565
cw 0xd
call send_back  ; 65210 (0xfeba)

lri $AR1,    #0x6f35
lri $IX1,    #0xb200
lri $WR1,    #0x586d
cw 0xd
call send_back  ; 65211 (0xfebb)

lri $AR1,    #0x8853
lri $IX1,    #0xb586
lri $WR1,    #0x8747
cw 0xd
call send_back  ; 65212 (0xfebc)

lri $AR1,    #0xa4e8
lri $IX1,    #0x91c4
lri $WR1,    #0x85f6
cw 0xd
call send_back  ; 65213 (0xfebd)

lri $AR1,    #0x7abd
lri $IX1,    #0x91a8
lri $WR1,    #0x8471
cw 0xd
call send_back  ; 65214 (0xfebe)

lri $AR1,    #0x93be
lri $IX1,    #0xf81a
lri $WR1,    #0xe26f
cw 0xd
call send_back  ; 65215 (0xfebf)

lri $AR1,    #0xcaa9
lri $IX1,    #0x8684
lri $WR1,    #0x7859
cw 0xd
call send_back  ; 65216 (0xfec0)

lri $AR1,    #0x64b4
lri $IX1,    #0xd440
lri $WR1,    #0x7972
cw 0xd
call send_back  ; 65217 (0xfec1)

lri $AR1,    #0xca86
lri $IX1,    #0xabce
lri $WR1,    #0x70bb
cw 0xd
call send_back  ; 65218 (0xfec2)

lri $AR1,    #0x764d
lri $IX1,    #0x5212
lri $WR1,    #0x4bbf
cw 0xd
call send_back  ; 65219 (0xfec3)

lri $AR1,    #0xb43b
lri $IX1,    #0x5f6e
lri $WR1,    #0x9bb2
cw 0xd
call send_back  ; 65220 (0xfec4)

lri $AR1,    #0x2e53
lri $IX1,    #0x8a12
lri $WR1,    #0x8f1a
cw 0xd
call send_back  ; 65221 (0xfec5)

lri $AR1,    #0x4bad
lri $IX1,    #0x4c44
lri $WR1,    #0x0369
cw 0xd
call send_back  ; 65222 (0xfec6)

lri $AR1,    #0x8f2a
lri $IX1,    #0x90f4
lri $WR1,    #0x4fbe
cw 0xd
call send_back  ; 65223 (0xfec7)

lri $AR1,    #0x38c9
lri $IX1,    #0x6476
lri $WR1,    #0x6f41
cw 0xd
call send_back  ; 65224 (0xfec8)

lri $AR1,    #0xd88a
lri $IX1,    #0xeea0
lri $WR1,    #0x5b3c
cw 0xd
call send_back  ; 65225 (0xfec9)

lri $AR1,    #0x210b
lri $IX1,    #0x9734
lri $WR1,    #0x9276
cw 0xd
call send_back  ; 65226 (0xfeca)

lri $AR1,    #0x7bd4
lri $IX1,    #0x04c2
lri $WR1,    #0x5ce8
cw 0xd
call send_back  ; 65227 (0xfecb)

lri $AR1,    #0x8887
lri $IX1,    #0x8a02
lri $WR1,    #0x304d
cw 0xd
call send_back  ; 65228 (0xfecc)

lri $AR1,    #0xabd3
lri $IX1,    #0x6cc8
lri $WR1,    #0x93bd
cw 0xd
call send_back  ; 65229 (0xfecd)

lri $AR1,    #0x8272
lri $IX1,    #0x1d80
lri $WR1,    #0xddb5
cw 0xd
call send_back  ; 65230 (0xfece)

lri $AR1,    #0x5005
lri $IX1,    #0xd576
lri $WR1,    #0x89cb
cw 0xd
call send_back  ; 65231 (0xfecf)

lri $AR1,    #0x3925
lri $IX1,    #0x05b4
lri $WR1,    #0x8875
cw 0xd
call send_back  ; 65232 (0xfed0)

lri $AR1,    #0xa365
lri $IX1,    #0x67e0
lri $WR1,    #0xb519
cw 0xd
call send_back  ; 65233 (0xfed1)

lri $AR1,    #0x55ac
lri $IX1,    #0x3dc8
lri $WR1,    #0x6bd1
cw 0xd
call send_back  ; 65234 (0xfed2)

lri $AR1,    #0xc6ad
lri $IX1,    #0x3c00
lri $WR1,    #0x6a12
cw 0xd
call send_back  ; 65235 (0xfed3)

lri $AR1,    #0xcec9
lri $IX1,    #0x9f62
lri $WR1,    #0x9ab1
cw 0xd
call send_back  ; 65236 (0xfed4)

lri $AR1,    #0x8e29
lri $IX1,    #0xe4b6
lri $WR1,    #0x8767
cw 0xd
call send_back  ; 65237 (0xfed5)

lri $AR1,    #0x277c
lri $IX1,    #0x655e
lri $WR1,    #0x474d
cw 0xd
call send_back  ; 65238 (0xfed6)

lri $AR1,    #0x52f5
lri $IX1,    #0x9b4e
lri $WR1,    #0x437d
cw 0xd
call send_back  ; 65239 (0xfed7)

lri $AR1,    #0xa50f
lri $IX1,    #0xe21e
lri $WR1,    #0x7051
cw 0xd
call send_back  ; 65240 (0xfed8)

lri $AR1,    #0x8fc7
lri $IX1,    #0x1290
lri $WR1,    #0x8353
cw 0xd
call send_back  ; 65241 (0xfed9)

lri $AR1,    #0x049c
lri $IX1,    #0x3150
lri $WR1,    #0x1b86
cw 0xd
call send_back  ; 65242 (0xfeda)

lri $AR1,    #0x913b
lri $IX1,    #0x7942
lri $WR1,    #0xa2e8
cw 0xd
call send_back  ; 65243 (0xfedb)

lri $AR1,    #0x3810
lri $IX1,    #0x2d32
lri $WR1,    #0x45fa
cw 0xd
call send_back  ; 65244 (0xfedc)

lri $AR1,    #0x8198
lri $IX1,    #0xb42e
lri $WR1,    #0x9724
cw 0xd
call send_back  ; 65245 (0xfedd)

lri $AR1,    #0x32bd
lri $IX1,    #0x6f60
lri $WR1,    #0xb1ac
cw 0xd
call send_back  ; 65246 (0xfede)

lri $AR1,    #0x9818
lri $IX1,    #0x57b2
lri $WR1,    #0x5141
cw 0xd
call send_back  ; 65247 (0xfedf)

lri $AR1,    #0xcd59
lri $IX1,    #0xa51a
lri $WR1,    #0xb8ac
cw 0xd
call send_back  ; 65248 (0xfee0)

lri $AR1,    #0xb3b2
lri $IX1,    #0x68c4
lri $WR1,    #0x4bb5
cw 0xd
call send_back  ; 65249 (0xfee1)

lri $AR1,    #0x498b
lri $IX1,    #0xff0a
lri $WR1,    #0xcdcc
cw 0xd
call send_back  ; 65250 (0xfee2)

lri $AR1,    #0xa95d
lri $IX1,    #0x6d76
lri $WR1,    #0xa894
cw 0xd
call send_back  ; 65251 (0xfee3)

lri $AR1,    #0x7cf0
lri $IX1,    #0x0490
lri $WR1,    #0x52c0
cw 0xd
call send_back  ; 65252 (0xfee4)

lri $AR1,    #0x8de1
lri $IX1,    #0xd502
lri $WR1,    #0xc97c
cw 0xd
call send_back  ; 65253 (0xfee5)

lri $AR1,    #0xaba8
lri $IX1,    #0x9286
lri $WR1,    #0x6bcb
cw 0xd
call send_back  ; 65254 (0xfee6)

lri $AR1,    #0xc313
lri $IX1,    #0x3f52
lri $WR1,    #0x48ff
cw 0xd
call send_back  ; 65255 (0xfee7)

lri $AR1,    #0x9a56
lri $IX1,    #0x4d86
lri $WR1,    #0x78e3
cw 0xd
call send_back  ; 65256 (0xfee8)

lri $AR1,    #0x90a8
lri $IX1,    #0xac0c
lri $WR1,    #0xbd87
cw 0xd
call send_back  ; 65257 (0xfee9)

lri $AR1,    #0xdfad
lri $IX1,    #0x4fbc
lri $WR1,    #0xdc61
cw 0xd
call send_back  ; 65258 (0xfeea)

lri $AR1,    #0x9078
lri $IX1,    #0x190e
lri $WR1,    #0xadbe
cw 0xd
call send_back  ; 65259 (0xfeeb)

lri $AR1,    #0x7d7c
lri $IX1,    #0x5a24
lri $WR1,    #0xb71e
cw 0xd
call send_back  ; 65260 (0xfeec)

lri $AR1,    #0xb645
lri $IX1,    #0x9882
lri $WR1,    #0x1e7b
cw 0xd
call send_back  ; 65261 (0xfeed)

lri $AR1,    #0xc92e
lri $IX1,    #0x5154
lri $WR1,    #0xc223
cw 0xd
call send_back  ; 65262 (0xfeee)

lri $AR1,    #0xbb06
lri $IX1,    #0x6662
lri $WR1,    #0xa222
cw 0xd
call send_back  ; 65263 (0xfeef)

lri $AR1,    #0x2bd6
lri $IX1,    #0x4dc8
lri $WR1,    #0x6dcf
cw 0xd
call send_back  ; 65264 (0xfef0)

lri $AR1,    #0x33ac
lri $IX1,    #0x057c
lri $WR1,    #0x5195
cw 0xd
call send_back  ; 65265 (0xfef1)

lri $AR1,    #0x41b4
lri $IX1,    #0x07a6
lri $WR1,    #0x6e7d
cw 0xd
call send_back  ; 65266 (0xfef2)

lri $AR1,    #0x9b6c
lri $IX1,    #0xec00
lri $WR1,    #0x9693
cw 0xd
call send_back  ; 65267 (0xfef3)

lri $AR1,    #0x6145
lri $IX1,    #0xe60a
lri $WR1,    #0xdeae
cw 0xd
call send_back  ; 65268 (0xfef4)

lri $AR1,    #0x9987
lri $IX1,    #0xc784
lri $WR1,    #0xafaa
cw 0xd
call send_back  ; 65269 (0xfef5)

lri $AR1,    #0x91c2
lri $IX1,    #0x79ca
lri $WR1,    #0x9eb1
cw 0xd
call send_back  ; 65270 (0xfef6)

lri $AR1,    #0xca93
lri $IX1,    #0xe090
lri $WR1,    #0x5594
cw 0xd
call send_back  ; 65271 (0xfef7)

lri $AR1,    #0x792b
lri $IX1,    #0xabbe
lri $WR1,    #0x99ca
cw 0xd
call send_back  ; 65272 (0xfef8)

lri $AR1,    #0x553e
lri $IX1,    #0xa5a4
lri $WR1,    #0x6a28
cw 0xd
call send_back  ; 65273 (0xfef9)

lri $AR1,    #0xc9d1
lri $IX1,    #0x668a
lri $WR1,    #0x98db
cw 0xd
call send_back  ; 65274 (0xfefa)

lri $AR1,    #0x929c
lri $IX1,    #0xe5ba
lri $WR1,    #0x98bd
cw 0xd
call send_back  ; 65275 (0xfefb)

lri $AR1,    #0x375d
lri $IX1,    #0x03e8
lri $WR1,    #0xca8a
cw 0xd
call send_back  ; 65276 (0xfefc)

lri $AR1,    #0x91eb
lri $IX1,    #0xc258
lri $WR1,    #0x5013
cw 0xd
call send_back  ; 65277 (0xfefd)

lri $AR1,    #0x7b55
lri $IX1,    #0x456c
lri $WR1,    #0xa8ed
cw 0xd
call send_back  ; 65278 (0xfefe)

lri $AR1,    #0xbfde
lri $IX1,    #0xe112
lri $WR1,    #0x7dbd
cw 0xd
call send_back  ; 65279 (0xfeff)

lri $AR1,    #0x7128
lri $IX1,    #0x20cc
lri $WR1,    #0x64ae
cw 0xd
call send_back  ; 65280 (0xff00)

lri $AR1,    #0x7962
lri $IX1,    #0xe496
lri $WR1,    #0x7309
cw 0xd
call send_back  ; 65281 (0xff01)

lri $AR1,    #0x51b7
lri $IX1,    #0x27aa
lri $WR1,    #0x7db3
cw 0xd
call send_back  ; 65282 (0xff02)

lri $AR1,    #0x51ea
lri $IX1,    #0xb530
lri $WR1,    #0x5b62
cw 0xd
call send_back  ; 65283 (0xff03)

lri $AR1,    #0x9656
lri $IX1,    #0xd2de
lri $WR1,    #0x314c
cw 0xd
call send_back  ; 65284 (0xff04)

lri $AR1,    #0x5530
lri $IX1,    #0xa0d0
lri $WR1,    #0xac40
cw 0xd
call send_back  ; 65285 (0xff05)

lri $AR1,    #0x8b59
lri $IX1,    #0x793a
lri $WR1,    #0x65d1
cw 0xd
call send_back  ; 65286 (0xff06)

lri $AR1,    #0x0c87
lri $IX1,    #0xda98
lri $WR1,    #0x768a
cw 0xd
call send_back  ; 65287 (0xff07)

lri $AR1,    #0x9a20
lri $IX1,    #0x39d4
lri $WR1,    #0xbbd4
cw 0xd
call send_back  ; 65288 (0xff08)

lri $AR1,    #0x8f99
lri $IX1,    #0x61e6
lri $WR1,    #0x8184
cw 0xd
call send_back  ; 65289 (0xff09)

lri $AR1,    #0xd297
lri $IX1,    #0xa1c8
lri $WR1,    #0x6cc1
cw 0xd
call send_back  ; 65290 (0xff0a)

lri $AR1,    #0x68b7
lri $IX1,    #0xd8d2
lri $WR1,    #0x972f
cw 0xd
call send_back  ; 65291 (0xff0b)

lri $AR1,    #0x3c41
lri $IX1,    #0x5590
lri $WR1,    #0x9f0c
cw 0xd
call send_back  ; 65292 (0xff0c)

lri $AR1,    #0x949a
lri $IX1,    #0x523c
lri $WR1,    #0xea3a
cw 0xd
call send_back  ; 65293 (0xff0d)

lri $AR1,    #0x76c1
lri $IX1,    #0x85b8
lri $WR1,    #0xd7d7
cw 0xd
call send_back  ; 65294 (0xff0e)

lri $AR1,    #0x65b1
lri $IX1,    #0x9f56
lri $WR1,    #0x7d63
cw 0xd
call send_back  ; 65295 (0xff0f)

lri $AR1,    #0xb1e4
lri $IX1,    #0x7736
lri $WR1,    #0xb217
cw 0xd
call send_back  ; 65296 (0xff10)

lri $AR1,    #0x92e6
lri $IX1,    #0x24a6
lri $WR1,    #0x7462
cw 0xd
call send_back  ; 65297 (0xff11)

lri $AR1,    #0x8524
lri $IX1,    #0xe728
lri $WR1,    #0x833f
cw 0xd
call send_back  ; 65298 (0xff12)

lri $AR1,    #0x39e6
lri $IX1,    #0xbe96
lri $WR1,    #0xb64f
cw 0xd
call send_back  ; 65299 (0xff13)

lri $AR1,    #0xaeb1
lri $IX1,    #0x921e
lri $WR1,    #0x9568
cw 0xd
call send_back  ; 65300 (0xff14)

lri $AR1,    #0x9cea
lri $IX1,    #0xbd72
lri $WR1,    #0xc98e
cw 0xd
call send_back  ; 65301 (0xff15)

lri $AR1,    #0xc1ff
lri $IX1,    #0xa6e8
lri $WR1,    #0x9efa
cw 0xd
call send_back  ; 65302 (0xff16)

lri $AR1,    #0x63fd
lri $IX1,    #0x80fa
lri $WR1,    #0xd134
cw 0xd
call send_back  ; 65303 (0xff17)

lri $AR1,    #0x4dc6
lri $IX1,    #0x6cd8
lri $WR1,    #0x9fd0
cw 0xd
call send_back  ; 65304 (0xff18)

lri $AR1,    #0xa9c9
lri $IX1,    #0xbb66
lri $WR1,    #0x13ed
cw 0xd
call send_back  ; 65305 (0xff19)

lri $AR1,    #0x818f
lri $IX1,    #0xe588
lri $WR1,    #0x4be5
cw 0xd
call send_back  ; 65306 (0xff1a)

lri $AR1,    #0x9bd9
lri $IX1,    #0xe3ea
lri $WR1,    #0x746a
cw 0xd
call send_back  ; 65307 (0xff1b)

lri $AR1,    #0xdab9
lri $IX1,    #0xb22a
lri $WR1,    #0xab77
cw 0xd
call send_back  ; 65308 (0xff1c)

lri $AR1,    #0x7662
lri $IX1,    #0xe0c2
lri $WR1,    #0x4343
cw 0xd
call send_back  ; 65309 (0xff1d)

lri $AR1,    #0x6105
lri $IX1,    #0x044c
lri $WR1,    #0x98b3
cw 0xd
call send_back  ; 65310 (0xff1e)

lri $AR1,    #0x238f
lri $IX1,    #0x70ba
lri $WR1,    #0xd264
cw 0xd
call send_back  ; 65311 (0xff1f)

lri $AR1,    #0x7a98
lri $IX1,    #0xe218
lri $WR1,    #0x42db
cw 0xd
call send_back  ; 65312 (0xff20)

lri $AR1,    #0xc647
lri $IX1,    #0x5c3a
lri $WR1,    #0xb1ef
cw 0xd
call send_back  ; 65313 (0xff21)

lri $AR1,    #0xdf8a
lri $IX1,    #0x862e
lri $WR1,    #0xdeef
cw 0xd
call send_back  ; 65314 (0xff22)

lri $AR1,    #0x7871
lri $IX1,    #0xf5c0
lri $WR1,    #0x7eaa
cw 0xd
call send_back  ; 65315 (0xff23)

lri $AR1,    #0xb4e9
lri $IX1,    #0x22d8
lri $WR1,    #0xadd4
cw 0xd
call send_back  ; 65316 (0xff24)

lri $AR1,    #0x84c4
lri $IX1,    #0xf1fc
lri $WR1,    #0xa9e5
cw 0xd
call send_back  ; 65317 (0xff25)

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