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

lri $AR1,    #0xaec6
lri $IX1,    #0xcaaa
lri $WR1,    #0xb888
cw 0xd
call send_back  ; 45330 (0xb112)

lri $AR1,    #0xee0f
lri $IX1,    #0x7054
lri $WR1,    #0x7862
cw 0xd
call send_back  ; 45331 (0xb113)

lri $AR1,    #0xb692
lri $IX1,    #0xb8dc
lri $WR1,    #0x43ff
cw 0xd
call send_back  ; 45332 (0xb114)

lri $AR1,    #0xd7e6
lri $IX1,    #0xa7a0
lri $WR1,    #0xad52
cw 0xd
call send_back  ; 45333 (0xb115)

lri $AR1,    #0xbe28
lri $IX1,    #0xa72a
lri $WR1,    #0x5406
cw 0xd
call send_back  ; 45334 (0xb116)

lri $AR1,    #0xa295
lri $IX1,    #0x56a0
lri $WR1,    #0x0d91
cw 0xd
call send_back  ; 45335 (0xb117)

lri $AR1,    #0xd3bf
lri $IX1,    #0xd864
lri $WR1,    #0x75fa
cw 0xd
call send_back  ; 45336 (0xb118)

lri $AR1,    #0x7c44
lri $IX1,    #0x5f0c
lri $WR1,    #0x514c
cw 0xd
call send_back  ; 45337 (0xb119)

lri $AR1,    #0xae5f
lri $IX1,    #0x91a8
lri $WR1,    #0x9354
cw 0xd
call send_back  ; 45338 (0xb11a)

lri $AR1,    #0x6dff
lri $IX1,    #0x6f96
lri $WR1,    #0x34b3
cw 0xd
call send_back  ; 45339 (0xb11b)

lri $AR1,    #0x5ae9
lri $IX1,    #0x7fa6
lri $WR1,    #0x91d4
cw 0xd
call send_back  ; 45340 (0xb11c)

lri $AR1,    #0x577c
lri $IX1,    #0x2dfe
lri $WR1,    #0x49de
cw 0xd
call send_back  ; 45341 (0xb11d)

lri $AR1,    #0x789b
lri $IX1,    #0x276a
lri $WR1,    #0x5125
cw 0xd
call send_back  ; 45342 (0xb11e)

lri $AR1,    #0x8e65
lri $IX1,    #0x208e
lri $WR1,    #0x8c38
cw 0xd
call send_back  ; 45343 (0xb11f)

lri $AR1,    #0x8d1e
lri $IX1,    #0xaaa4
lri $WR1,    #0xae0b
cw 0xd
call send_back  ; 45344 (0xb120)

lri $AR1,    #0x6920
lri $IX1,    #0x5f2c
lri $WR1,    #0x9d64
cw 0xd
call send_back  ; 45345 (0xb121)

lri $AR1,    #0x7808
lri $IX1,    #0xa76c
lri $WR1,    #0xb304
cw 0xd
call send_back  ; 45346 (0xb122)

lri $AR1,    #0x7d16
lri $IX1,    #0x93dc
lri $WR1,    #0x13a9
cw 0xd
call send_back  ; 45347 (0xb123)

lri $AR1,    #0x8de7
lri $IX1,    #0x7b92
lri $WR1,    #0x9e77
cw 0xd
call send_back  ; 45348 (0xb124)

lri $AR1,    #0xd87d
lri $IX1,    #0x52c6
lri $WR1,    #0xc1d5
cw 0xd
call send_back  ; 45349 (0xb125)

lri $AR1,    #0x62c8
lri $IX1,    #0xb360
lri $WR1,    #0x6654
cw 0xd
call send_back  ; 45350 (0xb126)

lri $AR1,    #0x7f9a
lri $IX1,    #0x51c8
lri $WR1,    #0x60a9
cw 0xd
call send_back  ; 45351 (0xb127)

lri $AR1,    #0x4c40
lri $IX1,    #0xebe4
lri $WR1,    #0x6147
cw 0xd
call send_back  ; 45352 (0xb128)

lri $AR1,    #0x7596
lri $IX1,    #0x8772
lri $WR1,    #0x81bd
cw 0xd
call send_back  ; 45353 (0xb129)

lri $AR1,    #0x22f4
lri $IX1,    #0xf0b4
lri $WR1,    #0x3d52
cw 0xd
call send_back  ; 45354 (0xb12a)

lri $AR1,    #0x98b4
lri $IX1,    #0xb996
lri $WR1,    #0xb3ef
cw 0xd
call send_back  ; 45355 (0xb12b)

lri $AR1,    #0x4ba0
lri $IX1,    #0x5d40
lri $WR1,    #0x6c02
cw 0xd
call send_back  ; 45356 (0xb12c)

