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

lri $AR1,    #0x7af3
lri $IX1,    #0xa6de
lri $WR1,    #0x4341
cw 0x15
call send_back  ; 36264 (0x8da8)

lri $AR1,    #0x6f6b
lri $IX1,    #0x9138
lri $WR1,    #0x6d4f
cw 0x15
call send_back  ; 36265 (0x8da9)

lri $AR1,    #0x2111
lri $IX1,    #0xf694
lri $WR1,    #0x71a1
cw 0x15
call send_back  ; 36266 (0x8daa)

lri $AR1,    #0x9009
lri $IX1,    #0xf2de
lri $WR1,    #0x319f
cw 0x15
call send_back  ; 36267 (0x8dab)

lri $AR1,    #0x9909
lri $IX1,    #0x6b9e
lri $WR1,    #0x4dd0
cw 0x15
call send_back  ; 36268 (0x8dac)

lri $AR1,    #0x298e
lri $IX1,    #0x79ce
lri $WR1,    #0x9bab
cw 0x15
call send_back  ; 36269 (0x8dad)

lri $AR1,    #0x4616
lri $IX1,    #0x8514
lri $WR1,    #0xdbe7
cw 0x15
call send_back  ; 36270 (0x8dae)

lri $AR1,    #0xca42
lri $IX1,    #0x4a42
lri $WR1,    #0x7e69
cw 0x15
call send_back  ; 36271 (0x8daf)

lri $AR1,    #0x821c
lri $IX1,    #0x932a
lri $WR1,    #0x6652
cw 0x15
call send_back  ; 36272 (0x8db0)

lri $AR1,    #0x4766
lri $IX1,    #0x7e96
lri $WR1,    #0x6a49
cw 0x15
call send_back  ; 36273 (0x8db1)

lri $AR1,    #0x8d2d
lri $IX1,    #0xfb6c
lri $WR1,    #0x9a80
cw 0x15
call send_back  ; 36274 (0x8db2)

lri $AR1,    #0x9780
lri $IX1,    #0xaad0
lri $WR1,    #0x879c
cw 0x15
call send_back  ; 36275 (0x8db3)

lri $AR1,    #0x6493
lri $IX1,    #0xd96c
lri $WR1,    #0x3afe
cw 0x15
call send_back  ; 36276 (0x8db4)

lri $AR1,    #0x6820
lri $IX1,    #0xc884
lri $WR1,    #0x2a7e
cw 0x15
call send_back  ; 36277 (0x8db5)

lri $AR1,    #0x8958
lri $IX1,    #0x3406
lri $WR1,    #0x8f2e
cw 0x15
call send_back  ; 36278 (0x8db6)

lri $AR1,    #0xb72b
lri $IX1,    #0x035c
lri $WR1,    #0x883b
cw 0x15
call send_back  ; 36279 (0x8db7)

lri $AR1,    #0xbe4b
lri $IX1,    #0x7f12
lri $WR1,    #0xb863
cw 0x15
call send_back  ; 36280 (0x8db8)

lri $AR1,    #0xb7a0
lri $IX1,    #0x5e0e
lri $WR1,    #0x7638
cw 0x15
call send_back  ; 36281 (0x8db9)

lri $AR1,    #0x458f
lri $IX1,    #0xa198
lri $WR1,    #0x948f
cw 0x15
call send_back  ; 36282 (0x8dba)

lri $AR1,    #0x49e3
lri $IX1,    #0xa7c8
lri $WR1,    #0x9a5d
cw 0x15
call send_back  ; 36283 (0x8dbb)

lri $AR1,    #0xa59b
lri $IX1,    #0x3892
lri $WR1,    #0x5669
cw 0x15
call send_back  ; 36284 (0x8dbc)

lri $AR1,    #0x4f82
lri $IX1,    #0xba36
lri $WR1,    #0xf4fb
cw 0x15
call send_back  ; 36285 (0x8dbd)

