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

lri $AR1,    #0x62e0
lri $IX1,    #0x0f0e
lri $WR1,    #0xc7ad
cw 0xd
call send_back  ; 49262 (0xc06e)

lri $AR1,    #0xc4e4
lri $IX1,    #0xa658
lri $WR1,    #0xa79e
cw 0xd
call send_back  ; 49263 (0xc06f)

lri $AR1,    #0x46f3
lri $IX1,    #0x8094
lri $WR1,    #0x7864
cw 0xd
call send_back  ; 49264 (0xc070)

lri $AR1,    #0x1ede
lri $IX1,    #0x0fa2
lri $WR1,    #0x72bf
cw 0xd
call send_back  ; 49265 (0xc071)

lri $AR1,    #0x5ef5
lri $IX1,    #0xb1ea
lri $WR1,    #0xb2eb
cw 0xd
call send_back  ; 49266 (0xc072)

lri $AR1,    #0xbe38
lri $IX1,    #0xe4cc
lri $WR1,    #0x4209
cw 0xd
call send_back  ; 49267 (0xc073)

lri $AR1,    #0x7dff
lri $IX1,    #0xabcc
lri $WR1,    #0x6ce3
cw 0xd
call send_back  ; 49268 (0xc074)

lri $AR1,    #0xadd4
lri $IX1,    #0x140e
lri $WR1,    #0x522a
cw 0xd
call send_back  ; 49269 (0xc075)

lri $AR1,    #0x5de9
lri $IX1,    #0x06b0
lri $WR1,    #0xafbb
cw 0xd
call send_back  ; 49270 (0xc076)

lri $AR1,    #0x33e5
lri $IX1,    #0x9c8c
lri $WR1,    #0x77fc
cw 0xd
call send_back  ; 49271 (0xc077)

lri $AR1,    #0xad58
lri $IX1,    #0xb90c
lri $WR1,    #0x7dd7
cw 0xd
call send_back  ; 49272 (0xc078)

lri $AR1,    #0x86bc
lri $IX1,    #0xb968
lri $WR1,    #0x6f76
cw 0xd
call send_back  ; 49273 (0xc079)

lri $AR1,    #0x9d39
lri $IX1,    #0x612a
lri $WR1,    #0xc539
cw 0xd
call send_back  ; 49274 (0xc07a)

lri $AR1,    #0x950b
lri $IX1,    #0xbc3c
lri $WR1,    #0x9c0e
cw 0xd
call send_back  ; 49275 (0xc07b)

lri $AR1,    #0x75d5
lri $IX1,    #0x525e
lri $WR1,    #0x87a7
cw 0xd
call send_back  ; 49276 (0xc07c)

lri $AR1,    #0x29b1
lri $IX1,    #0x9f30
lri $WR1,    #0x22a8
cw 0xd
call send_back  ; 49277 (0xc07d)

lri $AR1,    #0xbb54
lri $IX1,    #0x2ddc
lri $WR1,    #0x6057
cw 0xd
call send_back  ; 49278 (0xc07e)

lri $AR1,    #0xb302
lri $IX1,    #0xd676
lri $WR1,    #0x44f2
cw 0xd
call send_back  ; 49279 (0xc07f)

lri $AR1,    #0x69c4
lri $IX1,    #0x4efe
lri $WR1,    #0x8f13
cw 0xd
call send_back  ; 49280 (0xc080)

lri $AR1,    #0x758a
lri $IX1,    #0x695a
lri $WR1,    #0x665c
cw 0xd
call send_back  ; 49281 (0xc081)

lri $AR1,    #0x50a5
lri $IX1,    #0xd304
lri $WR1,    #0xb0e2
cw 0xd
call send_back  ; 49282 (0xc082)

lri $AR1,    #0xf25b
lri $IX1,    #0xdac8
lri $WR1,    #0xa271
cw 0xd
call send_back  ; 49283 (0xc083)

