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

lri $AR1,    #0x3980
lri $IX1,    #0xdd34
lri $WR1,    #0xc968
cw 0xd
call send_back  ; 57235 (0xdf93)

lri $AR1,    #0x69b1
lri $IX1,    #0x6b30
lri $WR1,    #0xdf08
cw 0xd
call send_back  ; 57236 (0xdf94)

lri $AR1,    #0xb2fb
lri $IX1,    #0x7306
lri $WR1,    #0x9883
cw 0xd
call send_back  ; 57237 (0xdf95)

lri $AR1,    #0x615c
lri $IX1,    #0x15fe
lri $WR1,    #0x494f
cw 0xd
call send_back  ; 57238 (0xdf96)

lri $AR1,    #0xc789
lri $IX1,    #0x7098
lri $WR1,    #0x66cd
cw 0xd
call send_back  ; 57239 (0xdf97)

lri $AR1,    #0xe632
lri $IX1,    #0xc032
lri $WR1,    #0x9414
cw 0xd
call send_back  ; 57240 (0xdf98)

lri $AR1,    #0x39b1
lri $IX1,    #0x2efe
lri $WR1,    #0xc657
cw 0xd
call send_back  ; 57241 (0xdf99)

lri $AR1,    #0xb49b
lri $IX1,    #0x9f4c
lri $WR1,    #0x97b0
cw 0xd
call send_back  ; 57242 (0xdf9a)

lri $AR1,    #0xe0de
lri $IX1,    #0xde4e
lri $WR1,    #0xaf2e
cw 0xd
call send_back  ; 57243 (0xdf9b)

lri $AR1,    #0x88d8
lri $IX1,    #0xca58
lri $WR1,    #0xbac5
cw 0xd
call send_back  ; 57244 (0xdf9c)

lri $AR1,    #0x8527
lri $IX1,    #0x0fa6
lri $WR1,    #0xb14a
cw 0xd
call send_back  ; 57245 (0xdf9d)

lri $AR1,    #0xbb89
lri $IX1,    #0x0ac4
lri $WR1,    #0x4fdd
cw 0xd
call send_back  ; 57246 (0xdf9e)

lri $AR1,    #0x5e96
lri $IX1,    #0xfeb0
lri $WR1,    #0x67f8
cw 0xd
call send_back  ; 57247 (0xdf9f)

lri $AR1,    #0xf5b3
lri $IX1,    #0x009e
lri $WR1,    #0x789c
cw 0xd
call send_back  ; 57248 (0xdfa0)

lri $AR1,    #0x7ff2
lri $IX1,    #0xa2b2
lri $WR1,    #0x16ba
cw 0xd
call send_back  ; 57249 (0xdfa1)

lri $AR1,    #0x844e
lri $IX1,    #0x6264
lri $WR1,    #0xb660
cw 0xd
call send_back  ; 57250 (0xdfa2)

lri $AR1,    #0x7502
lri $IX1,    #0x0f0e
lri $WR1,    #0x57b7
cw 0xd
call send_back  ; 57251 (0xdfa3)

lri $AR1,    #0x5348
lri $IX1,    #0xa040
lri $WR1,    #0x506f
cw 0xd
call send_back  ; 57252 (0xdfa4)

lri $AR1,    #0x5c5d
lri $IX1,    #0x2b50
lri $WR1,    #0x439d
cw 0xd
call send_back  ; 57253 (0xdfa5)

lri $AR1,    #0x980e
lri $IX1,    #0xb2e0
lri $WR1,    #0xb79c
cw 0xd
call send_back  ; 57254 (0xdfa6)

lri $AR1,    #0xc4aa
lri $IX1,    #0x4ab4
lri $WR1,    #0x7b0c
cw 0xd
call send_back  ; 57255 (0xdfa7)

lri $AR1,    #0xb396
lri $IX1,    #0x5dac
lri $WR1,    #0x8f6f
cw 0xd
call send_back  ; 57256 (0xdfa8)

