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

lri $AR1,    #0x7f73
lri $IX1,    #0xd5fc
lri $WR1,    #0xd59f
cw 0xd
call send_back  ; 16276 (0x3f94)

lri $AR1,    #0x3b01
lri $IX1,    #0x4a38
lri $WR1,    #0xb1ef
cw 0xd
call send_back  ; 16277 (0x3f95)

lri $AR1,    #0xad05
lri $IX1,    #0x75f4
lri $WR1,    #0xf06e
cw 0xd
call send_back  ; 16278 (0x3f96)

lri $AR1,    #0x9137
lri $IX1,    #0x26b2
lri $WR1,    #0x7382
cw 0xd
call send_back  ; 16279 (0x3f97)

lri $AR1,    #0x6943
lri $IX1,    #0xa2d0
lri $WR1,    #0xc33b
cw 0xd
call send_back  ; 16280 (0x3f98)

lri $AR1,    #0x8a87
lri $IX1,    #0xb580
lri $WR1,    #0x71d2
cw 0xd
call send_back  ; 16281 (0x3f99)

lri $AR1,    #0x5894
lri $IX1,    #0xba10
lri $WR1,    #0x2e60
cw 0xd
call send_back  ; 16282 (0x3f9a)

lri $AR1,    #0x265b
lri $IX1,    #0x0eb8
lri $WR1,    #0x6cf1
cw 0xd
call send_back  ; 16283 (0x3f9b)

lri $AR1,    #0x9f3a
lri $IX1,    #0x7ac6
lri $WR1,    #0x207c
cw 0xd
call send_back  ; 16284 (0x3f9c)

lri $AR1,    #0xd4cc
lri $IX1,    #0x2b78
lri $WR1,    #0xbcd6
cw 0xd
call send_back  ; 16285 (0x3f9d)

lri $AR1,    #0x7dd2
lri $IX1,    #0xd65a
lri $WR1,    #0x741d
cw 0xd
call send_back  ; 16286 (0x3f9e)

lri $AR1,    #0x75e4
lri $IX1,    #0x2f6a
lri $WR1,    #0x44cb
cw 0xd
call send_back  ; 16287 (0x3f9f)

lri $AR1,    #0x8564
lri $IX1,    #0x14dc
lri $WR1,    #0xd2e3
cw 0xd
call send_back  ; 16288 (0x3fa0)

lri $AR1,    #0x4467
lri $IX1,    #0x79d2
lri $WR1,    #0x9055
cw 0xd
call send_back  ; 16289 (0x3fa1)

lri $AR1,    #0x6ae7
lri $IX1,    #0x14ca
lri $WR1,    #0x4630
cw 0xd
call send_back  ; 16290 (0x3fa2)

lri $AR1,    #0x741f
lri $IX1,    #0x0618
lri $WR1,    #0x819a
cw 0xd
call send_back  ; 16291 (0x3fa3)

lri $AR1,    #0x024a
lri $IX1,    #0xee4e
lri $WR1,    #0x1d47
cw 0xd
call send_back  ; 16292 (0x3fa4)

lri $AR1,    #0xcba3
lri $IX1,    #0x23c2
lri $WR1,    #0x7948
cw 0xd
call send_back  ; 16293 (0x3fa5)

lri $AR1,    #0xe8f8
lri $IX1,    #0xc214
lri $WR1,    #0xd0fc
cw 0xd
call send_back  ; 16294 (0x3fa6)

lri $AR1,    #0x8197
lri $IX1,    #0x0e0c
lri $WR1,    #0x5fff
cw 0xd
call send_back  ; 16295 (0x3fa7)

lri $AR1,    #0x67e7
lri $IX1,    #0xfb8a
lri $WR1,    #0x8cd6
cw 0xd
call send_back  ; 16296 (0x3fa8)

lri $AR1,    #0x2582
lri $IX1,    #0x6aea
lri $WR1,    #0x793b
cw 0xd
call send_back  ; 16297 (0x3fa9)

