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

lri $AR1,    #0x618c
lri $IX1,    #0x877e
lri $WR1,    #0x5cd2
cw 0xd
call send_back  ; 58218 (0xe36a)

lri $AR1,    #0x47c1
lri $IX1,    #0xd770
lri $WR1,    #0x622f
cw 0xd
call send_back  ; 58219 (0xe36b)

lri $AR1,    #0xa014
lri $IX1,    #0xb92e
lri $WR1,    #0x3675
cw 0xd
call send_back  ; 58220 (0xe36c)

lri $AR1,    #0x77dc
lri $IX1,    #0xd66a
lri $WR1,    #0x4b1a
cw 0xd
call send_back  ; 58221 (0xe36d)

lri $AR1,    #0x3762
lri $IX1,    #0x4d98
lri $WR1,    #0x9289
cw 0xd
call send_back  ; 58222 (0xe36e)

lri $AR1,    #0x947e
lri $IX1,    #0xf1f0
lri $WR1,    #0x708a
cw 0xd
call send_back  ; 58223 (0xe36f)

lri $AR1,    #0x7a67
lri $IX1,    #0x5618
lri $WR1,    #0xb6ce
cw 0xd
call send_back  ; 58224 (0xe370)

lri $AR1,    #0xb177
lri $IX1,    #0x62b4
lri $WR1,    #0x89bf
cw 0xd
call send_back  ; 58225 (0xe371)

lri $AR1,    #0xd145
lri $IX1,    #0x75b6
lri $WR1,    #0x56ff
cw 0xd
call send_back  ; 58226 (0xe372)

lri $AR1,    #0xdadc
lri $IX1,    #0x76c4
lri $WR1,    #0x38d9
cw 0xd
call send_back  ; 58227 (0xe373)

lri $AR1,    #0xa058
lri $IX1,    #0xd06c
lri $WR1,    #0x96fe
cw 0xd
call send_back  ; 58228 (0xe374)

lri $AR1,    #0x3acf
lri $IX1,    #0xb596
lri $WR1,    #0x6ec7
cw 0xd
call send_back  ; 58229 (0xe375)

lri $AR1,    #0x9eb9
lri $IX1,    #0x65ee
lri $WR1,    #0x4a78
cw 0xd
call send_back  ; 58230 (0xe376)

lri $AR1,    #0xc2c3
lri $IX1,    #0x2394
lri $WR1,    #0x70a1
cw 0xd
call send_back  ; 58231 (0xe377)

lri $AR1,    #0xa448
lri $IX1,    #0x1ff6
lri $WR1,    #0x9a13
cw 0xd
call send_back  ; 58232 (0xe378)

lri $AR1,    #0xa049
lri $IX1,    #0xad18
lri $WR1,    #0x669e
cw 0xd
call send_back  ; 58233 (0xe379)

lri $AR1,    #0x7736
lri $IX1,    #0x5c0a
lri $WR1,    #0x360e
cw 0xd
call send_back  ; 58234 (0xe37a)

lri $AR1,    #0x4554
lri $IX1,    #0x4102
lri $WR1,    #0xdc78
cw 0xd
call send_back  ; 58235 (0xe37b)

lri $AR1,    #0x210c
lri $IX1,    #0x38c2
lri $WR1,    #0x3e73
cw 0xd
call send_back  ; 58236 (0xe37c)

lri $AR1,    #0x4c02
lri $IX1,    #0xa2b6
lri $WR1,    #0x9b4d
cw 0xd
call send_back  ; 58237 (0xe37d)

lri $AR1,    #0x5330
lri $IX1,    #0x6e90
lri $WR1,    #0x88b5
cw 0xd
call send_back  ; 58238 (0xe37e)

lri $AR1,    #0x7de5
lri $IX1,    #0x7ba8
lri $WR1,    #0x4510
cw 0xd
call send_back  ; 58239 (0xe37f)