lri $AR1,    #0x95ec
lri $IX1,    #0x8466
lri $WR1,    #0x4e32
cw 0xd
call send_back  ; 49284 (0xc084)

lri $AR1,    #0xc8d1
lri $IX1,    #0xe956
lri $WR1,    #0x5cc9
cw 0xd
call send_back  ; 49285 (0xc085)

lri $AR1,    #0x688f
lri $IX1,    #0x7196
lri $WR1,    #0x667c
cw 0xd
call send_back  ; 49286 (0xc086)

lri $AR1,    #0xdbdd
lri $IX1,    #0xaec2
lri $WR1,    #0x326c
cw 0xd
call send_back  ; 49287 (0xc087)

lri $AR1,    #0x6a8a
lri $IX1,    #0x7748
lri $WR1,    #0x2172
cw 0xd
call send_back  ; 49288 (0xc088)

lri $AR1,    #0x82cc
lri $IX1,    #0x2708
lri $WR1,    #0x34bb
cw 0xd
call send_back  ; 49289 (0xc089)

lri $AR1,    #0x5a6c
lri $IX1,    #0x863c
lri $WR1,    #0xcda0
cw 0xd
call send_back  ; 49290 (0xc08a)

lri $AR1,    #0x8d8b
lri $IX1,    #0xa6e2
lri $WR1,    #0x55db
cw 0xd
call send_back  ; 49291 (0xc08b)

lri $AR1,    #0x8456
lri $IX1,    #0xec8a
lri $WR1,    #0xd49b
cw 0xd
call send_back  ; 49292 (0xc08c)

lri $AR1,    #0x6475
lri $IX1,    #0x49d2
lri $WR1,    #0x6e99
cw 0xd
call send_back  ; 49293 (0xc08d)

lri $AR1,    #0x828d
lri $IX1,    #0x6a5e
lri $WR1,    #0x4ca3
cw 0xd
call send_back  ; 49294 (0xc08e)

lri $AR1,    #0x8b9a
lri $IX1,    #0xdfa6
lri $WR1,    #0xc5d1
cw 0xd
call send_back  ; 49295 (0xc08f)

lri $AR1,    #0xd57d
lri $IX1,    #0x5a4e
lri $WR1,    #0x4fcd
cw 0xd
call send_back  ; 49296 (0xc090)

lri $AR1,    #0x5183
lri $IX1,    #0x6186
lri $WR1,    #0x815e
cw 0xd
call send_back  ; 49297 (0xc091)

lri $AR1,    #0x5b3e
lri $IX1,    #0xb516
lri $WR1,    #0x40af
cw 0xd
call send_back  ; 49298 (0xc092)

lri $AR1,    #0x717c
lri $IX1,    #0x767c
lri $WR1,    #0x6877
cw 0xd
call send_back  ; 49299 (0xc093)

lri $AR1,    #0xaea5
lri $IX1,    #0x38ea
lri $WR1,    #0xa480
cw 0xd
call send_back  ; 49300 (0xc094)

lri $AR1,    #0x7160
lri $IX1,    #0x0f76
lri $WR1,    #0xdfa0
cw 0xd
call send_back  ; 49301 (0xc095)

lri $AR1,    #0x75c1
lri $IX1,    #0x7c38
lri $WR1,    #0xbac6
cw 0xd
call send_back  ; 49302 (0xc096)

lri $AR1,    #0x02d9
lri $IX1,    #0xa2d0
lri $WR1,    #0x860e
cw 0xd
call send_back  ; 49303 (0xc097)

lri $AR1,    #0xa7ed
lri $IX1,    #0x33f2
lri $WR1,    #0x7a7f
cw 0xd
call send_back  ; 49304 (0xc098)

lri $AR1,    #0xb031
lri $IX1,    #0x0f64
lri $WR1,    #0x5c8d
cw 0xd
call send_back  ; 49305 (0xc099)