lri $AR1,    #0x951d
lri $IX1,    #0xcea8
lri $WR1,    #0x85bd
cw 0xd
call send_back  ; 16298 (0x3faa)

lri $AR1,    #0x5c0b
lri $IX1,    #0x398c
lri $WR1,    #0xe7b4
cw 0xd
call send_back  ; 16299 (0x3fab)

lri $AR1,    #0x3cb4
lri $IX1,    #0x393a
lri $WR1,    #0x4619
cw 0xd
call send_back  ; 16300 (0x3fac)

lri $AR1,    #0x36c4
lri $IX1,    #0x386a
lri $WR1,    #0xcb52
cw 0xd
call send_back  ; 16301 (0x3fad)

lri $AR1,    #0x996a
lri $IX1,    #0x4fa8
lri $WR1,    #0x9785
cw 0xd
call send_back  ; 16302 (0x3fae)

lri $AR1,    #0x6f74
lri $IX1,    #0x4ace
lri $WR1,    #0x6089
cw 0xd
call send_back  ; 16303 (0x3faf)

lri $AR1,    #0xe49f
lri $IX1,    #0x1d3c
lri $WR1,    #0x31ee
cw 0xd
call send_back  ; 16304 (0x3fb0)

lri $AR1,    #0x4edc
lri $IX1,    #0xe5d8
lri $WR1,    #0x894a
cw 0xd
call send_back  ; 16305 (0x3fb1)

lri $AR1,    #0xc5e7
lri $IX1,    #0xdfee
lri $WR1,    #0x5841
cw 0xd
call send_back  ; 16306 (0x3fb2)

lri $AR1,    #0x8700
lri $IX1,    #0x0d08
lri $WR1,    #0x2767
cw 0xd
call send_back  ; 16307 (0x3fb3)

lri $AR1,    #0xaa0c
lri $IX1,    #0xe7aa
lri $WR1,    #0x8a8d
cw 0xd
call send_back  ; 16308 (0x3fb4)

lri $AR1,    #0xc8f4
lri $IX1,    #0xe644
lri $WR1,    #0x307b
cw 0xd
call send_back  ; 16309 (0x3fb5)

lri $AR1,    #0x8998
lri $IX1,    #0xe114
lri $WR1,    #0x75b2
cw 0xd
call send_back  ; 16310 (0x3fb6)

lri $AR1,    #0x5e1a
lri $IX1,    #0x6d62
lri $WR1,    #0x6351
cw 0xd
call send_back  ; 16311 (0x3fb7)

lri $AR1,    #0xa6dc
lri $IX1,    #0xd3d4
lri $WR1,    #0x4885
cw 0xd
call send_back  ; 16312 (0x3fb8)

lri $AR1,    #0x8cf4
lri $IX1,    #0x4f30
lri $WR1,    #0x86cf
cw 0xd
call send_back  ; 16313 (0x3fb9)

lri $AR1,    #0xcb77
lri $IX1,    #0x9c60
lri $WR1,    #0x9677
cw 0xd
call send_back  ; 16314 (0x3fba)

lri $AR1,    #0x9162
lri $IX1,    #0x73fe
lri $WR1,    #0x9a5e
cw 0xd
call send_back  ; 16315 (0x3fbb)

lri $AR1,    #0x8d64
lri $IX1,    #0x2942
lri $WR1,    #0xefbd
cw 0xd
call send_back  ; 16316 (0x3fbc)

lri $AR1,    #0x7075
lri $IX1,    #0x419e
lri $WR1,    #0xdfcd
cw 0xd
call send_back  ; 16317 (0x3fbd)

lri $AR1,    #0xa377
lri $IX1,    #0x43da
lri $WR1,    #0x56ff
cw 0xd
call send_back  ; 16318 (0x3fbe)

lri $AR1,    #0x6fae
lri $IX1,    #0x1cf6
lri $WR1,    #0xa6c1
cw 0xd
call send_back  ; 16319 (0x3fbf)

