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

lri $AR1,    #0x401d
lri $IX1,    #0xda2e
lri $WR1,    #0x6cf6
cw 0xd
call send_back  ; 32332 (0x7e4c)

lri $AR1,    #0x780f
lri $IX1,    #0xfde8
lri $WR1,    #0xa2a9
cw 0xd
call send_back  ; 32333 (0x7e4d)

lri $AR1,    #0xa85a
lri $IX1,    #0x1fd8
lri $WR1,    #0xc11a
cw 0xd
call send_back  ; 32334 (0x7e4e)

lri $AR1,    #0x45f7
lri $IX1,    #0x3d3c
lri $WR1,    #0x8001
cw 0xd
call send_back  ; 32335 (0x7e4f)

lri $AR1,    #0x4daf
lri $IX1,    #0x28f6
lri $WR1,    #0x725b
cw 0xd
call send_back  ; 32336 (0x7e50)

lri $AR1,    #0xb12a
lri $IX1,    #0x915c
lri $WR1,    #0x1d70
cw 0xd
call send_back  ; 32337 (0x7e51)

lri $AR1,    #0x7c45
lri $IX1,    #0xecd2
lri $WR1,    #0x879e
cw 0xd
call send_back  ; 32338 (0x7e52)

lri $AR1,    #0x6085
lri $IX1,    #0x0960
lri $WR1,    #0x2a00
cw 0xd
call send_back  ; 32339 (0x7e53)

lri $AR1,    #0x9bfe
lri $IX1,    #0xff32
lri $WR1,    #0xa56d
cw 0xd
call send_back  ; 32340 (0x7e54)

lri $AR1,    #0xcc71
lri $IX1,    #0x3d46
lri $WR1,    #0x3502
cw 0xd
call send_back  ; 32341 (0x7e55)

lri $AR1,    #0x8efd
lri $IX1,    #0x3312
lri $WR1,    #0xf59c
cw 0xd
call send_back  ; 32342 (0x7e56)

lri $AR1,    #0xb02a
lri $IX1,    #0x997e
lri $WR1,    #0x9b7b
cw 0xd
call send_back  ; 32343 (0x7e57)

lri $AR1,    #0x87a9
lri $IX1,    #0x70f6
lri $WR1,    #0x7479
cw 0xd
call send_back  ; 32344 (0x7e58)

lri $AR1,    #0x4689
lri $IX1,    #0x51ee
lri $WR1,    #0x7f09
cw 0xd
call send_back  ; 32345 (0x7e59)

lri $AR1,    #0xde3c
lri $IX1,    #0x88a6
lri $WR1,    #0x4b6e
cw 0xd
call send_back  ; 32346 (0x7e5a)

lri $AR1,    #0x9a47
lri $IX1,    #0x847a
lri $WR1,    #0xae4c
cw 0xd
call send_back  ; 32347 (0x7e5b)

lri $AR1,    #0xedc7
lri $IX1,    #0x4686
lri $WR1,    #0x6128
cw 0xd
call send_back  ; 32348 (0x7e5c)

lri $AR1,    #0x31cc
lri $IX1,    #0x930e
lri $WR1,    #0xe6cc
cw 0xd
call send_back  ; 32349 (0x7e5d)

lri $AR1,    #0x80b7
lri $IX1,    #0x9450
lri $WR1,    #0x4745
cw 0xd
call send_back  ; 32350 (0x7e5e)

lri $AR1,    #0x5e73
lri $IX1,    #0x3d2a
lri $WR1,    #0x5865
cw 0xd
call send_back  ; 32351 (0x7e5f)

lri $AR1,    #0xd4e3
lri $IX1,    #0xed64
lri $WR1,    #0xad78
cw 0xd
call send_back  ; 32352 (0x7e60)

lri $AR1,    #0x7750
lri $IX1,    #0x80e2
lri $WR1,    #0xd229
cw 0xd
call send_back  ; 32353 (0x7e61)