lri $AR1,    #0x7dc7
lri $IX1,    #0x4e1c
lri $WR1,    #0x7b15
cw 0x15
call send_back  ; 36286 (0x8dbe)

lri $AR1,    #0xa281
lri $IX1,    #0x77f6
lri $WR1,    #0xac35
cw 0x15
call send_back  ; 36287 (0x8dbf)

lri $AR1,    #0x7253
lri $IX1,    #0x3d30
lri $WR1,    #0x454d
cw 0x15
call send_back  ; 36288 (0x8dc0)

lri $AR1,    #0x781c
lri $IX1,    #0x8388
lri $WR1,    #0x80e6
cw 0x15
call send_back  ; 36289 (0x8dc1)

lri $AR1,    #0x37eb
lri $IX1,    #0xf9d8
lri $WR1,    #0x660a
cw 0x15
call send_back  ; 36290 (0x8dc2)

lri $AR1,    #0x7713
lri $IX1,    #0x26d4
lri $WR1,    #0xd50b
cw 0x15
call send_back  ; 36291 (0x8dc3)

lri $AR1,    #0x46b5
lri $IX1,    #0x75f0
lri $WR1,    #0x7aa8
cw 0x15
call send_back  ; 36292 (0x8dc4)

lri $AR1,    #0x4977
lri $IX1,    #0x6316
lri $WR1,    #0x2bac
cw 0x15
call send_back  ; 36293 (0x8dc5)

lri $AR1,    #0x3cd9
lri $IX1,    #0x5a56
lri $WR1,    #0x8893
cw 0x15
call send_back  ; 36294 (0x8dc6)

lri $AR1,    #0x71e5
lri $IX1,    #0xa15a
lri $WR1,    #0x8a42
cw 0x15
call send_back  ; 36295 (0x8dc7)

lri $AR1,    #0x7884
lri $IX1,    #0xcca4
lri $WR1,    #0x9e6a
cw 0x15
call send_back  ; 36296 (0x8dc8)

lri $AR1,    #0xac5a
lri $IX1,    #0xfb78
lri $WR1,    #0x239d
cw 0x15
call send_back  ; 36297 (0x8dc9)

lri $AR1,    #0x7170
lri $IX1,    #0x796a
lri $WR1,    #0x42aa
cw 0x15
call send_back  ; 36298 (0x8dca)

lri $AR1,    #0x2274
lri $IX1,    #0x9584
lri $WR1,    #0xb451
cw 0x15
call send_back  ; 36299 (0x8dcb)

lri $AR1,    #0x59f3
lri $IX1,    #0x9ae4
lri $WR1,    #0xd7d8
cw 0x15
call send_back  ; 36300 (0x8dcc)

lri $AR1,    #0xbb40
lri $IX1,    #0xffd0
lri $WR1,    #0x789c
cw 0x15
call send_back  ; 36301 (0x8dcd)

lri $AR1,    #0x8f7f
lri $IX1,    #0x3432
lri $WR1,    #0x1e23
cw 0x15
call send_back  ; 36302 (0x8dce)

lri $AR1,    #0x4e7a
lri $IX1,    #0x1958
lri $WR1,    #0xa3cb
cw 0x15
call send_back  ; 36303 (0x8dcf)

lri $AR1,    #0x62b0
lri $IX1,    #0x390e
lri $WR1,    #0x7a93
cw 0x15
call send_back  ; 36304 (0x8dd0)

lri $AR1,    #0x835d
lri $IX1,    #0x6ac6
lri $WR1,    #0xc127
cw 0x15
call send_back  ; 36305 (0x8dd1)

lri $AR1,    #0x3ed2
lri $IX1,    #0xda0e
lri $WR1,    #0xabaa
cw 0x15
call send_back  ; 36306 (0x8dd2)

lri $AR1,    #0xa2e7
lri $IX1,    #0x71e4
lri $WR1,    #0xe658
cw 0x15
call send_back  ; 36307 (0x8dd3)