lri $AR1,    #0x5171
lri $IX1,    #0x2cb2
lri $WR1,    #0xbc75
cw 0xd
call send_back  ; 16320 (0x3fc0)

lri $AR1,    #0x77cd
lri $IX1,    #0x3302
lri $WR1,    #0xc193
cw 0xd
call send_back  ; 16321 (0x3fc1)

lri $AR1,    #0x7381
lri $IX1,    #0xd33e
lri $WR1,    #0xa698
cw 0xd
call send_back  ; 16322 (0x3fc2)

lri $AR1,    #0xab11
lri $IX1,    #0x115e
lri $WR1,    #0x8bc2
cw 0xd
call send_back  ; 16323 (0x3fc3)

lri $AR1,    #0x314b
lri $IX1,    #0xf120
lri $WR1,    #0xb043
cw 0xd
call send_back  ; 16324 (0x3fc4)

lri $AR1,    #0x7707
lri $IX1,    #0x164c
lri $WR1,    #0xe9d5
cw 0xd
call send_back  ; 16325 (0x3fc5)

lri $AR1,    #0x6077
lri $IX1,    #0xd0fe
lri $WR1,    #0x8463
cw 0xd
call send_back  ; 16326 (0x3fc6)

lri $AR1,    #0xe9d1
lri $IX1,    #0x4040
lri $WR1,    #0x2ac4
cw 0xd
call send_back  ; 16327 (0x3fc7)

lri $AR1,    #0x9eb0
lri $IX1,    #0x08bc
lri $WR1,    #0x7f17
cw 0xd
call send_back  ; 16328 (0x3fc8)

lri $AR1,    #0x92ea
lri $IX1,    #0x64e2
lri $WR1,    #0xb2e0
cw 0xd
call send_back  ; 16329 (0x3fc9)

lri $AR1,    #0xab34
lri $IX1,    #0xef4a
lri $WR1,    #0x9c5e
cw 0xd
call send_back  ; 16330 (0x3fca)

lri $AR1,    #0xb770
lri $IX1,    #0x579c
lri $WR1,    #0x583e
cw 0xd
call send_back  ; 16331 (0x3fcb)

lri $AR1,    #0x87d6
lri $IX1,    #0x15ec
lri $WR1,    #0x5c39
cw 0xd
call send_back  ; 16332 (0x3fcc)

lri $AR1,    #0xa1ee
lri $IX1,    #0x07a2
lri $WR1,    #0x589a
cw 0xd
call send_back  ; 16333 (0x3fcd)

lri $AR1,    #0x698a
lri $IX1,    #0x8d02
lri $WR1,    #0xc45a
cw 0xd
call send_back  ; 16334 (0x3fce)

lri $AR1,    #0x55a4
lri $IX1,    #0x1d70
lri $WR1,    #0x50c3
cw 0xd
call send_back  ; 16335 (0x3fcf)

lri $AR1,    #0x806b
lri $IX1,    #0x3c50
lri $WR1,    #0xa747
cw 0xd
call send_back  ; 16336 (0x3fd0)

lri $AR1,    #0x6d4b
lri $IX1,    #0x1fe0
lri $WR1,    #0x9d81
cw 0xd
call send_back  ; 16337 (0x3fd1)

lri $AR1,    #0x9f44
lri $IX1,    #0x16c6
lri $WR1,    #0x5903
cw 0xd
call send_back  ; 16338 (0x3fd2)

lri $AR1,    #0x6d5f
lri $IX1,    #0xa8aa
lri $WR1,    #0x8dfb
cw 0xd
call send_back  ; 16339 (0x3fd3)

lri $AR1,    #0x4a96
lri $IX1,    #0x71c2
lri $WR1,    #0x7938
cw 0xd
call send_back  ; 16340 (0x3fd4)