lri $AR1,    #0x9a28
lri $IX1,    #0x834e
lri $WR1,    #0x4142
cw 0xd
call send_back  ; 45357 (0xb12d)

lri $AR1,    #0x8fa0
lri $IX1,    #0x898e
lri $WR1,    #0xac0f
cw 0xd
call send_back  ; 45358 (0xb12e)

lri $AR1,    #0x595a
lri $IX1,    #0x5a82
lri $WR1,    #0x6e4e
cw 0xd
call send_back  ; 45359 (0xb12f)

lri $AR1,    #0x4cf6
lri $IX1,    #0x0a88
lri $WR1,    #0x5887
cw 0xd
call send_back  ; 45360 (0xb130)

lri $AR1,    #0x6aa9
lri $IX1,    #0x9cf0
lri $WR1,    #0xa321
cw 0xd
call send_back  ; 45361 (0xb131)

lri $AR1,    #0x85d5
lri $IX1,    #0x8dc6
lri $WR1,    #0x2576
cw 0xd
call send_back  ; 45362 (0xb132)

lri $AR1,    #0x11bc
lri $IX1,    #0x2cba
lri $WR1,    #0x65af
cw 0xd
call send_back  ; 45363 (0xb133)

lri $AR1,    #0xd7a7
lri $IX1,    #0x58d4
lri $WR1,    #0xf20e
cw 0xd
call send_back  ; 45364 (0xb134)

lri $AR1,    #0x7744
lri $IX1,    #0xa466
lri $WR1,    #0x8db0
cw 0xd
call send_back  ; 45365 (0xb135)

lri $AR1,    #0x6196
lri $IX1,    #0x33f4
lri $WR1,    #0x584c
cw 0xd
call send_back  ; 45366 (0xb136)

lri $AR1,    #0xe243
lri $IX1,    #0xaa6a
lri $WR1,    #0x9a12
cw 0xd
call send_back  ; 45367 (0xb137)

lri $AR1,    #0xa291
lri $IX1,    #0x0872
lri $WR1,    #0xa226
cw 0xd
call send_back  ; 45368 (0xb138)

lri $AR1,    #0xbcdc
lri $IX1,    #0x6c36
lri $WR1,    #0x8fdb
cw 0xd
call send_back  ; 45369 (0xb139)

lri $AR1,    #0x56dc
lri $IX1,    #0xfa62
lri $WR1,    #0xcc2c
cw 0xd
call send_back  ; 45370 (0xb13a)

lri $AR1,    #0xac90
lri $IX1,    #0xc8b6
lri $WR1,    #0xca92
cw 0xd
call send_back  ; 45371 (0xb13b)

lri $AR1,    #0xdd0c
lri $IX1,    #0x45ec
lri $WR1,    #0x3db7
cw 0xd
call send_back  ; 45372 (0xb13c)

lri $AR1,    #0x860e
lri $IX1,    #0x325e
lri $WR1,    #0xa627
cw 0xd
call send_back  ; 45373 (0xb13d)

lri $AR1,    #0xaa9a
lri $IX1,    #0xa816
lri $WR1,    #0x5e89
cw 0xd
call send_back  ; 45374 (0xb13e)

lri $AR1,    #0x647a
lri $IX1,    #0xd0b6
lri $WR1,    #0x6a5f
cw 0xd
call send_back  ; 45375 (0xb13f)

lri $AR1,    #0x57e5
lri $IX1,    #0x9b04
lri $WR1,    #0x31fe
cw 0xd
call send_back  ; 45376 (0xb140)

lri $AR1,    #0xac30
lri $IX1,    #0xe956
lri $WR1,    #0x5fb3
cw 0xd
call send_back  ; 45377 (0xb141)

lri $AR1,    #0x4bbb
lri $IX1,    #0x2dca
lri $WR1,    #0x9fae
cw 0xd
call send_back  ; 45378 (0xb142)

lri $AR1,    #0x4111
lri $IX1,    #0x187c
lri $WR1,    #0x75c3
cw 0xd
call send_back  ; 45379 (0xb143)

lri $AR1,    #0x0e62
lri $IX1,    #0xbfb0
lri $WR1,    #0x1195
cw 0xd
call send_back  ; 45380 (0xb144)

lri $AR1,    #0x384c
lri $IX1,    #0x610c
lri $WR1,    #0xe334
cw 0xd
call send_back  ; 45381 (0xb145)

lri $AR1,    #0x4c21
lri $IX1,    #0x66f4
lri $WR1,    #0x8fbe
cw 0xd
call send_back  ; 45382 (0xb146)

lri $AR1,    #0x4d9e
lri $IX1,    #0x9c16
lri $WR1,    #0xa71e
cw 0xd
call send_back  ; 45383 (0xb147)

lri $AR1,    #0x8f42
lri $IX1,    #0x4b20
lri $WR1,    #0x8169
cw 0xd
call send_back  ; 45384 (0xb148)