lri $AR1,    #0xb8e4
lri $IX1,    #0xad4c
lri $WR1,    #0x9391
cw 0x15
call send_back  ; 36308 (0x8dd4)

lri $AR1,    #0x259f
lri $IX1,    #0xd590
lri $WR1,    #0x9f53
cw 0x15
call send_back  ; 36309 (0x8dd5)

lri $AR1,    #0x8e2a
lri $IX1,    #0xebaa
lri $WR1,    #0x3fc1
cw 0x15
call send_back  ; 36310 (0x8dd6)

lri $AR1,    #0xc4e2
lri $IX1,    #0xfa3e
lri $WR1,    #0xfbbb
cw 0x15
call send_back  ; 36311 (0x8dd7)

lri $AR1,    #0x9a2c
lri $IX1,    #0x7a8a
lri $WR1,    #0x5623
cw 0x15
call send_back  ; 36312 (0x8dd8)

lri $AR1,    #0x57a9
lri $IX1,    #0xeee6
lri $WR1,    #0xa5ce
cw 0x15
call send_back  ; 36313 (0x8dd9)

lri $AR1,    #0x4c42
lri $IX1,    #0xf9fc
lri $WR1,    #0x8fc3
cw 0x15
call send_back  ; 36314 (0x8dda)

lri $AR1,    #0xc2cd
lri $IX1,    #0x2a82
lri $WR1,    #0x6acb
cw 0x15
call send_back  ; 36315 (0x8ddb)

lri $AR1,    #0x249d
lri $IX1,    #0x8f84
lri $WR1,    #0x68ef
cw 0x15
call send_back  ; 36316 (0x8ddc)

lri $AR1,    #0xc4d7
lri $IX1,    #0x1208
lri $WR1,    #0x1cdc
cw 0x15
call send_back  ; 36317 (0x8ddd)

lri $AR1,    #0xc0cc
lri $IX1,    #0xa540
lri $WR1,    #0xaee3
cw 0x15
call send_back  ; 36318 (0x8dde)

lri $AR1,    #0xe53f
lri $IX1,    #0xbed8
lri $WR1,    #0x367c
cw 0x15
call send_back  ; 36319 (0x8ddf)

lri $AR1,    #0x7fc7
lri $IX1,    #0x55b6
lri $WR1,    #0x92f4
cw 0x15
call send_back  ; 36320 (0x8de0)

lri $AR1,    #0x4f3c
lri $IX1,    #0xfdc2
lri $WR1,    #0xa75c
cw 0x15
call send_back  ; 36321 (0x8de1)

lri $AR1,    #0x4573
lri $IX1,    #0xbbf8
lri $WR1,    #0x6b2f
cw 0x15
call send_back  ; 36322 (0x8de2)

lri $AR1,    #0x6009
lri $IX1,    #0xfe6e
lri $WR1,    #0x32d4
cw 0x15
call send_back  ; 36323 (0x8de3)

lri $AR1,    #0xe5ae
lri $IX1,    #0xe06a
lri $WR1,    #0xc88a
cw 0x15
call send_back  ; 36324 (0x8de4)

lri $AR1,    #0xb0a8
lri $IX1,    #0xab64
lri $WR1,    #0x47c2
cw 0x15
call send_back  ; 36325 (0x8de5)

lri $AR1,    #0xbed8
lri $IX1,    #0x79f2
lri $WR1,    #0x8a88
cw 0x15
call send_back  ; 36326 (0x8de6)

lri $AR1,    #0xe332
lri $IX1,    #0x2278
lri $WR1,    #0x39f7
cw 0x15
call send_back  ; 36327 (0x8de7)

lri $AR1,    #0x8bd3
lri $IX1,    #0x3bb0
lri $WR1,    #0x9860
cw 0x15
call send_back  ; 36328 (0x8de8)

