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

lri $AR1,    #0x8800
lri $IX1,    #0x42c4
lri $WR1,    #0xe25f
cw 0xd
call send_back  ; 13218 (0x33a2)

lri $AR1,    #0xa7db
lri $IX1,    #0x1ad2
lri $WR1,    #0xd48c
cw 0xd
call send_back  ; 13219 (0x33a3)

lri $AR1,    #0xb19d
lri $IX1,    #0xbe5c
lri $WR1,    #0x713d
cw 0xd
call send_back  ; 13220 (0x33a4)

lri $AR1,    #0x5161
lri $IX1,    #0x6898
lri $WR1,    #0xa9e9
cw 0xd
call send_back  ; 13221 (0x33a5)

lri $AR1,    #0xcad7
lri $IX1,    #0xf706
lri $WR1,    #0x3449
cw 0xd
call send_back  ; 13222 (0x33a6)

lri $AR1,    #0x5d29
lri $IX1,    #0xc54e
lri $WR1,    #0xc75f
cw 0xd
call send_back  ; 13223 (0x33a7)

lri $AR1,    #0x57a1
lri $IX1,    #0xeb2e
lri $WR1,    #0x1e0b
cw 0xd
call send_back  ; 13224 (0x33a8)

lri $AR1,    #0x5db8
lri $IX1,    #0x71e6
lri $WR1,    #0x9f68
cw 0xd
call send_back  ; 13225 (0x33a9)

lri $AR1,    #0x7901
lri $IX1,    #0x31ce
lri $WR1,    #0xba68
cw 0xd
call send_back  ; 13226 (0x33aa)

lri $AR1,    #0xcab3
lri $IX1,    #0x5892
lri $WR1,    #0x93c1
cw 0xd
call send_back  ; 13227 (0x33ab)

lri $AR1,    #0x5614
lri $IX1,    #0xfbb4
lri $WR1,    #0xfacc
cw 0xd
call send_back  ; 13228 (0x33ac)

lri $AR1,    #0x58af
lri $IX1,    #0x72cc
lri $WR1,    #0x934e
cw 0xd
call send_back  ; 13229 (0x33ad)

lri $AR1,    #0x5494
lri $IX1,    #0x6044
lri $WR1,    #0x9fcf
cw 0xd
call send_back  ; 13230 (0x33ae)

lri $AR1,    #0xb471
lri $IX1,    #0x2edc
lri $WR1,    #0xb984
cw 0xd
call send_back  ; 13231 (0x33af)

lri $AR1,    #0x28e4
lri $IX1,    #0x3dcc
lri $WR1,    #0xe85f
cw 0xd
call send_back  ; 13232 (0x33b0)

lri $AR1,    #0x69bc
lri $IX1,    #0xdce0
lri $WR1,    #0xd754
cw 0xd
call send_back  ; 13233 (0x33b1)

lri $AR1,    #0xc597
lri $IX1,    #0x7542
lri $WR1,    #0xae68
cw 0xd
call send_back  ; 13234 (0x33b2)

lri $AR1,    #0xbd94
lri $IX1,    #0xab5a
lri $WR1,    #0x4d90
cw 0xd
call send_back  ; 13235 (0x33b3)

lri $AR1,    #0x3278
lri $IX1,    #0xc990
lri $WR1,    #0x98fc
cw 0xd
call send_back  ; 13236 (0x33b4)

lri $AR1,    #0x440b
lri $IX1,    #0x3b30
lri $WR1,    #0x20d3
cw 0xd
call send_back  ; 13237 (0x33b5)

lri $AR1,    #0x530f
lri $IX1,    #0x2a5c
lri $WR1,    #0x8bf8
cw 0xd
call send_back  ; 13238 (0x33b6)

lri $AR1,    #0x7984
lri $IX1,    #0x533a
lri $WR1,    #0xaee7
cw 0xd
call send_back  ; 13239 (0x33b7)

lri $AR1,    #0xa4ad
lri $IX1,    #0xb250
lri $WR1,    #0x7d32
cw 0xd
call send_back  ; 13240 (0x33b8)

lri $AR1,    #0xa780
lri $IX1,    #0xbb44
lri $WR1,    #0x6db5
cw 0xd
call send_back  ; 13241 (0x33b9)

lri $AR1,    #0x7bf4
lri $IX1,    #0x20e0
lri $WR1,    #0x571a
cw 0xd
call send_back  ; 13242 (0x33ba)

lri $AR1,    #0x5ce2
lri $IX1,    #0xc69c
lri $WR1,    #0x9ba3
cw 0xd
call send_back  ; 13243 (0x33bb)

lri $AR1,    #0xc9db
lri $IX1,    #0x1792
lri $WR1,    #0x90e7
cw 0xd
call send_back  ; 13244 (0x33bc)