lri $AR1,    #0x6426
lri $IX1,    #0x4fe4
lri $WR1,    #0xd3f5
cw 0xd
call send_back  ; 45385 (0xb149)

lri $AR1,    #0xb9a5
lri $IX1,    #0xbac0
lri $WR1,    #0xbbb4
cw 0xd
call send_back  ; 45386 (0xb14a)

lri $AR1,    #0x5aa2
lri $IX1,    #0x7682
lri $WR1,    #0x8beb
cw 0xd
call send_back  ; 45387 (0xb14b)

lri $AR1,    #0xc5bc
lri $IX1,    #0x44bc
lri $WR1,    #0x05c3
cw 0xd
call send_back  ; 45388 (0xb14c)

lri $AR1,    #0x7b3d
lri $IX1,    #0x3bbe
lri $WR1,    #0x96dd
cw 0xd
call send_back  ; 45389 (0xb14d)

lri $AR1,    #0x571b
lri $IX1,    #0x9d12
lri $WR1,    #0x3a65
cw 0xd
call send_back  ; 45390 (0xb14e)

lri $AR1,    #0x4ed4
lri $IX1,    #0x3abc
lri $WR1,    #0x79ba
cw 0xd
call send_back  ; 45391 (0xb14f)

lri $AR1,    #0xa27c
lri $IX1,    #0x9526
lri $WR1,    #0x2f41
cw 0xd
call send_back  ; 45392 (0xb150)

lri $AR1,    #0x9bc3
lri $IX1,    #0x42f2
lri $WR1,    #0x776a
cw 0xd
call send_back  ; 45393 (0xb151)

lri $AR1,    #0x354c
lri $IX1,    #0xef86
lri $WR1,    #0x897a
cw 0xd
call send_back  ; 45394 (0xb152)

lri $AR1,    #0x5825
lri $IX1,    #0x2cb6
lri $WR1,    #0x6335
cw 0xd
call send_back  ; 45395 (0xb153)

lri $AR1,    #0xa4aa
lri $IX1,    #0x5736
lri $WR1,    #0xa7db
cw 0xd
call send_back  ; 45396 (0xb154)

lri $AR1,    #0x57a4
lri $IX1,    #0xc54a
lri $WR1,    #0xacb0
cw 0xd
call send_back  ; 45397 (0xb155)

lri $AR1,    #0xabfa
lri $IX1,    #0x4272
lri $WR1,    #0x4a79
cw 0xd
call send_back  ; 45398 (0xb156)

lri $AR1,    #0x7cbd
lri $IX1,    #0x5a5a
lri $WR1,    #0x8d1d
cw 0xd
call send_back  ; 45399 (0xb157)

lri $AR1,    #0x42e4
lri $IX1,    #0x08fc
lri $WR1,    #0x9fdf
cw 0xd
call send_back  ; 45400 (0xb158)

lri $AR1,    #0xb586
lri $IX1,    #0xed10
lri $WR1,    #0x3e5b
cw 0xd
call send_back  ; 45401 (0xb159)

lri $AR1,    #0x32e0
lri $IX1,    #0xf5e0
lri $WR1,    #0x5fba
cw 0xd
call send_back  ; 45402 (0xb15a)

lri $AR1,    #0x8bfb
lri $IX1,    #0x948c
lri $WR1,    #0xa34b
cw 0xd
call send_back  ; 45403 (0xb15b)

lri $AR1,    #0x343f
lri $IX1,    #0x9cbe
lri $WR1,    #0x9af7
cw 0xd
call send_back  ; 45404 (0xb15c)

lri $AR1,    #0x91c4
lri $IX1,    #0x1800
lri $WR1,    #0x49b3
cw 0xd
call send_back  ; 45405 (0xb15d)

lri $AR1,    #0x9ab1
lri $IX1,    #0x3a94
lri $WR1,    #0x6972
cw 0xd
call send_back  ; 45406 (0xb15e)

lri $AR1,    #0x6f7a
lri $IX1,    #0x4824
lri $WR1,    #0x2db0
cw 0xd
call send_back  ; 45407 (0xb15f)

lri $AR1,    #0x994b
lri $IX1,    #0x6a00
lri $WR1,    #0x9d1f
cw 0xd
call send_back  ; 45408 (0xb160)

lri $AR1,    #0x5f72
lri $IX1,    #0x2050
lri $WR1,    #0xa694
cw 0xd
call send_back  ; 45409 (0xb161)

lri $AR1,    #0xa616
lri $IX1,    #0xf30c
lri $WR1,    #0xa2ad
cw 0xd
call send_back  ; 45410 (0xb162)

lri $AR1,    #0x5c08
lri $IX1,    #0x36f6
lri $WR1,    #0xe556
cw 0xd
call send_back  ; 45411 (0xb163)

