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

lri $AR1,    #0x8e37
lri $IX1,    #0xef90
lri $WR1,    #0xc6a4
cw 0xd
call send_back  ; 11252 (0x2bf4)

lri $AR1,    #0x6fd6
lri $IX1,    #0xd40e
lri $WR1,    #0x3154
cw 0xd
call send_back  ; 11253 (0x2bf5)

lri $AR1,    #0x328a
lri $IX1,    #0x255c
lri $WR1,    #0xb800
cw 0xd
call send_back  ; 11254 (0x2bf6)

lri $AR1,    #0x596a
lri $IX1,    #0x0d6a
lri $WR1,    #0xe1d1
cw 0xd
call send_back  ; 11255 (0x2bf7)

lri $AR1,    #0xe15e
lri $IX1,    #0x7192
lri $WR1,    #0x83d7
cw 0xd
call send_back  ; 11256 (0x2bf8)

lri $AR1,    #0xfd12
lri $IX1,    #0x9ee0
lri $WR1,    #0x44bd
cw 0xd
call send_back  ; 11257 (0x2bf9)

lri $AR1,    #0x83c3
lri $IX1,    #0xab92
lri $WR1,    #0xacc9
cw 0xd
call send_back  ; 11258 (0x2bfa)

lri $AR1,    #0x1ca0
lri $IX1,    #0x862c
lri $WR1,    #0xf92d
cw 0xd
call send_back  ; 11259 (0x2bfb)

lri $AR1,    #0x9822
lri $IX1,    #0x4dda
lri $WR1,    #0x7f3e
cw 0xd
call send_back  ; 11260 (0x2bfc)

lri $AR1,    #0x2414
lri $IX1,    #0x2794
lri $WR1,    #0x25a3
cw 0xd
call send_back  ; 11261 (0x2bfd)

lri $AR1,    #0x76c0
lri $IX1,    #0x2eba
lri $WR1,    #0xb70a
cw 0xd
call send_back  ; 11262 (0x2bfe)

lri $AR1,    #0x90e0
lri $IX1,    #0x3f6e
lri $WR1,    #0xf372
cw 0xd
call send_back  ; 11263 (0x2bff)

lri $AR1,    #0xadcf
lri $IX1,    #0x0caa
lri $WR1,    #0x2a99
cw 0xd
call send_back  ; 11264 (0x2c00)

lri $AR1,    #0x44b2
lri $IX1,    #0x1b26
lri $WR1,    #0xb3a5
cw 0xd
call send_back  ; 11265 (0x2c01)

lri $AR1,    #0x7cec
lri $IX1,    #0xb60e
lri $WR1,    #0xa391
cw 0xd
call send_back  ; 11266 (0x2c02)

lri $AR1,    #0x8bb9
lri $IX1,    #0xa1c4
lri $WR1,    #0x956a
cw 0xd
call send_back  ; 11267 (0x2c03)

lri $AR1,    #0x782d
lri $IX1,    #0x147c
lri $WR1,    #0x8cff
cw 0xd
call send_back  ; 11268 (0x2c04)

lri $AR1,    #0x9e75
lri $IX1,    #0x3400
lri $WR1,    #0xd5f8
cw 0xd
call send_back  ; 11269 (0x2c05)

lri $AR1,    #0xdaa8
lri $IX1,    #0xe384
lri $WR1,    #0x1efe
cw 0xd
call send_back  ; 11270 (0x2c06)

lri $AR1,    #0x66f4
lri $IX1,    #0xebb8
lri $WR1,    #0xd1f6
cw 0xd
call send_back  ; 11271 (0x2c07)

lri $AR1,    #0x907a
lri $IX1,    #0x5afc
lri $WR1,    #0x2fde
cw 0xd
call send_back  ; 11272 (0x2c08)

lri $AR1,    #0x51a3
lri $IX1,    #0x4308
lri $WR1,    #0x6068
cw 0xd
call send_back  ; 11273 (0x2c09)

