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

lri $AR1,    #0xd702
lri $IX1,    #0x14e2
lri $WR1,    #0x7bc7
cw 0x15
call send_back  ; 41289 (0xa149)

lri $AR1,    #0x3f6a
lri $IX1,    #0x3bcc
lri $WR1,    #0x9cda
cw 0x15
call send_back  ; 41290 (0xa14a)

lri $AR1,    #0xecc1
lri $IX1,    #0xece0
lri $WR1,    #0x1791
cw 0x15
call send_back  ; 41291 (0xa14b)

lri $AR1,    #0xb425
lri $IX1,    #0xdc0c
lri $WR1,    #0x8d9c
cw 0x15
call send_back  ; 41292 (0xa14c)

lri $AR1,    #0x6861
lri $IX1,    #0x8c80
lri $WR1,    #0x3918
cw 0x15
call send_back  ; 41293 (0xa14d)

lri $AR1,    #0x53e8
lri $IX1,    #0xda32
lri $WR1,    #0xedb2
cw 0x15
call send_back  ; 41294 (0xa14e)

lri $AR1,    #0x16bc
lri $IX1,    #0xf49e
lri $WR1,    #0xb949
cw 0x15
call send_back  ; 41295 (0xa14f)

lri $AR1,    #0x776e
lri $IX1,    #0xa0da
lri $WR1,    #0x46c2
cw 0x15
call send_back  ; 41296 (0xa150)

lri $AR1,    #0xc22e
lri $IX1,    #0x31c4
lri $WR1,    #0x6f0c
cw 0x15
call send_back  ; 41297 (0xa151)

lri $AR1,    #0x9021
lri $IX1,    #0xe976
lri $WR1,    #0xb1ef
cw 0x15
call send_back  ; 41298 (0xa152)

lri $AR1,    #0xa4d5
lri $IX1,    #0x879c
lri $WR1,    #0x81ac
cw 0x15
call send_back  ; 41299 (0xa153)

lri $AR1,    #0x5724
lri $IX1,    #0xc502
lri $WR1,    #0xc203
cw 0x15
call send_back  ; 41300 (0xa154)

lri $AR1,    #0x9658
lri $IX1,    #0x84e4
lri $WR1,    #0xf4ba
cw 0x15
call send_back  ; 41301 (0xa155)

lri $AR1,    #0x6bd7
lri $IX1,    #0xb942
lri $WR1,    #0x2b15
cw 0x15
call send_back  ; 41302 (0xa156)

lri $AR1,    #0x3d34
lri $IX1,    #0x77f0
lri $WR1,    #0x557c
cw 0x15
call send_back  ; 41303 (0xa157)

lri $AR1,    #0xe9e6
lri $IX1,    #0xaa76
lri $WR1,    #0xcfb1
cw 0x15
call send_back  ; 41304 (0xa158)

lri $AR1,    #0x8b82
lri $IX1,    #0x3b98
lri $WR1,    #0x71ce
cw 0x15
call send_back  ; 41305 (0xa159)

lri $AR1,    #0x7ec5
lri $IX1,    #0xc98e
lri $WR1,    #0x5b7f
cw 0x15
call send_back  ; 41306 (0xa15a)

lri $AR1,    #0x4f3b
lri $IX1,    #0xd4b6
lri $WR1,    #0x8091
cw 0x15
call send_back  ; 41307 (0xa15b)

lri $AR1,    #0x86c9
lri $IX1,    #0x3eea
lri $WR1,    #0x9370
cw 0x15
call send_back  ; 41308 (0xa15c)

lri $AR1,    #0x9e08
lri $IX1,    #0xd820
lri $WR1,    #0xa38e
cw 0x15
call send_back  ; 41309 (0xa15d)

lri $AR1,    #0xb99f
lri $IX1,    #0xc990
lri $WR1,    #0x8360
cw 0x15
call send_back  ; 41310 (0xa15e)

lri $AR1,    #0x6481
lri $IX1,    #0x1116
lri $WR1,    #0xaade
cw 0x15
call send_back  ; 41311 (0xa15f)

lri $AR1,    #0x6e5d
lri $IX1,    #0x0ae0
lri $WR1,    #0xb140
cw 0x15
call send_back  ; 41312 (0xa160)

lri $AR1,    #0x60ff
lri $IX1,    #0x6046
lri $WR1,    #0x81d7
cw 0x15
call send_back  ; 41313 (0xa161)

lri $AR1,    #0xff0c
lri $IX1,    #0xb6d0
lri $WR1,    #0x7dc2
cw 0x15
call send_back  ; 41314 (0xa162)

lri $AR1,    #0xd1d7
lri $IX1,    #0x4b3c
lri $WR1,    #0xad6c
cw 0x15
call send_back  ; 41315 (0xa163)