lri $AR1,    #0x850e
lri $IX1,    #0xfe78
lri $WR1,    #0x37b1
cw 0xd
call send_back  ; 45412 (0xb164)

lri $AR1,    #0x495e
lri $IX1,    #0x85b0
lri $WR1,    #0x6c73
cw 0xd
call send_back  ; 45413 (0xb165)

lri $AR1,    #0x82b1
lri $IX1,    #0x747c
lri $WR1,    #0x9e4c
cw 0xd
call send_back  ; 45414 (0xb166)

lri $AR1,    #0x62ad
lri $IX1,    #0x10ca
lri $WR1,    #0x695d
cw 0xd
call send_back  ; 45415 (0xb167)

lri $AR1,    #0x6605
lri $IX1,    #0xcf16
lri $WR1,    #0x7659
cw 0xd
call send_back  ; 45416 (0xb168)

lri $AR1,    #0x330a
lri $IX1,    #0x7646
lri $WR1,    #0xd75e
cw 0xd
call send_back  ; 45417 (0xb169)

lri $AR1,    #0xa21e
lri $IX1,    #0x27d0
lri $WR1,    #0x640d
cw 0xd
call send_back  ; 45418 (0xb16a)

lri $AR1,    #0xe1ac
lri $IX1,    #0xec64
lri $WR1,    #0x5401
cw 0xd
call send_back  ; 45419 (0xb16b)

lri $AR1,    #0x4f26
lri $IX1,    #0xc904
lri $WR1,    #0xac22
cw 0xd
call send_back  ; 45420 (0xb16c)

lri $AR1,    #0x99b4
lri $IX1,    #0xb7b0
lri $WR1,    #0x8cfa
cw 0xd
call send_back  ; 45421 (0xb16d)

lri $AR1,    #0x72ec
lri $IX1,    #0x0aaa
lri $WR1,    #0x6d81
cw 0xd
call send_back  ; 45422 (0xb16e)

lri $AR1,    #0x557a
lri $IX1,    #0xa07e
lri $WR1,    #0xaf90
cw 0xd
call send_back  ; 45423 (0xb16f)

lri $AR1,    #0xa0e2
lri $IX1,    #0xc2a0
lri $WR1,    #0x2069
cw 0xd
call send_back  ; 45424 (0xb170)

lri $AR1,    #0x5550
lri $IX1,    #0x7002
lri $WR1,    #0x4184
cw 0xd
call send_back  ; 45425 (0xb171)

lri $AR1,    #0x79a9
lri $IX1,    #0x106a
lri $WR1,    #0x8315
cw 0xd
call send_back  ; 45426 (0xb172)

lri $AR1,    #0x89c9
lri $IX1,    #0xfcca
lri $WR1,    #0x4b75
cw 0xd
call send_back  ; 45427 (0xb173)

lri $AR1,    #0x921d
lri $IX1,    #0xcc84
lri $WR1,    #0x9be5
cw 0xd
call send_back  ; 45428 (0xb174)

lri $AR1,    #0x3988
lri $IX1,    #0xcece
lri $WR1,    #0x3cd0
cw 0xd
call send_back  ; 45429 (0xb175)

lri $AR1,    #0xc9d6
lri $IX1,    #0x6322
lri $WR1,    #0x790a
cw 0xd
call send_back  ; 45430 (0xb176)

lri $AR1,    #0x2a81
lri $IX1,    #0xe2f4
lri $WR1,    #0x7131
cw 0xd
call send_back  ; 45431 (0xb177)

lri $AR1,    #0x9935
lri $IX1,    #0x6280
lri $WR1,    #0x55a7
cw 0xd
call send_back  ; 45432 (0xb178)

lri $AR1,    #0x96c4
lri $IX1,    #0x9618
lri $WR1,    #0xbf4d
cw 0xd
call send_back  ; 45433 (0xb179)

lri $AR1,    #0xdeec
lri $IX1,    #0x84a0
lri $WR1,    #0xcc7d
cw 0xd
call send_back  ; 45434 (0xb17a)

lri $AR1,    #0xb4c2
lri $IX1,    #0x3f9a
lri $WR1,    #0x795d
cw 0xd
call send_back  ; 45435 (0xb17b)

lri $AR1,    #0xb502
lri $IX1,    #0x7c9c
lri $WR1,    #0x4015
cw 0xd
call send_back  ; 45436 (0xb17c)

lri $AR1,    #0x9b1d
lri $IX1,    #0x8360
lri $WR1,    #0x4700
cw 0xd
call send_back  ; 45437 (0xb17d)

lri $AR1,    #0x555e
lri $IX1,    #0x4f66
lri $WR1,    #0x2061
cw 0xd
call send_back  ; 45438 (0xb17e)

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