lri $AR1,    #0xd1eb
lri $IX1,    #0xb06e
lri $WR1,    #0x4fa8
cw 0xd
call send_back  ; 16341 (0x3fd5)

lri $AR1,    #0x3723
lri $IX1,    #0x47e6
lri $WR1,    #0x7add
cw 0xd
call send_back  ; 16342 (0x3fd6)

lri $AR1,    #0x9fca
lri $IX1,    #0x7a38
lri $WR1,    #0x7ba9
cw 0xd
call send_back  ; 16343 (0x3fd7)

lri $AR1,    #0xbff4
lri $IX1,    #0xaf52
lri $WR1,    #0x915d
cw 0xd
call send_back  ; 16344 (0x3fd8)

lri $AR1,    #0xc174
lri $IX1,    #0x2690
lri $WR1,    #0xadbd
cw 0xd
call send_back  ; 16345 (0x3fd9)

lri $AR1,    #0x5be2
lri $IX1,    #0x4b74
lri $WR1,    #0xab42
cw 0xd
call send_back  ; 16346 (0x3fda)

lri $AR1,    #0x7743
lri $IX1,    #0x75fa
lri $WR1,    #0x8ca5
cw 0xd
call send_back  ; 16347 (0x3fdb)

lri $AR1,    #0x9a9d
lri $IX1,    #0x0248
lri $WR1,    #0xa25c
cw 0xd
call send_back  ; 16348 (0x3fdc)

lri $AR1,    #0xa341
lri $IX1,    #0xc304
lri $WR1,    #0xac07
cw 0xd
call send_back  ; 16349 (0x3fdd)

lri $AR1,    #0x3133
lri $IX1,    #0xbd2e
lri $WR1,    #0x4966
cw 0xd
call send_back  ; 16350 (0x3fde)

lri $AR1,    #0x3865
lri $IX1,    #0xbbcc
lri $WR1,    #0x2fdf
cw 0xd
call send_back  ; 16351 (0x3fdf)

lri $AR1,    #0x1e1d
lri $IX1,    #0x7d24
lri $WR1,    #0x7f34
cw 0xd
call send_back  ; 16352 (0x3fe0)

lri $AR1,    #0x1566
lri $IX1,    #0xe302
lri $WR1,    #0x9961
cw 0xd
call send_back  ; 16353 (0x3fe1)

lri $AR1,    #0x6cc1
lri $IX1,    #0x8a96
lri $WR1,    #0x6f54
cw 0xd
call send_back  ; 16354 (0x3fe2)

lri $AR1,    #0x92fd
lri $IX1,    #0x607e
lri $WR1,    #0xa563
cw 0xd
call send_back  ; 16355 (0x3fe3)

lri $AR1,    #0xa07d
lri $IX1,    #0x08a0
lri $WR1,    #0xa83d
cw 0xd
call send_back  ; 16356 (0x3fe4)

lri $AR1,    #0x8db0
lri $IX1,    #0x2938
lri $WR1,    #0xa443
cw 0xd
call send_back  ; 16357 (0x3fe5)

lri $AR1,    #0xcf2d
lri $IX1,    #0xb3dc
lri $WR1,    #0xaef0
cw 0xd
call send_back  ; 16358 (0x3fe6)

lri $AR1,    #0xb316
lri $IX1,    #0x06da
lri $WR1,    #0xb351
cw 0xd
call send_back  ; 16359 (0x3fe7)

lri $AR1,    #0x7338
lri $IX1,    #0x14a8
lri $WR1,    #0xb825
cw 0xd
call send_back  ; 16360 (0x3fe8)

lri $AR1,    #0x5aa3
lri $IX1,    #0x86ca
lri $WR1,    #0xbfb7
cw 0xd
call send_back  ; 16361 (0x3fe9)

lri $AR1,    #0x7d12
lri $IX1,    #0xecee
lri $WR1,    #0x2ef4
cw 0xd
call send_back  ; 16362 (0x3fea)