lri $AR1,    #0xbf15
lri $IX1,    #0xee8e
lri $WR1,    #0x822f
cw 0xd
call send_back  ; 32354 (0x7e62)

lri $AR1,    #0x477e
lri $IX1,    #0xcb66
lri $WR1,    #0x80ce
cw 0xd
call send_back  ; 32355 (0x7e63)

lri $AR1,    #0x7608
lri $IX1,    #0x494a
lri $WR1,    #0xe8c1
cw 0xd
call send_back  ; 32356 (0x7e64)

lri $AR1,    #0x77e1
lri $IX1,    #0x8112
lri $WR1,    #0xa693
cw 0xd
call send_back  ; 32357 (0x7e65)

lri $AR1,    #0x8cfa
lri $IX1,    #0xe294
lri $WR1,    #0xad0f
cw 0xd
call send_back  ; 32358 (0x7e66)

lri $AR1,    #0xbc71
lri $IX1,    #0x64f4
lri $WR1,    #0x34a9
cw 0xd
call send_back  ; 32359 (0x7e67)

lri $AR1,    #0xa5b0
lri $IX1,    #0x6526
lri $WR1,    #0xdcb2
cw 0xd
call send_back  ; 32360 (0x7e68)

lri $AR1,    #0x8d03
lri $IX1,    #0xe7ca
lri $WR1,    #0xae1a
cw 0xd
call send_back  ; 32361 (0x7e69)

lri $AR1,    #0x61ff
lri $IX1,    #0x0f4c
lri $WR1,    #0x2d9e
cw 0xd
call send_back  ; 32362 (0x7e6a)

lri $AR1,    #0xb18c
lri $IX1,    #0xe698
lri $WR1,    #0xbc30
cw 0xd
call send_back  ; 32363 (0x7e6b)

lri $AR1,    #0x1cd4
lri $IX1,    #0x0422
lri $WR1,    #0x5a51
cw 0xd
call send_back  ; 32364 (0x7e6c)

lri $AR1,    #0x69f3
lri $IX1,    #0xe0a4
lri $WR1,    #0xdc61
cw 0xd
call send_back  ; 32365 (0x7e6d)

lri $AR1,    #0x72b8
lri $IX1,    #0xe85e
lri $WR1,    #0x9b72
cw 0xd
call send_back  ; 32366 (0x7e6e)

lri $AR1,    #0x7948
lri $IX1,    #0x2d0a
lri $WR1,    #0x8fb3
cw 0xd
call send_back  ; 32367 (0x7e6f)

lri $AR1,    #0xa1e1
lri $IX1,    #0x129c
lri $WR1,    #0xe6ff
cw 0xd
call send_back  ; 32368 (0x7e70)

lri $AR1,    #0x5ca3
lri $IX1,    #0x37ba
lri $WR1,    #0x73a6
cw 0xd
call send_back  ; 32369 (0x7e71)

lri $AR1,    #0x49af
lri $IX1,    #0x1722
lri $WR1,    #0x9cf5
cw 0xd
call send_back  ; 32370 (0x7e72)

lri $AR1,    #0x7556
lri $IX1,    #0x4e00
lri $WR1,    #0x2c9c
cw 0xd
call send_back  ; 32371 (0x7e73)

lri $AR1,    #0x11bd
lri $IX1,    #0xf72c
lri $WR1,    #0x4973
cw 0xd
call send_back  ; 32372 (0x7e74)

lri $AR1,    #0x6ec2
lri $IX1,    #0x0296
lri $WR1,    #0x09be
cw 0xd
call send_back  ; 32373 (0x7e75)

lri $AR1,    #0x4065
lri $IX1,    #0xbbb0
lri $WR1,    #0xa46a
cw 0xd
call send_back  ; 32374 (0x7e76)

lri $AR1,    #0x279b
lri $IX1,    #0xb122
lri $WR1,    #0x4a6a
cw 0xd
call send_back  ; 32375 (0x7e77)