lri $AR1,    #0xd3a7
lri $IX1,    #0x60a0
lri $WR1,    #0x5a79
cw 0x15
call send_back  ; 41316 (0xa164)

lri $AR1,    #0x9f32
lri $IX1,    #0x345e
lri $WR1,    #0xc41e
cw 0x15
call send_back  ; 41317 (0xa165)

lri $AR1,    #0x9cae
lri $IX1,    #0x1c18
lri $WR1,    #0x7d89
cw 0x15
call send_back  ; 41318 (0xa166)

lri $AR1,    #0x4845
lri $IX1,    #0xb360
lri $WR1,    #0xc75c
cw 0x15
call send_back  ; 41319 (0xa167)

lri $AR1,    #0xc526
lri $IX1,    #0xab3a
lri $WR1,    #0xbacb
cw 0x15
call send_back  ; 41320 (0xa168)

lri $AR1,    #0xdc27
lri $IX1,    #0x0640
lri $WR1,    #0xc671
cw 0x15
call send_back  ; 41321 (0xa169)

lri $AR1,    #0xa423
lri $IX1,    #0x707e
lri $WR1,    #0xaa72
cw 0x15
call send_back  ; 41322 (0xa16a)

lri $AR1,    #0xc60b
lri $IX1,    #0x12be
lri $WR1,    #0xb2e7
cw 0x15
call send_back  ; 41323 (0xa16b)

lri $AR1,    #0x75d0
lri $IX1,    #0xdd84
lri $WR1,    #0xc53b
cw 0x15
call send_back  ; 41324 (0xa16c)

lri $AR1,    #0xb518
lri $IX1,    #0xf050
lri $WR1,    #0xce74
cw 0x15
call send_back  ; 41325 (0xa16d)

lri $AR1,    #0xa3fa
lri $IX1,    #0x965a
lri $WR1,    #0x9e0e
cw 0x15
call send_back  ; 41326 (0xa16e)

lri $AR1,    #0x67a2
lri $IX1,    #0x729c
lri $WR1,    #0x9a5e
cw 0x15
call send_back  ; 41327 (0xa16f)

lri $AR1,    #0x6614
lri $IX1,    #0x0120
lri $WR1,    #0x612a
cw 0x15
call send_back  ; 41328 (0xa170)

lri $AR1,    #0x21fb
lri $IX1,    #0xac74
lri $WR1,    #0x3066
cw 0x15
call send_back  ; 41329 (0xa171)

lri $AR1,    #0x40bf
lri $IX1,    #0x7a52
lri $WR1,    #0x40ca
cw 0x15
call send_back  ; 41330 (0xa172)

lri $AR1,    #0x98b9
lri $IX1,    #0xe348
lri $WR1,    #0x6d2b
cw 0x15
call send_back  ; 41331 (0xa173)

lri $AR1,    #0x6cd6
lri $IX1,    #0xe574
lri $WR1,    #0x774f
cw 0x15
call send_back  ; 41332 (0xa174)

lri $AR1,    #0x967c
lri $IX1,    #0xeb20
lri $WR1,    #0x541a
cw 0x15
call send_back  ; 41333 (0xa175)

lri $AR1,    #0xadf4
lri $IX1,    #0xd252
lri $WR1,    #0x86e7
cw 0x15
call send_back  ; 41334 (0xa176)

lri $AR1,    #0x2539
lri $IX1,    #0x6316
lri $WR1,    #0x94cf
cw 0x15
call send_back  ; 41335 (0xa177)

lri $AR1,    #0x2077
lri $IX1,    #0xeeb0
lri $WR1,    #0x5eb8
cw 0x15
call send_back  ; 41336 (0xa178)

lri $AR1,    #0x8300
lri $IX1,    #0xca4e
lri $WR1,    #0x9a00
cw 0x15
call send_back  ; 41337 (0xa179)

lri $AR1,    #0x8712
lri $IX1,    #0xfc8c
lri $WR1,    #0x8d83
cw 0x15
call send_back  ; 41338 (0xa17a)

lri $AR1,    #0x2a42
lri $IX1,    #0xe568
lri $WR1,    #0x89e4
cw 0x15
call send_back  ; 41339 (0xa17b)

lri $AR1,    #0x9fcb
lri $IX1,    #0x04cc
lri $WR1,    #0xa9cd
cw 0x15
call send_back  ; 41340 (0xa17c)

lri $AR1,    #0xb5a1
lri $IX1,    #0x6c80
lri $WR1,    #0x201b
cw 0x15
call send_back  ; 41341 (0xa17d)

lri $AR1,    #0x888c
lri $IX1,    #0xfe7e
lri $WR1,    #0x978e
cw 0x15
call send_back  ; 41342 (0xa17e)

lri $AR1,    #0x672d
lri $IX1,    #0x79a0
lri $WR1,    #0x4919
cw 0x15
call send_back  ; 41343 (0xa17f)

