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

lri $AR1,    #0xa50a
lri $IX1,    #0x1774
lri $WR1,    #0x7c7a
cw 0xd
call send_back  ; 50354 (0xc4b2)

lri $AR1,    #0xb7a0
lri $IX1,    #0xd6a8
lri $WR1,    #0x7e10
cw 0xd
call send_back  ; 50355 (0xc4b3)

lri $AR1,    #0xad6c
lri $IX1,    #0x50d2
lri $WR1,    #0x4d5e
cw 0xd
call send_back  ; 50356 (0xc4b4)

lri $AR1,    #0x5492
lri $IX1,    #0x8258
lri $WR1,    #0x3745
cw 0xd
call send_back  ; 50357 (0xc4b5)

lri $AR1,    #0xc669
lri $IX1,    #0x02b2
lri $WR1,    #0x8aa0
cw 0xd
call send_back  ; 50358 (0xc4b6)

lri $AR1,    #0x85cb
lri $IX1,    #0x2d9e
lri $WR1,    #0xad20
cw 0xd
call send_back  ; 50359 (0xc4b7)

lri $AR1,    #0x4f11
lri $IX1,    #0xb77c
lri $WR1,    #0x5ad2
cw 0xd
call send_back  ; 50360 (0xc4b8)

lri $AR1,    #0x708b
lri $IX1,    #0xda0a
lri $WR1,    #0x2849
cw 0xd
call send_back  ; 50361 (0xc4b9)

lri $AR1,    #0x61c6
lri $IX1,    #0xa268
lri $WR1,    #0x4d26
cw 0xd
call send_back  ; 50362 (0xc4ba)

lri $AR1,    #0xc374
lri $IX1,    #0x78a8
lri $WR1,    #0x8de6
cw 0xd
call send_back  ; 50363 (0xc4bb)

lri $AR1,    #0x593e
lri $IX1,    #0x9cbc
lri $WR1,    #0xb195
cw 0xd
call send_back  ; 50364 (0xc4bc)

lri $AR1,    #0xca55
lri $IX1,    #0xec0e
lri $WR1,    #0xa988
cw 0xd
call send_back  ; 50365 (0xc4bd)

lri $AR1,    #0x6512
lri $IX1,    #0xae9c
lri $WR1,    #0x4e83
cw 0xd
call send_back  ; 50366 (0xc4be)

lri $AR1,    #0xa572
lri $IX1,    #0x49de
lri $WR1,    #0xb890
cw 0xd
call send_back  ; 50367 (0xc4bf)

lri $AR1,    #0xb5c1
lri $IX1,    #0x6b4e
lri $WR1,    #0x9be8
cw 0xd
call send_back  ; 50368 (0xc4c0)

lri $AR1,    #0x6c47
lri $IX1,    #0x63d8
lri $WR1,    #0x9f1c
cw 0xd
call send_back  ; 50369 (0xc4c1)

lri $AR1,    #0x483a
lri $IX1,    #0xe908
lri $WR1,    #0x2bff
cw 0xd
call send_back  ; 50370 (0xc4c2)

lri $AR1,    #0x83d6
lri $IX1,    #0x2054
lri $WR1,    #0xae68
cw 0xd
call send_back  ; 50371 (0xc4c3)

lri $AR1,    #0x58e1
lri $IX1,    #0x9c2e
lri $WR1,    #0x6962
cw 0xd
call send_back  ; 50372 (0xc4c4)

lri $AR1,    #0x706c
lri $IX1,    #0xaa58
lri $WR1,    #0x64be
cw 0xd
call send_back  ; 50373 (0xc4c5)

lri $AR1,    #0x861e
lri $IX1,    #0xde22
lri $WR1,    #0xd2be
cw 0xd
call send_back  ; 50374 (0xc4c6)

lri $AR1,    #0x6ae8
lri $IX1,    #0x0114
lri $WR1,    #0x8ed2
cw 0xd
call send_back  ; 50375 (0xc4c7)