lri $AR1,    #0xc1b7
lri $IX1,    #0x9618
lri $WR1,    #0xc981
cw 0xd
call send_back  ; 13245 (0x33bd)

lri $AR1,    #0x7039
lri $IX1,    #0xe2d0
lri $WR1,    #0xa440
cw 0xd
call send_back  ; 13246 (0x33be)

lri $AR1,    #0x8e84
lri $IX1,    #0x999a
lri $WR1,    #0xa5f3
cw 0xd
call send_back  ; 13247 (0x33bf)

lri $AR1,    #0xadcf
lri $IX1,    #0x161a
lri $WR1,    #0x885e
cw 0xd
call send_back  ; 13248 (0x33c0)

lri $AR1,    #0x6f05
lri $IX1,    #0x5922
lri $WR1,    #0x7255
cw 0xd
call send_back  ; 13249 (0x33c1)

lri $AR1,    #0x29c8
lri $IX1,    #0xc3e8
lri $WR1,    #0x5ab7
cw 0xd
call send_back  ; 13250 (0x33c2)

lri $AR1,    #0x987c
lri $IX1,    #0x0d48
lri $WR1,    #0x8923
cw 0xd
call send_back  ; 13251 (0x33c3)

lri $AR1,    #0xa6ce
lri $IX1,    #0x98de
lri $WR1,    #0x5d2a
cw 0xd
call send_back  ; 13252 (0x33c4)

lri $AR1,    #0x5b76
lri $IX1,    #0x0f52
lri $WR1,    #0x5de5
cw 0xd
call send_back  ; 13253 (0x33c5)

lri $AR1,    #0x6585
lri $IX1,    #0xa2a0
lri $WR1,    #0x71a0
cw 0xd
call send_back  ; 13254 (0x33c6)

lri $AR1,    #0x7913
lri $IX1,    #0xa8b0
lri $WR1,    #0x5e92
cw 0xd
call send_back  ; 13255 (0x33c7)

lri $AR1,    #0xbe99
lri $IX1,    #0x0a10
lri $WR1,    #0x3b3c
cw 0xd
call send_back  ; 13256 (0x33c8)

lri $AR1,    #0x83ce
lri $IX1,    #0x4a0e
lri $WR1,    #0x1e7e
cw 0xd
call send_back  ; 13257 (0x33c9)

lri $AR1,    #0x7c49
lri $IX1,    #0x8920
lri $WR1,    #0x8cf9
cw 0xd
call send_back  ; 13258 (0x33ca)

lri $AR1,    #0x93c7
lri $IX1,    #0xb1d4
lri $WR1,    #0x32bb
cw 0xd
call send_back  ; 13259 (0x33cb)

lri $AR1,    #0x7b65
lri $IX1,    #0xe416
lri $WR1,    #0x4ddb
cw 0xd
call send_back  ; 13260 (0x33cc)

lri $AR1,    #0x9689
lri $IX1,    #0x0a32
lri $WR1,    #0xa806
cw 0xd
call send_back  ; 13261 (0x33cd)

lri $AR1,    #0x9be4
lri $IX1,    #0x2e4e
lri $WR1,    #0x7a93
cw 0xd
call send_back  ; 13262 (0x33ce)

lri $AR1,    #0x8252
lri $IX1,    #0x86ac
lri $WR1,    #0x7a2e
cw 0xd
call send_back  ; 13263 (0x33cf)

lri $AR1,    #0x08e0
lri $IX1,    #0x2290
lri $WR1,    #0x6ca7
cw 0xd
call send_back  ; 13264 (0x33d0)

lri $AR1,    #0x34db
lri $IX1,    #0x8918
lri $WR1,    #0xf4fa
cw 0xd
call send_back  ; 13265 (0x33d1)

lri $AR1,    #0x6024
lri $IX1,    #0x56c8
lri $WR1,    #0x0f1b
cw 0xd
call send_back  ; 13266 (0x33d2)

lri $AR1,    #0x45a3
lri $IX1,    #0xd62e
lri $WR1,    #0x6694
cw 0xd
call send_back  ; 13267 (0x33d3)

lri $AR1,    #0xc131
lri $IX1,    #0x9358
lri $WR1,    #0xa897
cw 0xd
call send_back  ; 13268 (0x33d4)

lri $AR1,    #0x93b2
lri $IX1,    #0xe18c
lri $WR1,    #0x0b6f
cw 0xd
call send_back  ; 13269 (0x33d5)

lri $AR1,    #0xcbc9
lri $IX1,    #0x15e0
lri $WR1,    #0x6312
cw 0xd
call send_back  ; 13270 (0x33d6)

lri $AR1,    #0x56e4
lri $IX1,    #0xb940
lri $WR1,    #0x9bb0
cw 0xd
call send_back  ; 13271 (0x33d7)