lri $AR1,    #0x7b9c
lri $IX1,    #0x45c8
lri $WR1,    #0xc51c
cw 0x15
call send_back  ; 36329 (0x8de9)

lri $AR1,    #0x7596
lri $IX1,    #0xe73e
lri $WR1,    #0x67a9
cw 0x15
call send_back  ; 36330 (0x8dea)

lri $AR1,    #0x8bfc
lri $IX1,    #0xdd34
lri $WR1,    #0xc11d
cw 0x15
call send_back  ; 36331 (0x8deb)

lri $AR1,    #0x6c2b
lri $IX1,    #0xdb5e
lri $WR1,    #0x787d
cw 0x15
call send_back  ; 36332 (0x8dec)

lri $AR1,    #0x7c56
lri $IX1,    #0x4050
lri $WR1,    #0x700e
cw 0x15
call send_back  ; 36333 (0x8ded)

lri $AR1,    #0xcf3f
lri $IX1,    #0x573a
lri $WR1,    #0x6f25
cw 0x15
call send_back  ; 36334 (0x8dee)

lri $AR1,    #0xb5df
lri $IX1,    #0x00e8
lri $WR1,    #0xcd96
cw 0x15
call send_back  ; 36335 (0x8def)

lri $AR1,    #0x6e25
lri $IX1,    #0x2a16
lri $WR1,    #0x7340
cw 0x15
call send_back  ; 36336 (0x8df0)

lri $AR1,    #0x79c8
lri $IX1,    #0x8de8
lri $WR1,    #0xc7d6
cw 0x15
call send_back  ; 36337 (0x8df1)

lri $AR1,    #0xe75e
lri $IX1,    #0x078c
lri $WR1,    #0x7c6a
cw 0x15
call send_back  ; 36338 (0x8df2)

lri $AR1,    #0x2b89
lri $IX1,    #0x46e2
lri $WR1,    #0xc9ce
cw 0x15
call send_back  ; 36339 (0x8df3)

lri $AR1,    #0x6fa5
lri $IX1,    #0x383e
lri $WR1,    #0xb462
cw 0x15
call send_back  ; 36340 (0x8df4)

lri $AR1,    #0x56a2
lri $IX1,    #0xf7fe
lri $WR1,    #0x7f4a
cw 0x15
call send_back  ; 36341 (0x8df5)

lri $AR1,    #0x8874
lri $IX1,    #0xdf1c
lri $WR1,    #0x96b8
cw 0x15
call send_back  ; 36342 (0x8df6)

lri $AR1,    #0xb7e5
lri $IX1,    #0x3678
lri $WR1,    #0xba45
cw 0x15
call send_back  ; 36343 (0x8df7)

lri $AR1,    #0xae0b
lri $IX1,    #0x8b08
lri $WR1,    #0x75f0
cw 0x15
call send_back  ; 36344 (0x8df8)

lri $AR1,    #0x1244
lri $IX1,    #0x958e
lri $WR1,    #0x61d6
cw 0x15
call send_back  ; 36345 (0x8df9)

lri $AR1,    #0x84fc
lri $IX1,    #0x4d1e
lri $WR1,    #0x8e2c
cw 0x15
call send_back  ; 36346 (0x8dfa)

lri $AR1,    #0x9713
lri $IX1,    #0x2c06
lri $WR1,    #0xd294
cw 0x15
call send_back  ; 36347 (0x8dfb)

lri $AR1,    #0x0f2e
lri $IX1,    #0x0b68
lri $WR1,    #0xcd53
cw 0x15
call send_back  ; 36348 (0x8dfc)

lri $AR1,    #0xa9ce
lri $IX1,    #0x621a
lri $WR1,    #0x187f
cw 0x15
call send_back  ; 36349 (0x8dfd)

lri $AR1,    #0x7068
lri $IX1,    #0x4810
lri $WR1,    #0x78b9
cw 0x15
call send_back  ; 36350 (0x8dfe)