lri $AR1,    #0xaa5c
lri $IX1,    #0x678a
lri $WR1,    #0x5bf2
cw 0xd
call send_back  ; 50376 (0xc4c8)

lri $AR1,    #0x8187
lri $IX1,    #0xeef2
lri $WR1,    #0x32b8
cw 0xd
call send_back  ; 50377 (0xc4c9)

lri $AR1,    #0x7598
lri $IX1,    #0x8618
lri $WR1,    #0x1cbc
cw 0xd
call send_back  ; 50378 (0xc4ca)

lri $AR1,    #0x8c28
lri $IX1,    #0xf01e
lri $WR1,    #0x2c43
cw 0xd
call send_back  ; 50379 (0xc4cb)

lri $AR1,    #0x4e67
lri $IX1,    #0x55cc
lri $WR1,    #0x74de
cw 0xd
call send_back  ; 50380 (0xc4cc)

lri $AR1,    #0xbc16
lri $IX1,    #0x1086
lri $WR1,    #0x62f2
cw 0xd
call send_back  ; 50381 (0xc4cd)

lri $AR1,    #0x827c
lri $IX1,    #0xc5ca
lri $WR1,    #0xcdcc
cw 0xd
call send_back  ; 50382 (0xc4ce)

lri $AR1,    #0x8f4d
lri $IX1,    #0x496e
lri $WR1,    #0x8150
cw 0xd
call send_back  ; 50383 (0xc4cf)

lri $AR1,    #0xceb2
lri $IX1,    #0xb092
lri $WR1,    #0xa1c8
cw 0xd
call send_back  ; 50384 (0xc4d0)

lri $AR1,    #0x6f4b
lri $IX1,    #0x666c
lri $WR1,    #0x95e7
cw 0xd
call send_back  ; 50385 (0xc4d1)

lri $AR1,    #0xc693
lri $IX1,    #0xcfd6
lri $WR1,    #0x7099
cw 0xd
call send_back  ; 50386 (0xc4d2)

lri $AR1,    #0xc34b
lri $IX1,    #0xf9f6
lri $WR1,    #0x85a1
cw 0xd
call send_back  ; 50387 (0xc4d3)

lri $AR1,    #0xa362
lri $IX1,    #0xd3b6
lri $WR1,    #0x49a5
cw 0xd
call send_back  ; 50388 (0xc4d4)

lri $AR1,    #0x3e15
lri $IX1,    #0x696e
lri $WR1,    #0xb7ae
cw 0xd
call send_back  ; 50389 (0xc4d5)

lri $AR1,    #0x829f
lri $IX1,    #0x6592
lri $WR1,    #0x93a5
cw 0xd
call send_back  ; 50390 (0xc4d6)

lri $AR1,    #0x2f47
lri $IX1,    #0x98a2
lri $WR1,    #0x62f6
cw 0xd
call send_back  ; 50391 (0xc4d7)

lri $AR1,    #0x9c16
lri $IX1,    #0x5e48
lri $WR1,    #0xb9c6
cw 0xd
call send_back  ; 50392 (0xc4d8)

lri $AR1,    #0xa017
lri $IX1,    #0x3cd6
lri $WR1,    #0x64f3
cw 0xd
call send_back  ; 50393 (0xc4d9)

lri $AR1,    #0x775c
lri $IX1,    #0xf808
lri $WR1,    #0xe64e
cw 0xd
call send_back  ; 50394 (0xc4da)

lri $AR1,    #0x83a1
lri $IX1,    #0x5f50
lri $WR1,    #0x8a28
cw 0xd
call send_back  ; 50395 (0xc4db)

lri $AR1,    #0x28e3
lri $IX1,    #0x4390
lri $WR1,    #0x72d0
cw 0xd
call send_back  ; 50396 (0xc4dc)