lri $AR1,    #0x62f1
lri $IX1,    #0xfc0c
lri $WR1,    #0x6adf
cw 0xd
call send_back  ; 58240 (0xe380)

lri $AR1,    #0xc6cc
lri $IX1,    #0xb466
lri $WR1,    #0x996e
cw 0xd
call send_back  ; 58241 (0xe381)

lri $AR1,    #0x650f
lri $IX1,    #0x6dba
lri $WR1,    #0xb439
cw 0xd
call send_back  ; 58242 (0xe382)

lri $AR1,    #0xdb08
lri $IX1,    #0x9d1a
lri $WR1,    #0xcc33
cw 0xd
call send_back  ; 58243 (0xe383)

lri $AR1,    #0x70bf
lri $IX1,    #0x0950
lri $WR1,    #0x7b6e
cw 0xd
call send_back  ; 58244 (0xe384)

lri $AR1,    #0x5936
lri $IX1,    #0xed98
lri $WR1,    #0xd537
cw 0xd
call send_back  ; 58245 (0xe385)

lri $AR1,    #0x9237
lri $IX1,    #0xa47e
lri $WR1,    #0x6a3b
cw 0xd
call send_back  ; 58246 (0xe386)

lri $AR1,    #0xaf85
lri $IX1,    #0x24e2
lri $WR1,    #0xa1c3
cw 0xd
call send_back  ; 58247 (0xe387)

lri $AR1,    #0xf4b4
lri $IX1,    #0x6f3c
lri $WR1,    #0xae8f
cw 0xd
call send_back  ; 58248 (0xe388)

lri $AR1,    #0x0c84
lri $IX1,    #0x5032
lri $WR1,    #0x8f76
cw 0xd
call send_back  ; 58249 (0xe389)

lri $AR1,    #0x4c03
lri $IX1,    #0x7988
lri $WR1,    #0xb938
cw 0xd
call send_back  ; 58250 (0xe38a)

lri $AR1,    #0x235e
lri $IX1,    #0xc182
lri $WR1,    #0x98b6
cw 0xd
call send_back  ; 58251 (0xe38b)

lri $AR1,    #0x8587
lri $IX1,    #0x3cb8
lri $WR1,    #0x7209
cw 0xd
call send_back  ; 58252 (0xe38c)

lri $AR1,    #0x0baf
lri $IX1,    #0xbd92
lri $WR1,    #0x9a90
cw 0xd
call send_back  ; 58253 (0xe38d)

lri $AR1,    #0x48c3
lri $IX1,    #0xf03c
lri $WR1,    #0x8983
cw 0xd
call send_back  ; 58254 (0xe38e)

lri $AR1,    #0x84c8
lri $IX1,    #0xa972
lri $WR1,    #0x9c21
cw 0xd
call send_back  ; 58255 (0xe38f)

lri $AR1,    #0x4f64
lri $IX1,    #0xf1e6
lri $WR1,    #0x0ffc
cw 0xd
call send_back  ; 58256 (0xe390)

lri $AR1,    #0x646f
lri $IX1,    #0xbf8c
lri $WR1,    #0x7f82
cw 0xd
call send_back  ; 58257 (0xe391)

lri $AR1,    #0x9cc3
lri $IX1,    #0x09b6
lri $WR1,    #0x7a47
cw 0xd
call send_back  ; 58258 (0xe392)

lri $AR1,    #0x7934
lri $IX1,    #0xd428
lri $WR1,    #0x842b
cw 0xd
call send_back  ; 58259 (0xe393)

lri $AR1,    #0x9cf3
lri $IX1,    #0xd11e
lri $WR1,    #0xbbde
cw 0xd
call send_back  ; 58260 (0xe394)

lri $AR1,    #0x282f
lri $IX1,    #0x3172
lri $WR1,    #0x82e0
cw 0xd
call send_back  ; 58261 (0xe395)

lri $AR1,    #0x3345
lri $IX1,    #0x05ca
lri $WR1,    #0x9e87
cw 0xd
call send_back  ; 58262 (0xe396)