lri $AR1,    #0x4768
lri $IX1,    #0x7ff4
lri $WR1,    #0x6a6c
cw 0x15
call send_back  ; 36351 (0x8dff)

lri $AR1,    #0x4a5a
lri $IX1,    #0x1520
lri $WR1,    #0xd849
cw 0x15
call send_back  ; 36352 (0x8e00)

lri $AR1,    #0xd912
lri $IX1,    #0xf4aa
lri $WR1,    #0xcee5
cw 0x15
call send_back  ; 36353 (0x8e01)

lri $AR1,    #0x3822
lri $IX1,    #0x6cb6
lri $WR1,    #0x8f29
cw 0x15
call send_back  ; 36354 (0x8e02)

lri $AR1,    #0xba79
lri $IX1,    #0xcdb0
lri $WR1,    #0xd297
cw 0x15
call send_back  ; 36355 (0x8e03)

lri $AR1,    #0x7158
lri $IX1,    #0xa5b8
lri $WR1,    #0x49e9
cw 0x15
call send_back  ; 36356 (0x8e04)

lri $AR1,    #0x3b9c
lri $IX1,    #0x56d2
lri $WR1,    #0xb83a
cw 0x15
call send_back  ; 36357 (0x8e05)

lri $AR1,    #0x9c8d
lri $IX1,    #0x3d18
lri $WR1,    #0x6a21
cw 0x15
call send_back  ; 36358 (0x8e06)

lri $AR1,    #0x660b
lri $IX1,    #0x5aae
lri $WR1,    #0x89f6
cw 0x15
call send_back  ; 36359 (0x8e07)

lri $AR1,    #0x5963
lri $IX1,    #0xab80
lri $WR1,    #0x57a4
cw 0x15
call send_back  ; 36360 (0x8e08)

lri $AR1,    #0x4db1
lri $IX1,    #0xfbaa
lri $WR1,    #0x744c
cw 0x15
call send_back  ; 36361 (0x8e09)

lri $AR1,    #0x8a04
lri $IX1,    #0x7f8e
lri $WR1,    #0x9f1c
cw 0x15
call send_back  ; 36362 (0x8e0a)

lri $AR1,    #0x351f
lri $IX1,    #0x9d6c
lri $WR1,    #0x5282
cw 0x15
call send_back  ; 36363 (0x8e0b)

lri $AR1,    #0x6434
lri $IX1,    #0x748e
lri $WR1,    #0x8640
cw 0x15
call send_back  ; 36364 (0x8e0c)

lri $AR1,    #0xcd4f
lri $IX1,    #0xd6d4
lri $WR1,    #0x5482
cw 0x15
call send_back  ; 36365 (0x8e0d)

lri $AR1,    #0xd1d7
lri $IX1,    #0xbdb2
lri $WR1,    #0x3d6d
cw 0x15
call send_back  ; 36366 (0x8e0e)

lri $AR1,    #0x58ed
lri $IX1,    #0xe470
lri $WR1,    #0xa64c
cw 0x15
call send_back  ; 36367 (0x8e0f)

lri $AR1,    #0xa8f8
lri $IX1,    #0x3dc4
lri $WR1,    #0x56dc
cw 0x15
call send_back  ; 36368 (0x8e10)

lri $AR1,    #0x7b27
lri $IX1,    #0x937a
lri $WR1,    #0x80d7
cw 0x15
call send_back  ; 36369 (0x8e11)

lri $AR1,    #0xc351
lri $IX1,    #0xe366
lri $WR1,    #0x2b3f
cw 0x15
call send_back  ; 36370 (0x8e12)

lri $AR1,    #0x79e7
lri $IX1,    #0x1d48
lri $WR1,    #0x8c7e
cw 0x15
call send_back  ; 36371 (0x8e13)

lri $AR1,    #0x7d55
lri $IX1,    #0xe1c8
lri $WR1,    #0xd3f0
cw 0x15
call send_back  ; 36372 (0x8e14)

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