lri $AR1,    #0x804f
lri $IX1,    #0x94c8
lri $WR1,    #0x52ce
cw 0xd
call send_back  ; 11274 (0x2c0a)

lri $AR1,    #0x7192
lri $IX1,    #0xaaca
lri $WR1,    #0x5f0f
cw 0xd
call send_back  ; 11275 (0x2c0b)

lri $AR1,    #0x9c6b
lri $IX1,    #0xf618
lri $WR1,    #0xebff
cw 0xd
call send_back  ; 11276 (0x2c0c)

lri $AR1,    #0xc039
lri $IX1,    #0x18a0
lri $WR1,    #0x5859
cw 0xd
call send_back  ; 11277 (0x2c0d)

lri $AR1,    #0x4333
lri $IX1,    #0x643c
lri $WR1,    #0x6253
cw 0xd
call send_back  ; 11278 (0x2c0e)

lri $AR1,    #0x40ca
lri $IX1,    #0x1478
lri $WR1,    #0xaac6
cw 0xd
call send_back  ; 11279 (0x2c0f)

lri $AR1,    #0x7730
lri $IX1,    #0x8cec
lri $WR1,    #0x1681
cw 0xd
call send_back  ; 11280 (0x2c10)

lri $AR1,    #0xceeb
lri $IX1,    #0x4d9a
lri $WR1,    #0x99cc
cw 0xd
call send_back  ; 11281 (0x2c11)

lri $AR1,    #0x769e
lri $IX1,    #0x0a00
lri $WR1,    #0xc7ba
cw 0xd
call send_back  ; 11282 (0x2c12)

lri $AR1,    #0xe10b
lri $IX1,    #0x3f30
lri $WR1,    #0x3045
cw 0xd
call send_back  ; 11283 (0x2c13)

lri $AR1,    #0xba6f
lri $IX1,    #0xa8d0
lri $WR1,    #0x8dd9
cw 0xd
call send_back  ; 11284 (0x2c14)

lri $AR1,    #0x8624
lri $IX1,    #0xec48
lri $WR1,    #0x5c53
cw 0xd
call send_back  ; 11285 (0x2c15)

lri $AR1,    #0x64d3
lri $IX1,    #0x9ce8
lri $WR1,    #0x9105
cw 0xd
call send_back  ; 11286 (0x2c16)

lri $AR1,    #0x6701
lri $IX1,    #0x3b60
lri $WR1,    #0xaccd
cw 0xd
call send_back  ; 11287 (0x2c17)

lri $AR1,    #0xa745
lri $IX1,    #0xe658
lri $WR1,    #0x26da
cw 0xd
call send_back  ; 11288 (0x2c18)

lri $AR1,    #0x9309
lri $IX1,    #0xf96e
lri $WR1,    #0x181e
cw 0xd
call send_back  ; 11289 (0x2c19)

lri $AR1,    #0x280c
lri $IX1,    #0xb37c
lri $WR1,    #0x7d0f
cw 0xd
call send_back  ; 11290 (0x2c1a)

lri $AR1,    #0x6089
lri $IX1,    #0x0c68
lri $WR1,    #0x34b7
cw 0xd
call send_back  ; 11291 (0x2c1b)

lri $AR1,    #0x6f49
lri $IX1,    #0x0648
lri $WR1,    #0x79a8
cw 0xd
call send_back  ; 11292 (0x2c1c)

lri $AR1,    #0xa877
lri $IX1,    #0xdd4a
lri $WR1,    #0x4af0
cw 0xd
call send_back  ; 11293 (0x2c1d)

lri $AR1,    #0x637c
lri $IX1,    #0x6506
lri $WR1,    #0x788d
cw 0xd
call send_back  ; 11294 (0x2c1e)

lri $AR1,    #0xa5bd
lri $IX1,    #0x81a2
lri $WR1,    #0xa875
cw 0xd
call send_back  ; 11295 (0x2c1f)