lri $AR1,    #0x0e4b
lri $IX1,    #0x130c
lri $WR1,    #0xcb16
cw 0xd
call send_back  ; 58263 (0xe397)

lri $AR1,    #0x4051
lri $IX1,    #0x0fee
lri $WR1,    #0x7f7f
cw 0xd
call send_back  ; 58264 (0xe398)

lri $AR1,    #0x6d12
lri $IX1,    #0xc908
lri $WR1,    #0x89da
cw 0xd
call send_back  ; 58265 (0xe399)

lri $AR1,    #0xa782
lri $IX1,    #0x8406
lri $WR1,    #0x9a20
cw 0xd
call send_back  ; 58266 (0xe39a)

lri $AR1,    #0x2aee
lri $IX1,    #0x0a80
lri $WR1,    #0xa23b
cw 0xd
call send_back  ; 58267 (0xe39b)

lri $AR1,    #0xdc16
lri $IX1,    #0xe822
lri $WR1,    #0x0806
cw 0xd
call send_back  ; 58268 (0xe39c)

lri $AR1,    #0xaef6
lri $IX1,    #0x7f8e
lri $WR1,    #0xdf33
cw 0xd
call send_back  ; 58269 (0xe39d)

lri $AR1,    #0x7dad
lri $IX1,    #0x84ac
lri $WR1,    #0x9ec2
cw 0xd
call send_back  ; 58270 (0xe39e)

lri $AR1,    #0x6034
lri $IX1,    #0x0ade
lri $WR1,    #0x670c
cw 0xd
call send_back  ; 58271 (0xe39f)

lri $AR1,    #0x8c4e
lri $IX1,    #0x88b6
lri $WR1,    #0x52f3
cw 0xd
call send_back  ; 58272 (0xe3a0)

lri $AR1,    #0x906e
lri $IX1,    #0xdab6
lri $WR1,    #0x584a
cw 0xd
call send_back  ; 58273 (0xe3a1)

lri $AR1,    #0x3bf1
lri $IX1,    #0x49ba
lri $WR1,    #0x48fb
cw 0xd
call send_back  ; 58274 (0xe3a2)

lri $AR1,    #0x1a6e
lri $IX1,    #0xc97a
lri $WR1,    #0x7812
cw 0xd
call send_back  ; 58275 (0xe3a3)

lri $AR1,    #0x6f82
lri $IX1,    #0xe6e6
lri $WR1,    #0xbb1d
cw 0xd
call send_back  ; 58276 (0xe3a4)

lri $AR1,    #0x7bc8
lri $IX1,    #0x15b4
lri $WR1,    #0xda12
cw 0xd
call send_back  ; 58277 (0xe3a5)

lri $AR1,    #0x636f
lri $IX1,    #0x17e4
lri $WR1,    #0x5d2d
cw 0xd
call send_back  ; 58278 (0xe3a6)

lri $AR1,    #0xb224
lri $IX1,    #0xf99e
lri $WR1,    #0x69ed
cw 0xd
call send_back  ; 58279 (0xe3a7)

lri $AR1,    #0x8fad
lri $IX1,    #0x6f20
lri $WR1,    #0xe5b3
cw 0xd
call send_back  ; 58280 (0xe3a8)

lri $AR1,    #0x2407
lri $IX1,    #0x2a2a
lri $WR1,    #0x3e1b
cw 0xd
call send_back  ; 58281 (0xe3a9)

lri $AR1,    #0xc942
lri $IX1,    #0xd796
lri $WR1,    #0x6494
cw 0xd
call send_back  ; 58282 (0xe3aa)

lri $AR1,    #0xdd16
lri $IX1,    #0xc58c
lri $WR1,    #0x9c56
cw 0xd
call send_back  ; 58283 (0xe3ab)