lri $AR1,    #0x48c7
lri $IX1,    #0xc3a6
lri $WR1,    #0x76bd
cw 0xd
call send_back  ; 32376 (0x7e78)

lri $AR1,    #0x66b2
lri $IX1,    #0x2942
lri $WR1,    #0x6d17
cw 0xd
call send_back  ; 32377 (0x7e79)

lri $AR1,    #0x5855
lri $IX1,    #0x8dd2
lri $WR1,    #0x8cec
cw 0xd
call send_back  ; 32378 (0x7e7a)

lri $AR1,    #0xa33a
lri $IX1,    #0x0914
lri $WR1,    #0x6fba
cw 0xd
call send_back  ; 32379 (0x7e7b)

lri $AR1,    #0x6bd5
lri $IX1,    #0x4610
lri $WR1,    #0x5f41
cw 0xd
call send_back  ; 32380 (0x7e7c)

lri $AR1,    #0xa891
lri $IX1,    #0xcf3a
lri $WR1,    #0x69b5
cw 0xd
call send_back  ; 32381 (0x7e7d)

lri $AR1,    #0x73f0
lri $IX1,    #0xde0e
lri $WR1,    #0x9770
cw 0xd
call send_back  ; 32382 (0x7e7e)

lri $AR1,    #0x5d8a
lri $IX1,    #0x2c6c
lri $WR1,    #0x673c
cw 0xd
call send_back  ; 32383 (0x7e7f)

lri $AR1,    #0x9135
lri $IX1,    #0xf9a8
lri $WR1,    #0x9bc2
cw 0xd
call send_back  ; 32384 (0x7e80)

lri $AR1,    #0x7733
lri $IX1,    #0x9c76
lri $WR1,    #0x6e37
cw 0xd
call send_back  ; 32385 (0x7e81)

lri $AR1,    #0x6fa2
lri $IX1,    #0x76a0
lri $WR1,    #0xc7bf
cw 0xd
call send_back  ; 32386 (0x7e82)

lri $AR1,    #0x5f1c
lri $IX1,    #0xcec2
lri $WR1,    #0x94b7
cw 0xd
call send_back  ; 32387 (0x7e83)

lri $AR1,    #0x49ae
lri $IX1,    #0xd7ea
lri $WR1,    #0x7a56
cw 0xd
call send_back  ; 32388 (0x7e84)

lri $AR1,    #0x1523
lri $IX1,    #0xe662
lri $WR1,    #0x90d1
cw 0xd
call send_back  ; 32389 (0x7e85)

lri $AR1,    #0x9acd
lri $IX1,    #0x5c7a
lri $WR1,    #0xa17f
cw 0xd
call send_back  ; 32390 (0x7e86)

lri $AR1,    #0xd4b7
lri $IX1,    #0x199c
lri $WR1,    #0xaa0e
cw 0xd
call send_back  ; 32391 (0x7e87)

lri $AR1,    #0x897e
lri $IX1,    #0x0984
lri $WR1,    #0x6b6b
cw 0xd
call send_back  ; 32392 (0x7e88)

lri $AR1,    #0xc5a6
lri $IX1,    #0xb8e6
lri $WR1,    #0x7451
cw 0xd
call send_back  ; 32393 (0x7e89)

lri $AR1,    #0x90cb
lri $IX1,    #0x704a
lri $WR1,    #0xc528
cw 0xd
call send_back  ; 32394 (0x7e8a)

lri $AR1,    #0x805d
lri $IX1,    #0x257e
lri $WR1,    #0xbc3b
cw 0xd
call send_back  ; 32395 (0x7e8b)

lri $AR1,    #0x715a
lri $IX1,    #0x7760
lri $WR1,    #0x4ec9
cw 0xd
call send_back  ; 32396 (0x7e8c)