lri $AR1,    #0x95f6
lri $IX1,    #0x077e
lri $WR1,    #0xb8f9
cw 0xd
call send_back  ; 13272 (0x33d8)

lri $AR1,    #0x7cb1
lri $IX1,    #0x98d4
lri $WR1,    #0x6213
cw 0xd
call send_back  ; 13273 (0x33d9)

lri $AR1,    #0xa18e
lri $IX1,    #0xeea2
lri $WR1,    #0x6fd5
cw 0xd
call send_back  ; 13274 (0x33da)

lri $AR1,    #0x9873
lri $IX1,    #0xabc8
lri $WR1,    #0x4459
cw 0xd
call send_back  ; 13275 (0x33db)

lri $AR1,    #0x5944
lri $IX1,    #0x644a
lri $WR1,    #0xc876
cw 0xd
call send_back  ; 13276 (0x33dc)

lri $AR1,    #0xaf33
lri $IX1,    #0x07ae
lri $WR1,    #0xa52b
cw 0xd
call send_back  ; 13277 (0x33dd)

lri $AR1,    #0x9d25
lri $IX1,    #0xd4d4
lri $WR1,    #0x8c98
cw 0xd
call send_back  ; 13278 (0x33de)

lri $AR1,    #0x26eb
lri $IX1,    #0x65a0
lri $WR1,    #0x8782
cw 0xd
call send_back  ; 13279 (0x33df)

lri $AR1,    #0x66aa
lri $IX1,    #0x943c
lri $WR1,    #0xa20d
cw 0xd
call send_back  ; 13280 (0x33e0)

lri $AR1,    #0x214e
lri $IX1,    #0xa352
lri $WR1,    #0x5b93
cw 0xd
call send_back  ; 13281 (0x33e1)

lri $AR1,    #0x8c39
lri $IX1,    #0x0df0
lri $WR1,    #0x4b64
cw 0xd
call send_back  ; 13282 (0x33e2)

lri $AR1,    #0x8a19
lri $IX1,    #0x9398
lri $WR1,    #0x5d34
cw 0xd
call send_back  ; 13283 (0x33e3)

lri $AR1,    #0x2c30
lri $IX1,    #0x580e
lri $WR1,    #0x3e13
cw 0xd
call send_back  ; 13284 (0x33e4)

lri $AR1,    #0xa0cf
lri $IX1,    #0x266c
lri $WR1,    #0x6bc3
cw 0xd
call send_back  ; 13285 (0x33e5)

lri $AR1,    #0x476b
lri $IX1,    #0xf22c
lri $WR1,    #0xb61d
cw 0xd
call send_back  ; 13286 (0x33e6)

lri $AR1,    #0x4608
lri $IX1,    #0x707a
lri $WR1,    #0x438f
cw 0xd
call send_back  ; 13287 (0x33e7)

lri $AR1,    #0x9351
lri $IX1,    #0xf7ac
lri $WR1,    #0xaf3a
cw 0xd
call send_back  ; 13288 (0x33e8)

lri $AR1,    #0xd438
lri $IX1,    #0x9a24
lri $WR1,    #0x80c5
cw 0xd
call send_back  ; 13289 (0x33e9)

lri $AR1,    #0x8b56
lri $IX1,    #0x8d74
lri $WR1,    #0xeb7f
cw 0xd
call send_back  ; 13290 (0x33ea)

lri $AR1,    #0xcbf6
lri $IX1,    #0x3e0c
lri $WR1,    #0x53cf
cw 0xd
call send_back  ; 13291 (0x33eb)

lri $AR1,    #0xca07
lri $IX1,    #0xd342
lri $WR1,    #0x6f88
cw 0xd
call send_back  ; 13292 (0x33ec)

lri $AR1,    #0x9bc6
lri $IX1,    #0x3f18
lri $WR1,    #0xcf40
cw 0xd
call send_back  ; 13293 (0x33ed)

lri $AR1,    #0x318c
lri $IX1,    #0x206e
lri $WR1,    #0x9c1d
cw 0xd
call send_back  ; 13294 (0x33ee)

lri $AR1,    #0x4b5e
lri $IX1,    #0x9e04
lri $WR1,    #0xb742
cw 0xd
call send_back  ; 13295 (0x33ef)

lri $AR1,    #0x6bbc
lri $IX1,    #0xd430
lri $WR1,    #0x0d5d
cw 0xd
call send_back  ; 13296 (0x33f0)

lri $AR1,    #0xd26e
lri $IX1,    #0x5660
lri $WR1,    #0xba71
cw 0xd
call send_back  ; 13297 (0x33f1)

lri $AR1,    #0x4998
lri $IX1,    #0x8172
lri $WR1,    #0x6762
cw 0xd
call send_back  ; 13298 (0x33f2)

lri $AR1,    #0x62ee
lri $IX1,    #0xcb18
lri $WR1,    #0x7c52
cw 0xd
call send_back  ; 13299 (0x33f3)