lri $AR1,    #0x956d
lri $IX1,    #0xab28
lri $WR1,    #0x797f
cw 0xd
call send_back  ; 57257 (0xdfa9)

lri $AR1,    #0x53e3
lri $IX1,    #0xaca2
lri $WR1,    #0x84cd
cw 0xd
call send_back  ; 57258 (0xdfaa)

lri $AR1,    #0x4b4e
lri $IX1,    #0x63e2
lri $WR1,    #0x99b1
cw 0xd
call send_back  ; 57259 (0xdfab)

lri $AR1,    #0x5d13
lri $IX1,    #0xf58c
lri $WR1,    #0x9a22
cw 0xd
call send_back  ; 57260 (0xdfac)

lri $AR1,    #0x4fdf
lri $IX1,    #0xcb5a
lri $WR1,    #0xb386
cw 0xd
call send_back  ; 57261 (0xdfad)

lri $AR1,    #0x21e0
lri $IX1,    #0x24d2
lri $WR1,    #0x9105
cw 0xd
call send_back  ; 57262 (0xdfae)

lri $AR1,    #0xb4e7
lri $IX1,    #0xdcd6
lri $WR1,    #0xbb75
cw 0xd
call send_back  ; 57263 (0xdfaf)

lri $AR1,    #0x73ad
lri $IX1,    #0x9dbe
lri $WR1,    #0x9967
cw 0xd
call send_back  ; 57264 (0xdfb0)

lri $AR1,    #0x1b26
lri $IX1,    #0xa578
lri $WR1,    #0x4b6f
cw 0xd
call send_back  ; 57265 (0xdfb1)

lri $AR1,    #0x120d
lri $IX1,    #0x764a
lri $WR1,    #0x6e31
cw 0xd
call send_back  ; 57266 (0xdfb2)

lri $AR1,    #0x8ca3
lri $IX1,    #0x40be
lri $WR1,    #0x7d43
cw 0xd
call send_back  ; 57267 (0xdfb3)

lri $AR1,    #0x81cb
lri $IX1,    #0x565c
lri $WR1,    #0x8776
cw 0xd
call send_back  ; 57268 (0xdfb4)

lri $AR1,    #0x926f
lri $IX1,    #0x6c92
lri $WR1,    #0x7e8e
cw 0xd
call send_back  ; 57269 (0xdfb5)

lri $AR1,    #0x536f
lri $IX1,    #0xc29e
lri $WR1,    #0x8a13
cw 0xd
call send_back  ; 57270 (0xdfb6)

lri $AR1,    #0x4ded
lri $IX1,    #0x3cc8
lri $WR1,    #0xc61c
cw 0xd
call send_back  ; 57271 (0xdfb7)

lri $AR1,    #0x614b
lri $IX1,    #0x1ab6
lri $WR1,    #0x9cdd
cw 0xd
call send_back  ; 57272 (0xdfb8)

lri $AR1,    #0xdd9e
lri $IX1,    #0xf62e
lri $WR1,    #0x52d4
cw 0xd
call send_back  ; 57273 (0xdfb9)

lri $AR1,    #0x8cfe
lri $IX1,    #0x131a
lri $WR1,    #0x4b46
cw 0xd
call send_back  ; 57274 (0xdfba)

lri $AR1,    #0x5564
lri $IX1,    #0x9914
lri $WR1,    #0x5c1a
cw 0xd
call send_back  ; 57275 (0xdfbb)

lri $AR1,    #0x8481
lri $IX1,    #0xf254
lri $WR1,    #0x9d85
cw 0xd
call send_back  ; 57276 (0xdfbc)

lri $AR1,    #0x1250
lri $IX1,    #0x234c
lri $WR1,    #0x5bc2
cw 0xd
call send_back  ; 57277 (0xdfbd)

lri $AR1,    #0x16ae
lri $IX1,    #0x59c4
lri $WR1,    #0x8e3f
cw 0xd
call send_back  ; 57278 (0xdfbe)