lri $AR1,    #0xadb9
lri $IX1,    #0xbf60
lri $WR1,    #0x8d1b
cw 0xd
call send_back  ; 32397 (0x7e8d)

lri $AR1,    #0xf1ee
lri $IX1,    #0xef74
lri $WR1,    #0x6d10
cw 0xd
call send_back  ; 32398 (0x7e8e)

lri $AR1,    #0x8a46
lri $IX1,    #0x52e0
lri $WR1,    #0x384e
cw 0xd
call send_back  ; 32399 (0x7e8f)

lri $AR1,    #0x7772
lri $IX1,    #0x3b9c
lri $WR1,    #0x2091
cw 0xd
call send_back  ; 32400 (0x7e90)

lri $AR1,    #0x950f
lri $IX1,    #0x0da6
lri $WR1,    #0x462d
cw 0xd
call send_back  ; 32401 (0x7e91)

lri $AR1,    #0x7c80
lri $IX1,    #0xd516
lri $WR1,    #0x4a60
cw 0xd
call send_back  ; 32402 (0x7e92)

lri $AR1,    #0xb1e2
lri $IX1,    #0x8338
lri $WR1,    #0x3870
cw 0xd
call send_back  ; 32403 (0x7e93)

lri $AR1,    #0x706b
lri $IX1,    #0xf292
lri $WR1,    #0x8638
cw 0xd
call send_back  ; 32404 (0x7e94)

lri $AR1,    #0x8715
lri $IX1,    #0xc906
lri $WR1,    #0x861c
cw 0xd
call send_back  ; 32405 (0x7e95)

lri $AR1,    #0x85c4
lri $IX1,    #0x1b00
lri $WR1,    #0x421d
cw 0xd
call send_back  ; 32406 (0x7e96)

lri $AR1,    #0x5ed7
lri $IX1,    #0x31ee
lri $WR1,    #0x38e4
cw 0xd
call send_back  ; 32407 (0x7e97)

lri $AR1,    #0x7864
lri $IX1,    #0xebd2
lri $WR1,    #0x3b8d
cw 0xd
call send_back  ; 32408 (0x7e98)

lri $AR1,    #0xd3ef
lri $IX1,    #0xb146
lri $WR1,    #0x9417
cw 0xd
call send_back  ; 32409 (0x7e99)

lri $AR1,    #0x52f3
lri $IX1,    #0xdac2
lri $WR1,    #0x8a22
cw 0xd
call send_back  ; 32410 (0x7e9a)

lri $AR1,    #0x9209
lri $IX1,    #0x6d66
lri $WR1,    #0x2d02
cw 0xd
call send_back  ; 32411 (0x7e9b)

lri $AR1,    #0xbbf3
lri $IX1,    #0x3b24
lri $WR1,    #0x5fb9
cw 0xd
call send_back  ; 32412 (0x7e9c)

lri $AR1,    #0x717a
lri $IX1,    #0x89a6
lri $WR1,    #0x5ce1
cw 0xd
call send_back  ; 32413 (0x7e9d)

lri $AR1,    #0x5242
lri $IX1,    #0x4ea0
lri $WR1,    #0xa620
cw 0xd
call send_back  ; 32414 (0x7e9e)

lri $AR1,    #0xb68d
lri $IX1,    #0xaff6
lri $WR1,    #0xf43b
cw 0xd
call send_back  ; 32415 (0x7e9f)

lri $AR1,    #0xa126
lri $IX1,    #0xa988
lri $WR1,    #0x223b
cw 0xd
call send_back  ; 32416 (0x7ea0)

lri $AR1,    #0xbc48
lri $IX1,    #0x61da
lri $WR1,    #0x17d7
cw 0xd
call send_back  ; 32417 (0x7ea1)

lri $AR1,    #0x33d8
lri $IX1,    #0xb294
lri $WR1,    #0xc4a6
cw 0xd
call send_back  ; 32418 (0x7ea2)