lri $AR1,    #0xd350
lri $IX1,    #0x7552
lri $WR1,    #0x9cc5
cw 0xd
call send_back  ; 49306 (0xc09a)

lri $AR1,    #0x9c91
lri $IX1,    #0xaf06
lri $WR1,    #0x5dee
cw 0xd
call send_back  ; 49307 (0xc09b)

lri $AR1,    #0x69eb
lri $IX1,    #0x3b2a
lri $WR1,    #0x5cf7
cw 0xd
call send_back  ; 49308 (0xc09c)

lri $AR1,    #0x1fd3
lri $IX1,    #0xa092
lri $WR1,    #0x70ea
cw 0xd
call send_back  ; 49309 (0xc09d)

lri $AR1,    #0x9e1d
lri $IX1,    #0xf6a6
lri $WR1,    #0x965f
cw 0xd
call send_back  ; 49310 (0xc09e)

lri $AR1,    #0x85bd
lri $IX1,    #0xd176
lri $WR1,    #0x9b8b
cw 0xd
call send_back  ; 49311 (0xc09f)

lri $AR1,    #0x56ae
lri $IX1,    #0x7394
lri $WR1,    #0x6763
cw 0xd
call send_back  ; 49312 (0xc0a0)

lri $AR1,    #0xb8d9
lri $IX1,    #0xceb6
lri $WR1,    #0x6014
cw 0xd
call send_back  ; 49313 (0xc0a1)

lri $AR1,    #0xc252
lri $IX1,    #0xd830
lri $WR1,    #0x8220
cw 0xd
call send_back  ; 49314 (0xc0a2)

lri $AR1,    #0x20ad
lri $IX1,    #0xe574
lri $WR1,    #0xab6b
cw 0xd
call send_back  ; 49315 (0xc0a3)

lri $AR1,    #0x92ba
lri $IX1,    #0x086a
lri $WR1,    #0x529c
cw 0xd
call send_back  ; 49316 (0xc0a4)

lri $AR1,    #0x7b8f
lri $IX1,    #0x9afc
lri $WR1,    #0xbcff
cw 0xd
call send_back  ; 49317 (0xc0a5)

lri $AR1,    #0x6712
lri $IX1,    #0x34a8
lri $WR1,    #0xa26a
cw 0xd
call send_back  ; 49318 (0xc0a6)

lri $AR1,    #0x7be8
lri $IX1,    #0x044a
lri $WR1,    #0x7031
cw 0xd
call send_back  ; 49319 (0xc0a7)

lri $AR1,    #0x6e0f
lri $IX1,    #0xdc1a
lri $WR1,    #0xe1d1
cw 0xd
call send_back  ; 49320 (0xc0a8)

lri $AR1,    #0x70fb
lri $IX1,    #0x050c
lri $WR1,    #0xcf3b
cw 0xd
call send_back  ; 49321 (0xc0a9)

lri $AR1,    #0x4777
lri $IX1,    #0x0a76
lri $WR1,    #0xbe78
cw 0xd
call send_back  ; 49322 (0xc0aa)

lri $AR1,    #0xc32f
lri $IX1,    #0xfe38
lri $WR1,    #0x5798
cw 0xd
call send_back  ; 49323 (0xc0ab)

lri $AR1,    #0x2d24
lri $IX1,    #0x194c
lri $WR1,    #0xaf8a
cw 0xd
call send_back  ; 49324 (0xc0ac)

lri $AR1,    #0x8bd8
lri $IX1,    #0xf404
lri $WR1,    #0x57ec
cw 0xd
call send_back  ; 49325 (0xc0ad)

lri $AR1,    #0x6b92
lri $IX1,    #0xbcc2
lri $WR1,    #0x1f5e
cw 0xd
call send_back  ; 49326 (0xc0ae)

lri $AR1,    #0x907b
lri $IX1,    #0xb37a
lri $WR1,    #0x4f6e
cw 0xd
call send_back  ; 49327 (0xc0af)