lri $AR1,    #0xb1e1
lri $IX1,    #0x11bc
lri $WR1,    #0x596d
cw 0xd
call send_back  ; 57279 (0xdfbf)

lri $AR1,    #0x1f3f
lri $IX1,    #0xe1f6
lri $WR1,    #0x85ae
cw 0xd
call send_back  ; 57280 (0xdfc0)

lri $AR1,    #0x74d8
lri $IX1,    #0x2962
lri $WR1,    #0x5f77
cw 0xd
call send_back  ; 57281 (0xdfc1)

lri $AR1,    #0x9267
lri $IX1,    #0x5258
lri $WR1,    #0x8247
cw 0xd
call send_back  ; 57282 (0xdfc2)

lri $AR1,    #0x5573
lri $IX1,    #0x0fd6
lri $WR1,    #0x815f
cw 0xd
call send_back  ; 57283 (0xdfc3)

lri $AR1,    #0x2fc9
lri $IX1,    #0xbc94
lri $WR1,    #0x96ec
cw 0xd
call send_back  ; 57284 (0xdfc4)

lri $AR1,    #0x9942
lri $IX1,    #0xbb5c
lri $WR1,    #0x5ba9
cw 0xd
call send_back  ; 57285 (0xdfc5)

lri $AR1,    #0x650e
lri $IX1,    #0x434a
lri $WR1,    #0x6684
cw 0xd
call send_back  ; 57286 (0xdfc6)

lri $AR1,    #0x2664
lri $IX1,    #0x4266
lri $WR1,    #0x7550
cw 0xd
call send_back  ; 57287 (0xdfc7)

lri $AR1,    #0x67de
lri $IX1,    #0xd45e
lri $WR1,    #0xc530
cw 0xd
call send_back  ; 57288 (0xdfc8)

lri $AR1,    #0x6453
lri $IX1,    #0x12a0
lri $WR1,    #0x6aa5
cw 0xd
call send_back  ; 57289 (0xdfc9)

lri $AR1,    #0x8f7a
lri $IX1,    #0x9ec4
lri $WR1,    #0xa6ee
cw 0xd
call send_back  ; 57290 (0xdfca)

lri $AR1,    #0x7031
lri $IX1,    #0x1774
lri $WR1,    #0x49ba
cw 0xd
call send_back  ; 57291 (0xdfcb)

lri $AR1,    #0x75b5
lri $IX1,    #0x8bbe
lri $WR1,    #0x83c1
cw 0xd
call send_back  ; 57292 (0xdfcc)

lri $AR1,    #0x6c89
lri $IX1,    #0xd810
lri $WR1,    #0x084f
cw 0xd
call send_back  ; 57293 (0xdfcd)

lri $AR1,    #0x6781
lri $IX1,    #0x83ac
lri $WR1,    #0x595a
cw 0xd
call send_back  ; 57294 (0xdfce)

lri $AR1,    #0x3497
lri $IX1,    #0x14f6
lri $WR1,    #0x7b2f
cw 0xd
call send_back  ; 57295 (0xdfcf)

lri $AR1,    #0xacfa
lri $IX1,    #0xc652
lri $WR1,    #0x723e
cw 0xd
call send_back  ; 57296 (0xdfd0)

lri $AR1,    #0x3b15
lri $IX1,    #0xed00
lri $WR1,    #0x3724
cw 0xd
call send_back  ; 57297 (0xdfd1)

lri $AR1,    #0xb0ea
lri $IX1,    #0x1ea0
lri $WR1,    #0x1a73
cw 0xd
call send_back  ; 57298 (0xdfd2)

lri $AR1,    #0x5c82
lri $IX1,    #0x11e2
lri $WR1,    #0x4358
cw 0xd
call send_back  ; 57299 (0xdfd3)

lri $AR1,    #0x8fd4
lri $IX1,    #0x39f6
lri $WR1,    #0xe9a1
cw 0xd
call send_back  ; 57300 (0xdfd4)