lri $AR1,    #0x5d8a
lri $IX1,    #0xdea4
lri $WR1,    #0x8ec3
cw 0xd
call send_back  ; 11296 (0x2c20)

lri $AR1,    #0x4001
lri $IX1,    #0xac94
lri $WR1,    #0x9d27
cw 0xd
call send_back  ; 11297 (0x2c21)

lri $AR1,    #0xdc4b
lri $IX1,    #0x2a7c
lri $WR1,    #0x7b09
cw 0xd
call send_back  ; 11298 (0x2c22)

lri $AR1,    #0x89ed
lri $IX1,    #0xef62
lri $WR1,    #0x898e
cw 0xd
call send_back  ; 11299 (0x2c23)

lri $AR1,    #0x5f8d
lri $IX1,    #0x2ba0
lri $WR1,    #0x6c03
cw 0xd
call send_back  ; 11300 (0x2c24)

lri $AR1,    #0x3af4
lri $IX1,    #0x5178
lri $WR1,    #0x66b9
cw 0xd
call send_back  ; 11301 (0x2c25)

lri $AR1,    #0xf29d
lri $IX1,    #0x9f98
lri $WR1,    #0xc3e6
cw 0xd
call send_back  ; 11302 (0x2c26)

lri $AR1,    #0x6ca1
lri $IX1,    #0xc7f2
lri $WR1,    #0xafa6
cw 0xd
call send_back  ; 11303 (0x2c27)

lri $AR1,    #0x6e51
lri $IX1,    #0x40b0
lri $WR1,    #0x8197
cw 0xd
call send_back  ; 11304 (0x2c28)

lri $AR1,    #0x6354
lri $IX1,    #0x949e
lri $WR1,    #0x9431
cw 0xd
call send_back  ; 11305 (0x2c29)

lri $AR1,    #0x7a8c
lri $IX1,    #0x23c4
lri $WR1,    #0x775f
cw 0xd
call send_back  ; 11306 (0x2c2a)

lri $AR1,    #0x2a98
lri $IX1,    #0x1492
lri $WR1,    #0x5d75
cw 0xd
call send_back  ; 11307 (0x2c2b)

lri $AR1,    #0x574c
lri $IX1,    #0x997c
lri $WR1,    #0x7707
cw 0xd
call send_back  ; 11308 (0x2c2c)

lri $AR1,    #0x4cde
lri $IX1,    #0x0624
lri $WR1,    #0x6bb7
cw 0xd
call send_back  ; 11309 (0x2c2d)

lri $AR1,    #0x752a
lri $IX1,    #0x5b22
lri $WR1,    #0x9b89
cw 0xd
call send_back  ; 11310 (0x2c2e)

lri $AR1,    #0xeecc
lri $IX1,    #0xce7e
lri $WR1,    #0x35cd
cw 0xd
call send_back  ; 11311 (0x2c2f)

lri $AR1,    #0x656b
lri $IX1,    #0x4ae2
lri $WR1,    #0x5831
cw 0xd
call send_back  ; 11312 (0x2c30)

lri $AR1,    #0x9605
lri $IX1,    #0xc6a0
lri $WR1,    #0xb207
cw 0xd
call send_back  ; 11313 (0x2c31)

lri $AR1,    #0xa981
lri $IX1,    #0x8f92
lri $WR1,    #0x754d
cw 0xd
call send_back  ; 11314 (0x2c32)

lri $AR1,    #0x636d
lri $IX1,    #0x17ea
lri $WR1,    #0x9096
cw 0xd
call send_back  ; 11315 (0x2c33)

lri $AR1,    #0x6a17
lri $IX1,    #0x53fc
lri $WR1,    #0xa24d
cw 0xd
call send_back  ; 11316 (0x2c34)