lri $AR1,    #0xb1e5
lri $IX1,    #0xa3e2
lri $WR1,    #0x5aa4
cw 0xd
call send_back  ; 49328 (0xc0b0)

lri $AR1,    #0x699b
lri $IX1,    #0xff7a
lri $WR1,    #0x36ce
cw 0xd
call send_back  ; 49329 (0xc0b1)

lri $AR1,    #0xc170
lri $IX1,    #0x7464
lri $WR1,    #0x6d08
cw 0xd
call send_back  ; 49330 (0xc0b2)

lri $AR1,    #0x9cfc
lri $IX1,    #0x4d44
lri $WR1,    #0x9a9d
cw 0xd
call send_back  ; 49331 (0xc0b3)

lri $AR1,    #0x84bb
lri $IX1,    #0x69f4
lri $WR1,    #0x1358
cw 0xd
call send_back  ; 49332 (0xc0b4)

lri $AR1,    #0xf36f
lri $IX1,    #0x187c
lri $WR1,    #0x6f38
cw 0xd
call send_back  ; 49333 (0xc0b5)

lri $AR1,    #0x1610
lri $IX1,    #0x60f4
lri $WR1,    #0x6b37
cw 0xd
call send_back  ; 49334 (0xc0b6)

lri $AR1,    #0xd219
lri $IX1,    #0x56bc
lri $WR1,    #0x0629
cw 0xd
call send_back  ; 49335 (0xc0b7)

lri $AR1,    #0x3d82
lri $IX1,    #0x94d0
lri $WR1,    #0x8836
cw 0xd
call send_back  ; 49336 (0xc0b8)

lri $AR1,    #0x5f39
lri $IX1,    #0x1290
lri $WR1,    #0x8d16
cw 0xd
call send_back  ; 49337 (0xc0b9)

lri $AR1,    #0x6e6f
lri $IX1,    #0xd9bc
lri $WR1,    #0x9688
cw 0xd
call send_back  ; 49338 (0xc0ba)

lri $AR1,    #0xba74
lri $IX1,    #0xb608
lri $WR1,    #0x7e27
cw 0xd
call send_back  ; 49339 (0xc0bb)

lri $AR1,    #0x4c91
lri $IX1,    #0x9a02
lri $WR1,    #0xb323
cw 0xd
call send_back  ; 49340 (0xc0bc)

lri $AR1,    #0x9097
lri $IX1,    #0x0cb6
lri $WR1,    #0x69ee
cw 0xd
call send_back  ; 49341 (0xc0bd)

lri $AR1,    #0xc07e
lri $IX1,    #0x5ec2
lri $WR1,    #0x216e
cw 0xd
call send_back  ; 49342 (0xc0be)

lri $AR1,    #0x52e4
lri $IX1,    #0x8540
lri $WR1,    #0x82cb
cw 0xd
call send_back  ; 49343 (0xc0bf)

lri $AR1,    #0xa3b6
lri $IX1,    #0x2c46
lri $WR1,    #0x8661
cw 0xd
call send_back  ; 49344 (0xc0c0)

lri $AR1,    #0x59da
lri $IX1,    #0xba62
lri $WR1,    #0xd1dc
cw 0xd
call send_back  ; 49345 (0xc0c1)

lri $AR1,    #0x8c27
lri $IX1,    #0x79c2
lri $WR1,    #0x5134
cw 0xd
call send_back  ; 49346 (0xc0c2)

lri $AR1,    #0x3b7a
lri $IX1,    #0xcb78
lri $WR1,    #0x7d5f
cw 0xd
call send_back  ; 49347 (0xc0c3)

lri $AR1,    #0xbf37
lri $IX1,    #0x0c98
lri $WR1,    #0x7984
cw 0xd
call send_back  ; 49348 (0xc0c4)