lri $AR1,    #0x42ad
lri $IX1,    #0x1760
lri $WR1,    #0x2ffc
cw 0xd
call send_back  ; 50397 (0xc4dd)

lri $AR1,    #0x9e7a
lri $IX1,    #0xa8fc
lri $WR1,    #0xb5c6
cw 0xd
call send_back  ; 50398 (0xc4de)

lri $AR1,    #0x6af4
lri $IX1,    #0x03e0
lri $WR1,    #0xa82b
cw 0xd
call send_back  ; 50399 (0xc4df)

lri $AR1,    #0x835a
lri $IX1,    #0xbc0c
lri $WR1,    #0x55c3
cw 0xd
call send_back  ; 50400 (0xc4e0)

lri $AR1,    #0xc9ed
lri $IX1,    #0x8c44
lri $WR1,    #0xc5a7
cw 0xd
call send_back  ; 50401 (0xc4e1)

lri $AR1,    #0xc3a6
lri $IX1,    #0x2bec
lri $WR1,    #0x4a18
cw 0xd
call send_back  ; 50402 (0xc4e2)

lri $AR1,    #0xbb0f
lri $IX1,    #0x711e
lri $WR1,    #0x7b06
cw 0xd
call send_back  ; 50403 (0xc4e3)

lri $AR1,    #0x377e
lri $IX1,    #0x167a
lri $WR1,    #0xb0f8
cw 0xd
call send_back  ; 50404 (0xc4e4)

lri $AR1,    #0x71a0
lri $IX1,    #0xb42e
lri $WR1,    #0x7267
cw 0xd
call send_back  ; 50405 (0xc4e5)

lri $AR1,    #0x7d80
lri $IX1,    #0x870c
lri $WR1,    #0xa326
cw 0xd
call send_back  ; 50406 (0xc4e6)

lri $AR1,    #0x85f9
lri $IX1,    #0x5fda
lri $WR1,    #0x86db
cw 0xd
call send_back  ; 50407 (0xc4e7)

lri $AR1,    #0x8ccf
lri $IX1,    #0x68c4
lri $WR1,    #0x2d1c
cw 0xd
call send_back  ; 50408 (0xc4e8)

lri $AR1,    #0x0e4c
lri $IX1,    #0x3646
lri $WR1,    #0x874b
cw 0xd
call send_back  ; 50409 (0xc4e9)

lri $AR1,    #0x86a2
lri $IX1,    #0xb448
lri $WR1,    #0x95af
cw 0xd
call send_back  ; 50410 (0xc4ea)

lri $AR1,    #0x8af3
lri $IX1,    #0xcfd2
lri $WR1,    #0x2ae3
cw 0xd
call send_back  ; 50411 (0xc4eb)

lri $AR1,    #0xcf44
lri $IX1,    #0x2116
lri $WR1,    #0x9a38
cw 0xd
call send_back  ; 50412 (0xc4ec)

lri $AR1,    #0x6e2e
lri $IX1,    #0x312a
lri $WR1,    #0x9ef8
cw 0xd
call send_back  ; 50413 (0xc4ed)

lri $AR1,    #0x76a0
lri $IX1,    #0x2244
lri $WR1,    #0x4841
cw 0xd
call send_back  ; 50414 (0xc4ee)

lri $AR1,    #0x8776
lri $IX1,    #0x60c2
lri $WR1,    #0x1670
cw 0xd
call send_back  ; 50415 (0xc4ef)

lri $AR1,    #0x7849
lri $IX1,    #0x76ce
lri $WR1,    #0x1ca9
cw 0xd
call send_back  ; 50416 (0xc4f0)

lri $AR1,    #0x1a3a
lri $IX1,    #0x03ee
lri $WR1,    #0xc2ab
cw 0xd
call send_back  ; 50417 (0xc4f1)

lri $AR1,    #0x5b03
lri $IX1,    #0x155c
lri $WR1,    #0x904c
cw 0xd
call send_back  ; 50418 (0xc4f2)