lri $AR1,    #0x6ce6
lri $IX1,    #0x143c
lri $WR1,    #0x053c
cw 0xd
call send_back  ; 57301 (0xdfd5)

lri $AR1,    #0x9679
lri $IX1,    #0xeaf2
lri $WR1,    #0xcabd
cw 0xd
call send_back  ; 57302 (0xdfd6)

lri $AR1,    #0x491d
lri $IX1,    #0x4f1e
lri $WR1,    #0xcdf6
cw 0xd
call send_back  ; 57303 (0xdfd7)

lri $AR1,    #0xb7e2
lri $IX1,    #0x9fb6
lri $WR1,    #0x6935
cw 0xd
call send_back  ; 57304 (0xdfd8)

lri $AR1,    #0x339e
lri $IX1,    #0x7b0e
lri $WR1,    #0x7142
cw 0xd
call send_back  ; 57305 (0xdfd9)

lri $AR1,    #0x82e8
lri $IX1,    #0xd3ae
lri $WR1,    #0x2b92
cw 0xd
call send_back  ; 57306 (0xdfda)

lri $AR1,    #0x44c6
lri $IX1,    #0x7090
lri $WR1,    #0xcde1
cw 0xd
call send_back  ; 57307 (0xdfdb)

lri $AR1,    #0x9f3b
lri $IX1,    #0xc4dc
lri $WR1,    #0x63a4
cw 0xd
call send_back  ; 57308 (0xdfdc)

lri $AR1,    #0xb69b
lri $IX1,    #0x2234
lri $WR1,    #0xaf7c
cw 0xd
call send_back  ; 57309 (0xdfdd)

lri $AR1,    #0xd9ea
lri $IX1,    #0x349a
lri $WR1,    #0x5c26
cw 0xd
call send_back  ; 57310 (0xdfde)

lri $AR1,    #0x5417
lri $IX1,    #0x5612
lri $WR1,    #0x720c
cw 0xd
call send_back  ; 57311 (0xdfdf)

lri $AR1,    #0xc96b
lri $IX1,    #0x7be8
lri $WR1,    #0x6bed
cw 0xd
call send_back  ; 57312 (0xdfe0)

lri $AR1,    #0x53f1
lri $IX1,    #0x26e0
lri $WR1,    #0xcec6
cw 0xd
call send_back  ; 57313 (0xdfe1)

lri $AR1,    #0x9128
lri $IX1,    #0xbb30
lri $WR1,    #0x3684
cw 0xd
call send_back  ; 57314 (0xdfe2)

lri $AR1,    #0xe6e0
lri $IX1,    #0xd474
lri $WR1,    #0x3a80
cw 0xd
call send_back  ; 57315 (0xdfe3)

lri $AR1,    #0x4c7a
lri $IX1,    #0x6d92
lri $WR1,    #0x4265
cw 0xd
call send_back  ; 57316 (0xdfe4)

lri $AR1,    #0x416a
lri $IX1,    #0xebc6
lri $WR1,    #0xbd97
cw 0xd
call send_back  ; 57317 (0xdfe5)

lri $AR1,    #0x2943
lri $IX1,    #0x27a6
lri $WR1,    #0x8c91
cw 0xd
call send_back  ; 57318 (0xdfe6)

lri $AR1,    #0x6929
lri $IX1,    #0x4e82
lri $WR1,    #0xad5e
cw 0xd
call send_back  ; 57319 (0xdfe7)

lri $AR1,    #0xb9e7
lri $IX1,    #0xc9cc
lri $WR1,    #0x41be
cw 0xd
call send_back  ; 57320 (0xdfe8)

lri $AR1,    #0x8d8e
lri $IX1,    #0x2208
lri $WR1,    #0xaefc
cw 0xd
call send_back  ; 57321 (0xdfe9)

lri $AR1,    #0x86d9
lri $IX1,    #0xede8
lri $WR1,    #0x4504
cw 0xd
call send_back  ; 57322 (0xdfea)