lri $AR1,    #0x3b23
lri $IX1,    #0xa28a
lri $WR1,    #0x534f
cw 0x15
call send_back  ; 41344 (0xa180)

lri $AR1,    #0x9b35
lri $IX1,    #0xafbe
lri $WR1,    #0x6709
cw 0x15
call send_back  ; 41345 (0xa181)

lri $AR1,    #0x28cd
lri $IX1,    #0xa3ea
lri $WR1,    #0xead6
cw 0x15
call send_back  ; 41346 (0xa182)

lri $AR1,    #0x6e8a
lri $IX1,    #0x922c
lri $WR1,    #0xa839
cw 0x15
call send_back  ; 41347 (0xa183)

lri $AR1,    #0x7d42
lri $IX1,    #0x046c
lri $WR1,    #0xcb52
cw 0x15
call send_back  ; 41348 (0xa184)

lri $AR1,    #0x6047
lri $IX1,    #0x049a
lri $WR1,    #0xd700
cw 0x15
call send_back  ; 41349 (0xa185)

lri $AR1,    #0x9136
lri $IX1,    #0xbdde
lri $WR1,    #0x8cfd
cw 0x15
call send_back  ; 41350 (0xa186)

lri $AR1,    #0xb71f
lri $IX1,    #0x6b84
lri $WR1,    #0x8b25
cw 0x15
call send_back  ; 41351 (0xa187)

lri $AR1,    #0x9468
lri $IX1,    #0x77c8
lri $WR1,    #0xe448
cw 0x15
call send_back  ; 41352 (0xa188)

lri $AR1,    #0x721d
lri $IX1,    #0x6530
lri $WR1,    #0xa4cb
cw 0x15
call send_back  ; 41353 (0xa189)

lri $AR1,    #0x7722
lri $IX1,    #0x81aa
lri $WR1,    #0x6080
cw 0x15
call send_back  ; 41354 (0xa18a)

lri $AR1,    #0x8cf0
lri $IX1,    #0x9324
lri $WR1,    #0x78d6
cw 0x15
call send_back  ; 41355 (0xa18b)

lri $AR1,    #0x1b4b
lri $IX1,    #0xc9b2
lri $WR1,    #0x9ff7
cw 0x15
call send_back  ; 41356 (0xa18c)

lri $AR1,    #0x5fb3
lri $IX1,    #0x6c20
lri $WR1,    #0x96d2
cw 0x15
call send_back  ; 41357 (0xa18d)

lri $AR1,    #0xd4e4
lri $IX1,    #0x07ee
lri $WR1,    #0x21b0
cw 0x15
call send_back  ; 41358 (0xa18e)

lri $AR1,    #0x6234
lri $IX1,    #0x8e92
lri $WR1,    #0x905e
cw 0x15
call send_back  ; 41359 (0xa18f)

lri $AR1,    #0x4219
lri $IX1,    #0xd60c
lri $WR1,    #0xdc7f
cw 0x15
call send_back  ; 41360 (0xa190)

lri $AR1,    #0x1abb
lri $IX1,    #0x8b94
lri $WR1,    #0xaa11
cw 0x15
call send_back  ; 41361 (0xa191)

lri $AR1,    #0x82c5
lri $IX1,    #0xeb8a
lri $WR1,    #0x43b8
cw 0x15
call send_back  ; 41362 (0xa192)

lri $AR1,    #0x8059
lri $IX1,    #0xa25c
lri $WR1,    #0x5de5
cw 0x15
call send_back  ; 41363 (0xa193)

lri $AR1,    #0xd779
lri $IX1,    #0x367a
lri $WR1,    #0xe156
cw 0x15
call send_back  ; 41364 (0xa194)

lri $AR1,    #0x98a4
lri $IX1,    #0x643c
lri $WR1,    #0x971d
cw 0x15
call send_back  ; 41365 (0xa195)

lri $AR1,    #0xb007
lri $IX1,    #0x08ac
lri $WR1,    #0xad9e
cw 0x15
call send_back  ; 41366 (0xa196)

lri $AR1,    #0x9909
lri $IX1,    #0xb918
lri $WR1,    #0x8fad
cw 0x15
call send_back  ; 41367 (0xa197)

lri $AR1,    #0x3188
lri $IX1,    #0x1170
lri $WR1,    #0x4c4c
cw 0x15
call send_back  ; 41368 (0xa198)

lri $AR1,    #0x5390
lri $IX1,    #0x3c56
lri $WR1,    #0xb723
cw 0x15
call send_back  ; 41369 (0xa199)

lri $AR1,    #0xbbe6
lri $IX1,    #0x5bc8
lri $WR1,    #0x573b
cw 0x15
call send_back  ; 41370 (0xa19a)