lri $AR1,    #0x88f6
lri $IX1,    #0x3020
lri $WR1,    #0x2f75
cw 0xd
call send_back  ; 11317 (0x2c35)

lri $AR1,    #0x9d94
lri $IX1,    #0xf1a6
lri $WR1,    #0xc570
cw 0xd
call send_back  ; 11318 (0x2c36)

lri $AR1,    #0xc2e2
lri $IX1,    #0x54fc
lri $WR1,    #0x2fd2
cw 0xd
call send_back  ; 11319 (0x2c37)

lri $AR1,    #0xa62c
lri $IX1,    #0xcf18
lri $WR1,    #0xb0e9
cw 0xd
call send_back  ; 11320 (0x2c38)

lri $AR1,    #0x9c94
lri $IX1,    #0x5f2c
lri $WR1,    #0x94f1
cw 0xd
call send_back  ; 11321 (0x2c39)

lri $AR1,    #0x6f5d
lri $IX1,    #0xb9aa
lri $WR1,    #0x658c
cw 0xd
call send_back  ; 11322 (0x2c3a)

lri $AR1,    #0x48ce
lri $IX1,    #0x24da
lri $WR1,    #0x549a
cw 0xd
call send_back  ; 11323 (0x2c3b)

lri $AR1,    #0x9301
lri $IX1,    #0x02c2
lri $WR1,    #0x8aee
cw 0xd
call send_back  ; 11324 (0x2c3c)

lri $AR1,    #0xd57e
lri $IX1,    #0x9bc0
lri $WR1,    #0xc0fe
cw 0xd
call send_back  ; 11325 (0x2c3d)

lri $AR1,    #0x8dce
lri $IX1,    #0x28a4
lri $WR1,    #0xc515
cw 0xd
call send_back  ; 11326 (0x2c3e)

lri $AR1,    #0x8306
lri $IX1,    #0x3a9e
lri $WR1,    #0xb41f
cw 0xd
call send_back  ; 11327 (0x2c3f)

lri $AR1,    #0x8b64
lri $IX1,    #0x52b8
lri $WR1,    #0x8f9b
cw 0xd
call send_back  ; 11328 (0x2c40)

lri $AR1,    #0x8705
lri $IX1,    #0xa252
lri $WR1,    #0x64bb
cw 0xd
call send_back  ; 11329 (0x2c41)

lri $AR1,    #0x51d2
lri $IX1,    #0x6950
lri $WR1,    #0xc656
cw 0xd
call send_back  ; 11330 (0x2c42)

lri $AR1,    #0x829b
lri $IX1,    #0x1658
lri $WR1,    #0x4cac
cw 0xd
call send_back  ; 11331 (0x2c43)

lri $AR1,    #0xd49d
lri $IX1,    #0x10f2
lri $WR1,    #0x8386
cw 0xd
call send_back  ; 11332 (0x2c44)

lri $AR1,    #0x7437
lri $IX1,    #0xccd2
lri $WR1,    #0x88db
cw 0xd
call send_back  ; 11333 (0x2c45)

lri $AR1,    #0x774a
lri $IX1,    #0x5120
lri $WR1,    #0xfb73
cw 0xd
call send_back  ; 11334 (0x2c46)

lri $AR1,    #0x6cd7
lri $IX1,    #0x9e12
lri $WR1,    #0x9aa0
cw 0xd
call send_back  ; 11335 (0x2c47)

lri $AR1,    #0x8767
lri $IX1,    #0x2ea0
lri $WR1,    #0x7d9e
cw 0xd
call send_back  ; 11336 (0x2c48)

lri $AR1,    #0xd0d9
lri $IX1,    #0x1ba4
lri $WR1,    #0x72ad
cw 0xd
call send_back  ; 11337 (0x2c49)

lri $AR1,    #0x7611
lri $IX1,    #0x0142
lri $WR1,    #0x4366
cw 0xd
call send_back  ; 11338 (0x2c4a)