lri $AR1,    #0x6831
lri $IX1,    #0x8b5c
lri $WR1,    #0x1dea
cw 0xd
call send_back  ; 50419 (0xc4f3)

lri $AR1,    #0x37c6
lri $IX1,    #0xbb86
lri $WR1,    #0x3a2a
cw 0xd
call send_back  ; 50420 (0xc4f4)

lri $AR1,    #0x771c
lri $IX1,    #0xf724
lri $WR1,    #0x6f38
cw 0xd
call send_back  ; 50421 (0xc4f5)

lri $AR1,    #0x304e
lri $IX1,    #0xe8a4
lri $WR1,    #0x2f11
cw 0xd
call send_back  ; 50422 (0xc4f6)

lri $AR1,    #0xda0d
lri $IX1,    #0xba4c
lri $WR1,    #0x6fd3
cw 0xd
call send_back  ; 50423 (0xc4f7)

lri $AR1,    #0x5d19
lri $IX1,    #0x8c0e
lri $WR1,    #0xc6c7
cw 0xd
call send_back  ; 50424 (0xc4f8)

lri $AR1,    #0xc637
lri $IX1,    #0xc5d0
lri $WR1,    #0x7a10
cw 0xd
call send_back  ; 50425 (0xc4f9)

lri $AR1,    #0xbafa
lri $IX1,    #0x2eea
lri $WR1,    #0x6eac
cw 0xd
call send_back  ; 50426 (0xc4fa)

lri $AR1,    #0xbb2b
lri $IX1,    #0x4332
lri $WR1,    #0x29c4
cw 0xd
call send_back  ; 50427 (0xc4fb)

lri $AR1,    #0x2018
lri $IX1,    #0xe16e
lri $WR1,    #0xb1e7
cw 0xd
call send_back  ; 50428 (0xc4fc)

lri $AR1,    #0x86a9
lri $IX1,    #0x0672
lri $WR1,    #0x5633
cw 0xd
call send_back  ; 50429 (0xc4fd)

lri $AR1,    #0x407b
lri $IX1,    #0xb3b0
lri $WR1,    #0x1f0e
cw 0xd
call send_back  ; 50430 (0xc4fe)

lri $AR1,    #0x6be2
lri $IX1,    #0x3fa8
lri $WR1,    #0xcd70
cw 0xd
call send_back  ; 50431 (0xc4ff)

lri $AR1,    #0xca11
lri $IX1,    #0x01e6
lri $WR1,    #0xb34c
cw 0xd
call send_back  ; 50432 (0xc500)

lri $AR1,    #0x3645
lri $IX1,    #0x73fe
lri $WR1,    #0xb943
cw 0xd
call send_back  ; 50433 (0xc501)

lri $AR1,    #0xa03a
lri $IX1,    #0x5c34
lri $WR1,    #0x7306
cw 0xd
call send_back  ; 50434 (0xc502)

lri $AR1,    #0x7fc2
lri $IX1,    #0x4642
lri $WR1,    #0x959d
cw 0xd
call send_back  ; 50435 (0xc503)

lri $AR1,    #0x3ecb
lri $IX1,    #0x51ee
lri $WR1,    #0xd80b
cw 0xd
call send_back  ; 50436 (0xc504)

lri $AR1,    #0x7298
lri $IX1,    #0x16e4
lri $WR1,    #0xa073
cw 0xd
call send_back  ; 50437 (0xc505)

lri $AR1,    #0x4c99
lri $IX1,    #0xe86a
lri $WR1,    #0x3d35
cw 0xd
call send_back  ; 50438 (0xc506)

lri $AR1,    #0xce95
lri $IX1,    #0x0388
lri $WR1,    #0xab2e
cw 0xd
call send_back  ; 50439 (0xc507)

lri $AR1,    #0x6583
lri $IX1,    #0x0538
lri $WR1,    #0x6f95
cw 0xd
call send_back  ; 50440 (0xc508)