lri $AR1,    #0xb1ee
lri $IX1,    #0x58a6
lri $WR1,    #0xbae1
cw 0xd
call send_back  ; 16363 (0x3feb)

lri $AR1,    #0xac47
lri $IX1,    #0x2968
lri $WR1,    #0xb0f5
cw 0xd
call send_back  ; 16364 (0x3fec)

lri $AR1,    #0x847c
lri $IX1,    #0x2458
lri $WR1,    #0x6864
cw 0xd
call send_back  ; 16365 (0x3fed)

lri $AR1,    #0xb802
lri $IX1,    #0x1e70
lri $WR1,    #0xa7f3
cw 0xd
call send_back  ; 16366 (0x3fee)

lri $AR1,    #0xe700
lri $IX1,    #0x5f98
lri $WR1,    #0xad66
cw 0xd
call send_back  ; 16367 (0x3fef)

lri $AR1,    #0xcf17
lri $IX1,    #0x5840
lri $WR1,    #0xa90c
cw 0xd
call send_back  ; 16368 (0x3ff0)

lri $AR1,    #0x0e2e
lri $IX1,    #0x2af8
lri $WR1,    #0xc987
cw 0xd
call send_back  ; 16369 (0x3ff1)

lri $AR1,    #0x7788
lri $IX1,    #0xc6be
lri $WR1,    #0x415b
cw 0xd
call send_back  ; 16370 (0x3ff2)

lri $AR1,    #0x98fa
lri $IX1,    #0xbe66
lri $WR1,    #0x614a
cw 0xd
call send_back  ; 16371 (0x3ff3)

lri $AR1,    #0xd58e
lri $IX1,    #0x8cc6
lri $WR1,    #0x5820
cw 0xd
call send_back  ; 16372 (0x3ff4)

lri $AR1,    #0x9666
lri $IX1,    #0x6d38
lri $WR1,    #0x41f6
cw 0xd
call send_back  ; 16373 (0x3ff5)

lri $AR1,    #0x6225
lri $IX1,    #0x3aee
lri $WR1,    #0xce6c
cw 0xd
call send_back  ; 16374 (0x3ff6)

lri $AR1,    #0x8ec5
lri $IX1,    #0xc9b6
lri $WR1,    #0x470a
cw 0xd
call send_back  ; 16375 (0x3ff7)

lri $AR1,    #0x990c
lri $IX1,    #0xbdce
lri $WR1,    #0x8442
cw 0xd
call send_back  ; 16376 (0x3ff8)

lri $AR1,    #0x5888
lri $IX1,    #0xf01e
lri $WR1,    #0x491d
cw 0xd
call send_back  ; 16377 (0x3ff9)

lri $AR1,    #0xa654
lri $IX1,    #0xc7ca
lri $WR1,    #0x6b43
cw 0xd
call send_back  ; 16378 (0x3ffa)

lri $AR1,    #0x8081
lri $IX1,    #0x812e
lri $WR1,    #0x7e44
cw 0xd
call send_back  ; 16379 (0x3ffb)

lri $AR1,    #0x9b65
lri $IX1,    #0xfe5c
lri $WR1,    #0x4ed7
cw 0xd
call send_back  ; 16380 (0x3ffc)

lri $AR1,    #0x8daf
lri $IX1,    #0x542a
lri $WR1,    #0x3402
cw 0xd
call send_back  ; 16381 (0x3ffd)

lri $AR1,    #0x3387
lri $IX1,    #0xb2d6
lri $WR1,    #0x79d2
cw 0xd
call send_back  ; 16382 (0x3ffe)

lri $AR1,    #0xe886
lri $IX1,    #0x6868
lri $WR1,    #0xcaa8
cw 0xd
call send_back  ; 16383 (0x3fff)

lri $AR1,    #0xafe8
lri $IX1,    #0x6eb2
lri $WR1,    #0x61a0
cw 0xd
call send_back  ; 16384 (0x4000)

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