lri $AR1,    #0x9d10
lri $IX1,    #0x8c84
lri $WR1,    #0x8898
cw 0xd
call send_back  ; 49349 (0xc0c5)

lri $AR1,    #0xd44d
lri $IX1,    #0x7f2e
lri $WR1,    #0xbafd
cw 0xd
call send_back  ; 49350 (0xc0c6)

lri $AR1,    #0x487e
lri $IX1,    #0x15b8
lri $WR1,    #0x7542
cw 0xd
call send_back  ; 49351 (0xc0c7)

lri $AR1,    #0x0ed4
lri $IX1,    #0xbb26
lri $WR1,    #0x767f
cw 0xd
call send_back  ; 49352 (0xc0c8)

lri $AR1,    #0x4cfd
lri $IX1,    #0xba80
lri $WR1,    #0xae6d
cw 0xd
call send_back  ; 49353 (0xc0c9)

lri $AR1,    #0x77ca
lri $IX1,    #0x2f34
lri $WR1,    #0x60c5
cw 0xd
call send_back  ; 49354 (0xc0ca)

lri $AR1,    #0x7370
lri $IX1,    #0xf006
lri $WR1,    #0xa4ee
cw 0xd
call send_back  ; 49355 (0xc0cb)

lri $AR1,    #0xbec1
lri $IX1,    #0x085a
lri $WR1,    #0xa695
cw 0xd
call send_back  ; 49356 (0xc0cc)

lri $AR1,    #0x4e1e
lri $IX1,    #0x2b38
lri $WR1,    #0x8541
cw 0xd
call send_back  ; 49357 (0xc0cd)

lri $AR1,    #0x6a6f
lri $IX1,    #0x36b8
lri $WR1,    #0xae5f
cw 0xd
call send_back  ; 49358 (0xc0ce)

lri $AR1,    #0xac07
lri $IX1,    #0x3e58
lri $WR1,    #0x6ef4
cw 0xd
call send_back  ; 49359 (0xc0cf)

lri $AR1,    #0x60ae
lri $IX1,    #0x85d2
lri $WR1,    #0x9f69
cw 0xd
call send_back  ; 49360 (0xc0d0)

lri $AR1,    #0x37a6
lri $IX1,    #0x3dfe
lri $WR1,    #0x9590
cw 0xd
call send_back  ; 49361 (0xc0d1)

lri $AR1,    #0x4e08
lri $IX1,    #0x9056
lri $WR1,    #0xd676
cw 0xd
call send_back  ; 49362 (0xc0d2)

lri $AR1,    #0x8937
lri $IX1,    #0x75a2
lri $WR1,    #0xb2fe
cw 0xd
call send_back  ; 49363 (0xc0d3)

lri $AR1,    #0x74c0
lri $IX1,    #0xd768
lri $WR1,    #0x6fef
cw 0xd
call send_back  ; 49364 (0xc0d4)

lri $AR1,    #0x7482
lri $IX1,    #0x73a2
lri $WR1,    #0xb371
cw 0xd
call send_back  ; 49365 (0xc0d5)

lri $AR1,    #0x6b57
lri $IX1,    #0xc564
lri $WR1,    #0x8f8d
cw 0xd
call send_back  ; 49366 (0xc0d6)

lri $AR1,    #0xda25
lri $IX1,    #0xb4ce
lri $WR1,    #0x82cd
cw 0xd
call send_back  ; 49367 (0xc0d7)

lri $AR1,    #0x5296
lri $IX1,    #0xe42c
lri $WR1,    #0x8d7a
cw 0xd
call send_back  ; 49368 (0xc0d8)

lri $AR1,    #0x4456
lri $IX1,    #0xf76c
lri $WR1,    #0x6390
cw 0xd
call send_back  ; 49369 (0xc0d9)

lri $AR1,    #0x8b16
lri $IX1,    #0x0eec
lri $WR1,    #0xb0ff
cw 0xd
call send_back  ; 49370 (0xc0da)

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