lri $AR1,    #0xb431
lri $IX1,    #0x2dfc
lri $WR1,    #0xebde
cw 0xd
call send_back  ; 57323 (0xdfeb)

lri $AR1,    #0xe7a5
lri $IX1,    #0xd8bc
lri $WR1,    #0x2bfe
cw 0xd
call send_back  ; 57324 (0xdfec)

lri $AR1,    #0x8096
lri $IX1,    #0xb246
lri $WR1,    #0x5f99
cw 0xd
call send_back  ; 57325 (0xdfed)

lri $AR1,    #0xab78
lri $IX1,    #0xb69a
lri $WR1,    #0x5874
cw 0xd
call send_back  ; 57326 (0xdfee)

lri $AR1,    #0x5f72
lri $IX1,    #0x3c9e
lri $WR1,    #0x2753
cw 0xd
call send_back  ; 57327 (0xdfef)

lri $AR1,    #0x9925
lri $IX1,    #0x6bc2
lri $WR1,    #0xd785
cw 0xd
call send_back  ; 57328 (0xdff0)

lri $AR1,    #0x5d78
lri $IX1,    #0x8596
lri $WR1,    #0x3aac
cw 0xd
call send_back  ; 57329 (0xdff1)

lri $AR1,    #0x4eae
lri $IX1,    #0xc01a
lri $WR1,    #0xae4c
cw 0xd
call send_back  ; 57330 (0xdff2)

lri $AR1,    #0x719c
lri $IX1,    #0xdd1c
lri $WR1,    #0x7625
cw 0xd
call send_back  ; 57331 (0xdff3)

lri $AR1,    #0x884d
lri $IX1,    #0x2e7a
lri $WR1,    #0x3c09
cw 0xd
call send_back  ; 57332 (0xdff4)

lri $AR1,    #0x82e0
lri $IX1,    #0x2e86
lri $WR1,    #0x5f0a
cw 0xd
call send_back  ; 57333 (0xdff5)

lri $AR1,    #0x56fc
lri $IX1,    #0x1f78
lri $WR1,    #0x59cc
cw 0xd
call send_back  ; 57334 (0xdff6)

lri $AR1,    #0x7197
lri $IX1,    #0x241e
lri $WR1,    #0x88d7
cw 0xd
call send_back  ; 57335 (0xdff7)

lri $AR1,    #0x4e7b
lri $IX1,    #0xd7b0
lri $WR1,    #0x5f9b
cw 0xd
call send_back  ; 57336 (0xdff8)

lri $AR1,    #0xec32
lri $IX1,    #0x721e
lri $WR1,    #0x8422
cw 0xd
call send_back  ; 57337 (0xdff9)

lri $AR1,    #0xb2db
lri $IX1,    #0xe184
lri $WR1,    #0xb714
cw 0xd
call send_back  ; 57338 (0xdffa)

lri $AR1,    #0x5783
lri $IX1,    #0xd146
lri $WR1,    #0x3f01
cw 0xd
call send_back  ; 57339 (0xdffb)

lri $AR1,    #0xad84
lri $IX1,    #0x3a6e
lri $WR1,    #0xa3a0
cw 0xd
call send_back  ; 57340 (0xdffc)

lri $AR1,    #0x928a
lri $IX1,    #0xb0da
lri $WR1,    #0xbef7
cw 0xd
call send_back  ; 57341 (0xdffd)

lri $AR1,    #0x91be
lri $IX1,    #0x0bc2
lri $WR1,    #0xe813
cw 0xd
call send_back  ; 57342 (0xdffe)

lri $AR1,    #0x5db9
lri $IX1,    #0x282e
lri $WR1,    #0x9c54
cw 0xd
call send_back  ; 57343 (0xdfff)

lri $AR1,    #0xb8b7
lri $IX1,    #0x36f4
lri $WR1,    #0x71d9
cw 0xd
call send_back  ; 57344 (0xe000)

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