lri $AR1,    #0x2b48
lri $IX1,    #0x960e
lri $WR1,    #0x8f3c
cw 0xd
call send_back  ; 58284 (0xe3ac)

lri $AR1,    #0x65e6
lri $IX1,    #0xb938
lri $WR1,    #0x9787
cw 0xd
call send_back  ; 58285 (0xe3ad)

lri $AR1,    #0x4f7c
lri $IX1,    #0x95f2
lri $WR1,    #0xaa42
cw 0xd
call send_back  ; 58286 (0xe3ae)

lri $AR1,    #0x7f3d
lri $IX1,    #0x277c
lri $WR1,    #0xaf22
cw 0xd
call send_back  ; 58287 (0xe3af)

lri $AR1,    #0xde41
lri $IX1,    #0x498e
lri $WR1,    #0x3896
cw 0xd
call send_back  ; 58288 (0xe3b0)

lri $AR1,    #0x88db
lri $IX1,    #0xd474
lri $WR1,    #0xd816
cw 0xd
call send_back  ; 58289 (0xe3b1)

lri $AR1,    #0x7e28
lri $IX1,    #0xe5d8
lri $WR1,    #0x9824
cw 0xd
call send_back  ; 58290 (0xe3b2)

lri $AR1,    #0x5bc7
lri $IX1,    #0x22a4
lri $WR1,    #0x5736
cw 0xd
call send_back  ; 58291 (0xe3b3)

lri $AR1,    #0xaafc
lri $IX1,    #0x41ba
lri $WR1,    #0xb3fc
cw 0xd
call send_back  ; 58292 (0xe3b4)

lri $AR1,    #0x6012
lri $IX1,    #0xa6ee
lri $WR1,    #0xd51c
cw 0xd
call send_back  ; 58293 (0xe3b5)

lri $AR1,    #0x7c48
lri $IX1,    #0x20da
lri $WR1,    #0x73fc
cw 0xd
call send_back  ; 58294 (0xe3b6)

lri $AR1,    #0xa61f
lri $IX1,    #0xdc2a
lri $WR1,    #0x9395
cw 0xd
call send_back  ; 58295 (0xe3b7)

lri $AR1,    #0x635a
lri $IX1,    #0x31e2
lri $WR1,    #0x11f9
cw 0xd
call send_back  ; 58296 (0xe3b8)

lri $AR1,    #0xcb6f
lri $IX1,    #0xfe28
lri $WR1,    #0x2c87
cw 0xd
call send_back  ; 58297 (0xe3b9)

lri $AR1,    #0xe8d5
lri $IX1,    #0x8846
lri $WR1,    #0xfc66
cw 0xd
call send_back  ; 58298 (0xe3ba)

lri $AR1,    #0x72e4
lri $IX1,    #0x9434
lri $WR1,    #0x4258
cw 0xd
call send_back  ; 58299 (0xe3bb)

lri $AR1,    #0x71b0
lri $IX1,    #0xd98e
lri $WR1,    #0xee77
cw 0xd
call send_back  ; 58300 (0xe3bc)

lri $AR1,    #0x988e
lri $IX1,    #0xb324
lri $WR1,    #0x89dc
cw 0xd
call send_back  ; 58301 (0xe3bd)

lri $AR1,    #0x93c1
lri $IX1,    #0x461e
lri $WR1,    #0x65d4
cw 0xd
call send_back  ; 58302 (0xe3be)

lri $AR1,    #0x88ef
lri $IX1,    #0x7edc
lri $WR1,    #0x95b2
cw 0xd
call send_back  ; 58303 (0xe3bf)

lri $AR1,    #0x81cb
lri $IX1,    #0xf57e
lri $WR1,    #0x9db5
cw 0xd
call send_back  ; 58304 (0xe3c0)

lri $AR1,    #0xc3c4
lri $IX1,    #0xf356
lri $WR1,    #0x4b36
cw 0xd
call send_back  ; 58305 (0xe3c1)