lri $AR1,    #0x79e6
lri $IX1,    #0x4e08
lri $WR1,    #0x3590
cw 0xd
call send_back  ; 50441 (0xc509)

lri $AR1,    #0x23f4
lri $IX1,    #0x93fc
lri $WR1,    #0x8d16
cw 0xd
call send_back  ; 50442 (0xc50a)

lri $AR1,    #0xe55a
lri $IX1,    #0xb2fe
lri $WR1,    #0x3a1c
cw 0xd
call send_back  ; 50443 (0xc50b)

lri $AR1,    #0x71f0
lri $IX1,    #0xafaa
lri $WR1,    #0x58af
cw 0xd
call send_back  ; 50444 (0xc50c)

lri $AR1,    #0x8c2b
lri $IX1,    #0xb7ca
lri $WR1,    #0x9400
cw 0xd
call send_back  ; 50445 (0xc50d)

lri $AR1,    #0xa99b
lri $IX1,    #0x9752
lri $WR1,    #0xabfd
cw 0xd
call send_back  ; 50446 (0xc50e)

lri $AR1,    #0x5749
lri $IX1,    #0x781e
lri $WR1,    #0x6679
cw 0xd
call send_back  ; 50447 (0xc50f)

lri $AR1,    #0x8d41
lri $IX1,    #0xb666
lri $WR1,    #0xae79
cw 0xd
call send_back  ; 50448 (0xc510)

lri $AR1,    #0xac1d
lri $IX1,    #0xfb02
lri $WR1,    #0x6dc0
cw 0xd
call send_back  ; 50449 (0xc511)

lri $AR1,    #0x9eda
lri $IX1,    #0x8884
lri $WR1,    #0x7a16
cw 0xd
call send_back  ; 50450 (0xc512)

lri $AR1,    #0x6ed3
lri $IX1,    #0x975a
lri $WR1,    #0x216d
cw 0xd
call send_back  ; 50451 (0xc513)

lri $AR1,    #0xdf1b
lri $IX1,    #0xa0c2
lri $WR1,    #0xd56b
cw 0xd
call send_back  ; 50452 (0xc514)

lri $AR1,    #0xc025
lri $IX1,    #0x6ffa
lri $WR1,    #0x9065
cw 0xd
call send_back  ; 50453 (0xc515)

lri $AR1,    #0xfbf3
lri $IX1,    #0x9c6c
lri $WR1,    #0xab62
cw 0xd
call send_back  ; 50454 (0xc516)

lri $AR1,    #0xbe9f
lri $IX1,    #0x8f1e
lri $WR1,    #0x5e3b
cw 0xd
call send_back  ; 50455 (0xc517)

lri $AR1,    #0x769c
lri $IX1,    #0x4950
lri $WR1,    #0xe855
cw 0xd
call send_back  ; 50456 (0xc518)

lri $AR1,    #0x936a
lri $IX1,    #0xa97c
lri $WR1,    #0x4a1d
cw 0xd
call send_back  ; 50457 (0xc519)

lri $AR1,    #0xc920
lri $IX1,    #0xc790
lri $WR1,    #0xe4be
cw 0xd
call send_back  ; 50458 (0xc51a)

lri $AR1,    #0x928f
lri $IX1,    #0x10ca
lri $WR1,    #0xa73a
cw 0xd
call send_back  ; 50459 (0xc51b)

lri $AR1,    #0x935d
lri $IX1,    #0xeed8
lri $WR1,    #0x855d
cw 0xd
call send_back  ; 50460 (0xc51c)

lri $AR1,    #0xb6c7
lri $IX1,    #0xddc4
lri $WR1,    #0xaead
cw 0xd
call send_back  ; 50461 (0xc51d)

lri $AR1,    #0xd792
lri $IX1,    #0xbf38
lri $WR1,    #0xb8de
cw 0xd
call send_back  ; 50462 (0xc51e)

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