lri $AR1,    #0x52b5
lri $IX1,    #0x98f6
lri $WR1,    #0x2f19
cw 0xd
call send_back  ; 32419 (0x7ea3)

lri $AR1,    #0x5085
lri $IX1,    #0x8636
lri $WR1,    #0x4fe9
cw 0xd
call send_back  ; 32420 (0x7ea4)

lri $AR1,    #0x98a8
lri $IX1,    #0xbf12
lri $WR1,    #0xcbf0
cw 0xd
call send_back  ; 32421 (0x7ea5)

lri $AR1,    #0xe2d8
lri $IX1,    #0x0554
lri $WR1,    #0x7c15
cw 0xd
call send_back  ; 32422 (0x7ea6)

lri $AR1,    #0x990a
lri $IX1,    #0x85ac
lri $WR1,    #0x743d
cw 0xd
call send_back  ; 32423 (0x7ea7)

lri $AR1,    #0x9e0b
lri $IX1,    #0x579e
lri $WR1,    #0x3ff2
cw 0xd
call send_back  ; 32424 (0x7ea8)

lri $AR1,    #0x739d
lri $IX1,    #0xa4f2
lri $WR1,    #0xb4b8
cw 0xd
call send_back  ; 32425 (0x7ea9)

lri $AR1,    #0xde5f
lri $IX1,    #0xa94c
lri $WR1,    #0x67a8
cw 0xd
call send_back  ; 32426 (0x7eaa)

lri $AR1,    #0x594b
lri $IX1,    #0x0a5a
lri $WR1,    #0xe55f
cw 0xd
call send_back  ; 32427 (0x7eab)

lri $AR1,    #0x5231
lri $IX1,    #0x6c6a
lri $WR1,    #0xa0e0
cw 0xd
call send_back  ; 32428 (0x7eac)

lri $AR1,    #0xa3e4
lri $IX1,    #0x7e9c
lri $WR1,    #0x8756
cw 0xd
call send_back  ; 32429 (0x7ead)

lri $AR1,    #0x727b
lri $IX1,    #0xe5a0
lri $WR1,    #0x2473
cw 0xd
call send_back  ; 32430 (0x7eae)

lri $AR1,    #0xd16f
lri $IX1,    #0x4b3e
lri $WR1,    #0xa452
cw 0xd
call send_back  ; 32431 (0x7eaf)

lri $AR1,    #0x52e3
lri $IX1,    #0x4c7a
lri $WR1,    #0xa58f
cw 0xd
call send_back  ; 32432 (0x7eb0)

lri $AR1,    #0x2aef
lri $IX1,    #0xe7a2
lri $WR1,    #0x9785
cw 0xd
call send_back  ; 32433 (0x7eb1)

lri $AR1,    #0xd139
lri $IX1,    #0x472c
lri $WR1,    #0xae61
cw 0xd
call send_back  ; 32434 (0x7eb2)

lri $AR1,    #0x5ea8
lri $IX1,    #0x3588
lri $WR1,    #0x27ff
cw 0xd
call send_back  ; 32435 (0x7eb3)

lri $AR1,    #0xac89
lri $IX1,    #0x09e4
lri $WR1,    #0x9238
cw 0xd
call send_back  ; 32436 (0x7eb4)

lri $AR1,    #0x55ed
lri $IX1,    #0x5516
lri $WR1,    #0x5c9c
cw 0xd
call send_back  ; 32437 (0x7eb5)

lri $AR1,    #0x8b9b
lri $IX1,    #0xe184
lri $WR1,    #0x9d36
cw 0xd
call send_back  ; 32438 (0x7eb6)

lri $AR1,    #0x8e5f
lri $IX1,    #0x9862
lri $WR1,    #0x7167
cw 0xd
call send_back  ; 32439 (0x7eb7)

lri $AR1,    #0x7b01
lri $IX1,    #0x71fa
lri $WR1,    #0xa96b
cw 0xd
call send_back  ; 32440 (0x7eb8)

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