lri $AR1,    #0x96f9
lri $IX1,    #0x4e20
lri $WR1,    #0x3792
cw 0xd
call send_back  ; 58306 (0xe3c2)

lri $AR1,    #0x9250
lri $IX1,    #0x7d32
lri $WR1,    #0xe8e8
cw 0xd
call send_back  ; 58307 (0xe3c3)

lri $AR1,    #0x89f4
lri $IX1,    #0x10aa
lri $WR1,    #0xb949
cw 0xd
call send_back  ; 58308 (0xe3c4)

lri $AR1,    #0x991d
lri $IX1,    #0x69ae
lri $WR1,    #0x864e
cw 0xd
call send_back  ; 58309 (0xe3c5)

lri $AR1,    #0xcf5d
lri $IX1,    #0x1ebe
lri $WR1,    #0x88c4
cw 0xd
call send_back  ; 58310 (0xe3c6)

lri $AR1,    #0x2d4e
lri $IX1,    #0xb640
lri $WR1,    #0x7561
cw 0xd
call send_back  ; 58311 (0xe3c7)

lri $AR1,    #0x33e6
lri $IX1,    #0x3542
lri $WR1,    #0x8d24
cw 0xd
call send_back  ; 58312 (0xe3c8)

lri $AR1,    #0x355d
lri $IX1,    #0x4792
lri $WR1,    #0x6d70
cw 0xd
call send_back  ; 58313 (0xe3c9)

lri $AR1,    #0xb5c9
lri $IX1,    #0x6226
lri $WR1,    #0x9d65
cw 0xd
call send_back  ; 58314 (0xe3ca)

lri $AR1,    #0xdd69
lri $IX1,    #0x100c
lri $WR1,    #0x6791
cw 0xd
call send_back  ; 58315 (0xe3cb)

lri $AR1,    #0xa5da
lri $IX1,    #0x7db0
lri $WR1,    #0x648b
cw 0xd
call send_back  ; 58316 (0xe3cc)

lri $AR1,    #0x6700
lri $IX1,    #0x2de0
lri $WR1,    #0x9480
cw 0xd
call send_back  ; 58317 (0xe3cd)

lri $AR1,    #0x980e
lri $IX1,    #0x6f3e
lri $WR1,    #0x6347
cw 0xd
call send_back  ; 58318 (0xe3ce)

lri $AR1,    #0x5c5d
lri $IX1,    #0x888c
lri $WR1,    #0x540b
cw 0xd
call send_back  ; 58319 (0xe3cf)

lri $AR1,    #0xab7d
lri $IX1,    #0x8592
lri $WR1,    #0xb71f
cw 0xd
call send_back  ; 58320 (0xe3d0)

lri $AR1,    #0x6f3b
lri $IX1,    #0xf5ec
lri $WR1,    #0x95fc
cw 0xd
call send_back  ; 58321 (0xe3d1)

lri $AR1,    #0x31f5
lri $IX1,    #0xaa9e
lri $WR1,    #0xcf17
cw 0xd
call send_back  ; 58322 (0xe3d2)

lri $AR1,    #0xcb16
lri $IX1,    #0x6eb6
lri $WR1,    #0x8c7b
cw 0xd
call send_back  ; 58323 (0xe3d3)

lri $AR1,    #0x3ef6
lri $IX1,    #0xbac4
lri $WR1,    #0xb5d6
cw 0xd
call send_back  ; 58324 (0xe3d4)

lri $AR1,    #0x22f8
lri $IX1,    #0x5a88
lri $WR1,    #0x17fa
cw 0xd
call send_back  ; 58325 (0xe3d5)

lri $AR1,    #0xa642
lri $IX1,    #0xc79e
lri $WR1,    #0x9956
cw 0xd
call send_back  ; 58326 (0xe3d6)

lri $AR1,    #0x42bf
lri $IX1,    #0x7b72
lri $WR1,    #0x549e
cw 0xd
call send_back  ; 58327 (0xe3d7)

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