lri $AR1,    #0x3725
lri $IX1,    #0x6a62
lri $WR1,    #0x8b0f
cw 0x15
call send_back  ; 41371 (0xa19b)

lri $AR1,    #0xf6de
lri $IX1,    #0x0924
lri $WR1,    #0xde89
cw 0x15
call send_back  ; 41372 (0xa19c)

lri $AR1,    #0x2b5e
lri $IX1,    #0x96a0
lri $WR1,    #0xc8ea
cw 0x15
call send_back  ; 41373 (0xa19d)

lri $AR1,    #0x6e92
lri $IX1,    #0x0098
lri $WR1,    #0xc642
cw 0x15
call send_back  ; 41374 (0xa19e)

lri $AR1,    #0x0fc4
lri $IX1,    #0x21e2
lri $WR1,    #0xe17d
cw 0x15
call send_back  ; 41375 (0xa19f)

lri $AR1,    #0x4787
lri $IX1,    #0x4a96
lri $WR1,    #0xa98a
cw 0x15
call send_back  ; 41376 (0xa1a0)

lri $AR1,    #0xa69f
lri $IX1,    #0xe964
lri $WR1,    #0x95cd
cw 0x15
call send_back  ; 41377 (0xa1a1)

lri $AR1,    #0x9236
lri $IX1,    #0x5122
lri $WR1,    #0x6b40
cw 0x15
call send_back  ; 41378 (0xa1a2)

lri $AR1,    #0xb337
lri $IX1,    #0x6644
lri $WR1,    #0xa57f
cw 0x15
call send_back  ; 41379 (0xa1a3)

lri $AR1,    #0xc60c
lri $IX1,    #0xbc8e
lri $WR1,    #0x9c29
cw 0x15
call send_back  ; 41380 (0xa1a4)

lri $AR1,    #0x93a1
lri $IX1,    #0x7576
lri $WR1,    #0x76c3
cw 0x15
call send_back  ; 41381 (0xa1a5)

lri $AR1,    #0x6bf6
lri $IX1,    #0x24b0
lri $WR1,    #0x5e98
cw 0x15
call send_back  ; 41382 (0xa1a6)

lri $AR1,    #0x1e06
lri $IX1,    #0x4040
lri $WR1,    #0x9fb7
cw 0x15
call send_back  ; 41383 (0xa1a7)

lri $AR1,    #0x8069
lri $IX1,    #0x4e9a
lri $WR1,    #0x6f93
cw 0x15
call send_back  ; 41384 (0xa1a8)

lri $AR1,    #0x8968
lri $IX1,    #0x3d30
lri $WR1,    #0x3958
cw 0x15
call send_back  ; 41385 (0xa1a9)

lri $AR1,    #0x94ea
lri $IX1,    #0x2ed4
lri $WR1,    #0x7d83
cw 0x15
call send_back  ; 41386 (0xa1aa)

lri $AR1,    #0xa9f0
lri $IX1,    #0xc192
lri $WR1,    #0x63de
cw 0x15
call send_back  ; 41387 (0xa1ab)

lri $AR1,    #0xb915
lri $IX1,    #0x6814
lri $WR1,    #0x7452
cw 0x15
call send_back  ; 41388 (0xa1ac)

lri $AR1,    #0x48b1
lri $IX1,    #0x1b70
lri $WR1,    #0x64b2
cw 0x15
call send_back  ; 41389 (0xa1ad)

lri $AR1,    #0xb325
lri $IX1,    #0x7e6e
lri $WR1,    #0x6717
cw 0x15
call send_back  ; 41390 (0xa1ae)

lri $AR1,    #0x5ef1
lri $IX1,    #0xac00
lri $WR1,    #0x45c6
cw 0x15
call send_back  ; 41391 (0xa1af)

lri $AR1,    #0x8ffe
lri $IX1,    #0x771a
lri $WR1,    #0xbf42
cw 0x15
call send_back  ; 41392 (0xa1b0)

lri $AR1,    #0x7cf0
lri $IX1,    #0xfaa2
lri $WR1,    #0x5e8d
cw 0x15
call send_back  ; 41393 (0xa1b1)

lri $AR1,    #0x92b2
lri $IX1,    #0x1ca0
lri $WR1,    #0x593e
cw 0x15
call send_back  ; 41394 (0xa1b2)

lri $AR1,    #0xa435
lri $IX1,    #0x3858
lri $WR1,    #0xae57
cw 0x15
call send_back  ; 41395 (0xa1b3)

lri $AR1,    #0x8b8b
lri $IX1,    #0x9f96
lri $WR1,    #0x369c
cw 0x15
call send_back  ; 41396 (0xa1b4)

lri $AR1,    #0xdd50
lri $IX1,    #0x2bba
lri $WR1,    #0x7041
cw 0x15
call send_back  ; 41397 (0xa1b5)

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