lri $AR1,    #0x8a5a
lri $IX1,    #0xbe0c
lri $WR1,    #0xb86f
cw 0xd
call send_back  ; 13300 (0x33f4)

lri $AR1,    #0x6edc
lri $IX1,    #0xca86
lri $WR1,    #0x592f
cw 0xd
call send_back  ; 13301 (0x33f5)

lri $AR1,    #0x11fb
lri $IX1,    #0x5d96
lri $WR1,    #0x9892
cw 0xd
call send_back  ; 13302 (0x33f6)

lri $AR1,    #0xb18e
lri $IX1,    #0xb1ee
lri $WR1,    #0x4b82
cw 0xd
call send_back  ; 13303 (0x33f7)

lri $AR1,    #0x973d
lri $IX1,    #0x5faa
lri $WR1,    #0xaecf
cw 0xd
call send_back  ; 13304 (0x33f8)

lri $AR1,    #0x8474
lri $IX1,    #0xb892
lri $WR1,    #0xdae3
cw 0xd
call send_back  ; 13305 (0x33f9)

lri $AR1,    #0xd130
lri $IX1,    #0x59a8
lri $WR1,    #0x43c6
cw 0xd
call send_back  ; 13306 (0x33fa)

lri $AR1,    #0x4760
lri $IX1,    #0xea2c
lri $WR1,    #0x7c6a
cw 0xd
call send_back  ; 13307 (0x33fb)

lri $AR1,    #0xac3c
lri $IX1,    #0xa40e
lri $WR1,    #0x89e2
cw 0xd
call send_back  ; 13308 (0x33fc)

lri $AR1,    #0xa453
lri $IX1,    #0xd904
lri $WR1,    #0x4c96
cw 0xd
call send_back  ; 13309 (0x33fd)

lri $AR1,    #0x8eaa
lri $IX1,    #0x132c
lri $WR1,    #0xc2f5
cw 0xd
call send_back  ; 13310 (0x33fe)

lri $AR1,    #0x76bc
lri $IX1,    #0x8f6c
lri $WR1,    #0x8abb
cw 0xd
call send_back  ; 13311 (0x33ff)

lri $AR1,    #0x34a6
lri $IX1,    #0x837a
lri $WR1,    #0x6b69
cw 0xd
call send_back  ; 13312 (0x3400)

lri $AR1,    #0x9e4c
lri $IX1,    #0xc8d0
lri $WR1,    #0xbde4
cw 0xd
call send_back  ; 13313 (0x3401)

lri $AR1,    #0xabd1
lri $IX1,    #0x015c
lri $WR1,    #0x12e6
cw 0xd
call send_back  ; 13314 (0x3402)

lri $AR1,    #0x8532
lri $IX1,    #0xfa3e
lri $WR1,    #0x6b3f
cw 0xd
call send_back  ; 13315 (0x3403)

lri $AR1,    #0x7640
lri $IX1,    #0xd468
lri $WR1,    #0x8a7a
cw 0xd
call send_back  ; 13316 (0x3404)

lri $AR1,    #0x21eb
lri $IX1,    #0x3266
lri $WR1,    #0xc602
cw 0xd
call send_back  ; 13317 (0x3405)

lri $AR1,    #0x5d09
lri $IX1,    #0x362e
lri $WR1,    #0x9040
cw 0xd
call send_back  ; 13318 (0x3406)

lri $AR1,    #0x3c88
lri $IX1,    #0x592c
lri $WR1,    #0xc0d6
cw 0xd
call send_back  ; 13319 (0x3407)

lri $AR1,    #0x7a49
lri $IX1,    #0xfc84
lri $WR1,    #0xa086
cw 0xd
call send_back  ; 13320 (0x3408)

lri $AR1,    #0x3f75
lri $IX1,    #0xd6ac
lri $WR1,    #0x68bd
cw 0xd
call send_back  ; 13321 (0x3409)

lri $AR1,    #0x82ac
lri $IX1,    #0xff4e
lri $WR1,    #0x947c
cw 0xd
call send_back  ; 13322 (0x340a)

lri $AR1,    #0x5bc1
lri $IX1,    #0x29bc
lri $WR1,    #0x717c
cw 0xd
call send_back  ; 13323 (0x340b)

lri $AR1,    #0x5677
lri $IX1,    #0x81bc
lri $WR1,    #0xb652
cw 0xd
call send_back  ; 13324 (0x340c)

lri $AR1,    #0xc8e7
lri $IX1,    #0x75fe
lri $WR1,    #0x5b7c
cw 0xd
call send_back  ; 13325 (0x340d)

lri $AR1,    #0xe20c
lri $IX1,    #0x671e
lri $WR1,    #0x72ed
cw 0xd
call send_back  ; 13326 (0x340e)

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