lri $AR1,    #0x6c3a
lri $IX1,    #0x96d2
lri $WR1,    #0xad75
cw 0xd
call send_back  ; 11339 (0x2c4b)

lri $AR1,    #0x58fb
lri $IX1,    #0xcd2c
lri $WR1,    #0xb42c
cw 0xd
call send_back  ; 11340 (0x2c4c)

lri $AR1,    #0xa266
lri $IX1,    #0x1eaa
lri $WR1,    #0x6916
cw 0xd
call send_back  ; 11341 (0x2c4d)

lri $AR1,    #0x3af9
lri $IX1,    #0x679a
lri $WR1,    #0x4703
cw 0xd
call send_back  ; 11342 (0x2c4e)

lri $AR1,    #0x817b
lri $IX1,    #0xfd8e
lri $WR1,    #0x9cbd
cw 0xd
call send_back  ; 11343 (0x2c4f)

lri $AR1,    #0xc406
lri $IX1,    #0xaf34
lri $WR1,    #0x29cf
cw 0xd
call send_back  ; 11344 (0x2c50)

lri $AR1,    #0x8112
lri $IX1,    #0xbe36
lri $WR1,    #0xd992
cw 0xd
call send_back  ; 11345 (0x2c51)

lri $AR1,    #0xc0cc
lri $IX1,    #0x9fc6
lri $WR1,    #0x55f5
cw 0xd
call send_back  ; 11346 (0x2c52)

lri $AR1,    #0xb48a
lri $IX1,    #0x403a
lri $WR1,    #0x5d21
cw 0xd
call send_back  ; 11347 (0x2c53)

lri $AR1,    #0x91ae
lri $IX1,    #0x8992
lri $WR1,    #0x3a7d
cw 0xd
call send_back  ; 11348 (0x2c54)

lri $AR1,    #0x38cb
lri $IX1,    #0xe41a
lri $WR1,    #0x5d39
cw 0xd
call send_back  ; 11349 (0x2c55)

lri $AR1,    #0x894d
lri $IX1,    #0x3418
lri $WR1,    #0x23bf
cw 0xd
call send_back  ; 11350 (0x2c56)

lri $AR1,    #0x2590
lri $IX1,    #0x56c2
lri $WR1,    #0x7560
cw 0xd
call send_back  ; 11351 (0x2c57)

lri $AR1,    #0x4292
lri $IX1,    #0x3456
lri $WR1,    #0x8887
cw 0xd
call send_back  ; 11352 (0x2c58)

lri $AR1,    #0xca33
lri $IX1,    #0x049a
lri $WR1,    #0x9db5
cw 0xd
call send_back  ; 11353 (0x2c59)

lri $AR1,    #0x7636
lri $IX1,    #0x3e9c
lri $WR1,    #0x64bd
cw 0xd
call send_back  ; 11354 (0x2c5a)

lri $AR1,    #0x7ded
lri $IX1,    #0xbc06
lri $WR1,    #0x9357
cw 0xd
call send_back  ; 11355 (0x2c5b)

lri $AR1,    #0xd7c9
lri $IX1,    #0xbbc8
lri $WR1,    #0x4992
cw 0xd
call send_back  ; 11356 (0x2c5c)

lri $AR1,    #0x4ba7
lri $IX1,    #0x8774
lri $WR1,    #0x1a4e
cw 0xd
call send_back  ; 11357 (0x2c5d)

lri $AR1,    #0x8239
lri $IX1,    #0x6a16
lri $WR1,    #0x4b22
cw 0xd
call send_back  ; 11358 (0x2c5e)

lri $AR1,    #0xc13a
lri $IX1,    #0x46e0
lri $WR1,    #0x80f5
cw 0xd
call send_back  ; 11359 (0x2c5f)

lri $AR1,    #0x7bdf
lri $IX1,    #0x5168
lri $WR1,    #0x73a0
cw 0xd
call send_back  ; 11360 (0x2c60)

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