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

lri $AR1,    #0xc0cc
lri $IX1,    #0x03e4
lri $WR1,    #0xb420
cw 0xd
call send_back  ; 38339 (0x95c3)

lri $AR1,    #0xcb09
lri $IX1,    #0x023c
lri $WR1,    #0x4f63
cw 0xd
call send_back  ; 38340 (0x95c4)

lri $AR1,    #0x992e
lri $IX1,    #0x4992
lri $WR1,    #0x90f7
cw 0xd
call send_back  ; 38341 (0x95c5)

lri $AR1,    #0x617b
lri $IX1,    #0x2c94
lri $WR1,    #0x5d14
cw 0xd
call send_back  ; 38342 (0x95c6)

lri $AR1,    #0x4fba
lri $IX1,    #0x965c
lri $WR1,    #0x9a63
cw 0xd
call send_back  ; 38343 (0x95c7)

lri $AR1,    #0x6092
lri $IX1,    #0xc524
lri $WR1,    #0xbe51
cw 0xd
call send_back  ; 38344 (0x95c8)

lri $AR1,    #0x9e6c
lri $IX1,    #0xbe6c
lri $WR1,    #0xb934
cw 0xd
call send_back  ; 38345 (0x95c9)

lri $AR1,    #0x8e0d
lri $IX1,    #0xdd5c
lri $WR1,    #0x3f98
cw 0xd
call send_back  ; 38346 (0x95ca)

lri $AR1,    #0xcce5
lri $IX1,    #0xabae
lri $WR1,    #0x7ffd
cw 0xd
call send_back  ; 38347 (0x95cb)

lri $AR1,    #0x8a3d
lri $IX1,    #0x1900
lri $WR1,    #0x296c
cw 0xd
call send_back  ; 38348 (0x95cc)

lri $AR1,    #0x802e
lri $IX1,    #0xfbd0
lri $WR1,    #0x20ff
cw 0xd
call send_back  ; 38349 (0x95cd)

lri $AR1,    #0x4098
lri $IX1,    #0x72f0
lri $WR1,    #0xc1fd
cw 0xd
call send_back  ; 38350 (0x95ce)

lri $AR1,    #0x6e06
lri $IX1,    #0x1dd4
lri $WR1,    #0x6583
cw 0xd
call send_back  ; 38351 (0x95cf)

lri $AR1,    #0x2fb8
lri $IX1,    #0x1572
lri $WR1,    #0x9453
cw 0xd
call send_back  ; 38352 (0x95d0)

lri $AR1,    #0x3ba8
lri $IX1,    #0xf714
lri $WR1,    #0x8ed5
cw 0xd
call send_back  ; 38353 (0x95d1)

lri $AR1,    #0x90e7
lri $IX1,    #0x0df2
lri $WR1,    #0x24ef
cw 0xd
call send_back  ; 38354 (0x95d2)

lri $AR1,    #0xd00f
lri $IX1,    #0x97c4
lri $WR1,    #0x889d
cw 0xd
call send_back  ; 38355 (0x95d3)

lri $AR1,    #0x6727
lri $IX1,    #0x2452
lri $WR1,    #0xbbfd
cw 0xd
call send_back  ; 38356 (0x95d4)

lri $AR1,    #0x61c5
lri $IX1,    #0x0706
lri $WR1,    #0xd4cd
cw 0xd
call send_back  ; 38357 (0x95d5)

lri $AR1,    #0x7dba
lri $IX1,    #0x9db0
lri $WR1,    #0x6cf2
cw 0xd
call send_back  ; 38358 (0x95d6)

lri $AR1,    #0x8826
lri $IX1,    #0xae68
lri $WR1,    #0x990c
cw 0xd
call send_back  ; 38359 (0x95d7)

lri $AR1,    #0x5e2b
lri $IX1,    #0x32ae
lri $WR1,    #0x83bb
cw 0xd
call send_back  ; 38360 (0x95d8)

lri $AR1,    #0x982b
lri $IX1,    #0x6cee
lri $WR1,    #0x3595
cw 0xd
call send_back  ; 38361 (0x95d9)

lri $AR1,    #0x45cf
lri $IX1,    #0x013a
lri $WR1,    #0x7f60
cw 0xd
call send_back  ; 38362 (0x95da)

lri $AR1,    #0x94ad
lri $IX1,    #0xd99e
lri $WR1,    #0x4da8
cw 0xd
call send_back  ; 38363 (0x95db)

lri $AR1,    #0xa2d8
lri $IX1,    #0xc1d2
lri $WR1,    #0xc232
cw 0xd
call send_back  ; 38364 (0x95dc)

lri $AR1,    #0x7a35
lri $IX1,    #0xbd88
lri $WR1,    #0x296f
cw 0xd
call send_back  ; 38365 (0x95dd)

lri $AR1,    #0xa0d5
lri $IX1,    #0x0852
lri $WR1,    #0x9f6e
cw 0xd
call send_back  ; 38366 (0x95de)

lri $AR1,    #0x2e3a
lri $IX1,    #0x4d44
lri $WR1,    #0x5965
cw 0xd
call send_back  ; 38367 (0x95df)

lri $AR1,    #0x4cbd
lri $IX1,    #0xd83a
lri $WR1,    #0x6e64
cw 0xd
call send_back  ; 38368 (0x95e0)

lri $AR1,    #0x59f6
lri $IX1,    #0x2a0a
lri $WR1,    #0x833b
cw 0xd
call send_back  ; 38369 (0x95e1)

lri $AR1,    #0x5877
lri $IX1,    #0x5476
lri $WR1,    #0xcb24
cw 0xd
call send_back  ; 38370 (0x95e2)

lri $AR1,    #0x78a1
lri $IX1,    #0xb22c
lri $WR1,    #0x4049
cw 0xd
call send_back  ; 38371 (0x95e3)

lri $AR1,    #0x85e2
lri $IX1,    #0xd2a2
lri $WR1,    #0xaca5
cw 0xd
call send_back  ; 38372 (0x95e4)

lri $AR1,    #0x613e
lri $IX1,    #0xa924
lri $WR1,    #0x756d
cw 0xd
call send_back  ; 38373 (0x95e5)

lri $AR1,    #0xc159
lri $IX1,    #0x19d8
lri $WR1,    #0x7869
cw 0xd
call send_back  ; 38374 (0x95e6)

lri $AR1,    #0x93e7
lri $IX1,    #0xbf1e
lri $WR1,    #0x8c77
cw 0xd
call send_back  ; 38375 (0x95e7)

lri $AR1,    #0x73c3
lri $IX1,    #0x14f8
lri $WR1,    #0xbba7
cw 0xd
call send_back  ; 38376 (0x95e8)

lri $AR1,    #0x928e
lri $IX1,    #0xfffc
lri $WR1,    #0x7713
cw 0xd
call send_back  ; 38377 (0x95e9)

lri $AR1,    #0x9414
lri $IX1,    #0xc068
lri $WR1,    #0xb1f6
cw 0xd
call send_back  ; 38378 (0x95ea)

lri $AR1,    #0x8d4c
lri $IX1,    #0xb1de
lri $WR1,    #0x6329
cw 0xd
call send_back  ; 38379 (0x95eb)

lri $AR1,    #0x8056
lri $IX1,    #0x9b66
lri $WR1,    #0xc171
cw 0xd
call send_back  ; 38380 (0x95ec)

lri $AR1,    #0x2a24
lri $IX1,    #0xab2e
lri $WR1,    #0x88d0
cw 0xd
call send_back  ; 38381 (0x95ed)

lri $AR1,    #0xa638
lri $IX1,    #0x64c8
lri $WR1,    #0x9460
cw 0xd
call send_back  ; 38382 (0x95ee)

lri $AR1,    #0xb04b
lri $IX1,    #0xa826
lri $WR1,    #0x79af
cw 0xd
call send_back  ; 38383 (0x95ef)

lri $AR1,    #0x830b
lri $IX1,    #0x6b4a
lri $WR1,    #0x7860
cw 0xd
call send_back  ; 38384 (0x95f0)

lri $AR1,    #0x5ef2
lri $IX1,    #0xa7d4
lri $WR1,    #0x59e5
cw 0xd
call send_back  ; 38385 (0x95f1)

lri $AR1,    #0x8353
lri $IX1,    #0x3952
lri $WR1,    #0xab10
cw 0xd
call send_back  ; 38386 (0x95f2)

lri $AR1,    #0x3791
lri $IX1,    #0xd8a8
lri $WR1,    #0x6a73
cw 0xd
call send_back  ; 38387 (0x95f3)

lri $AR1,    #0xc9c8
lri $IX1,    #0xe43e
lri $WR1,    #0xbc2e
cw 0xd
call send_back  ; 38388 (0x95f4)

lri $AR1,    #0x83a8
lri $IX1,    #0x1c78
lri $WR1,    #0x4d25
cw 0xd
call send_back  ; 38389 (0x95f5)

lri $AR1,    #0x65e5
lri $IX1,    #0xc71e
lri $WR1,    #0xad4a
cw 0xd
call send_back  ; 38390 (0x95f6)

lri $AR1,    #0xde09
lri $IX1,    #0xac0e
lri $WR1,    #0x69f6
cw 0xd
call send_back  ; 38391 (0x95f7)

lri $AR1,    #0x81eb
lri $IX1,    #0xf110
lri $WR1,    #0x76e8
cw 0xd
call send_back  ; 38392 (0x95f8)

lri $AR1,    #0x87a6
lri $IX1,    #0xe224
lri $WR1,    #0x5dfc
cw 0xd
call send_back  ; 38393 (0x95f9)

lri $AR1,    #0x1069
lri $IX1,    #0x0ef8
lri $WR1,    #0x9b2a
cw 0xd
call send_back  ; 38394 (0x95fa)

lri $AR1,    #0x4fd2
lri $IX1,    #0xb5fa
lri $WR1,    #0xdbd0
cw 0xd
call send_back  ; 38395 (0x95fb)

lri $AR1,    #0x8149
lri $IX1,    #0x18cc
lri $WR1,    #0xedf6
cw 0xd
call send_back  ; 38396 (0x95fc)

lri $AR1,    #0xd80b
lri $IX1,    #0xed56
lri $WR1,    #0x6572
cw 0xd
call send_back  ; 38397 (0x95fd)

lri $AR1,    #0x8651
lri $IX1,    #0x8a62
lri $WR1,    #0xbaa3
cw 0xd
call send_back  ; 38398 (0x95fe)

lri $AR1,    #0x7b45
lri $IX1,    #0x8e08
lri $WR1,    #0x47b5
cw 0xd
call send_back  ; 38399 (0x95ff)

lri $AR1,    #0x6f31
lri $IX1,    #0x6fb0
lri $WR1,    #0x6f18
cw 0xd
call send_back  ; 38400 (0x9600)

lri $AR1,    #0xa0ac
lri $IX1,    #0x9700
lri $WR1,    #0xbf23
cw 0xd
call send_back  ; 38401 (0x9601)

lri $AR1,    #0xa508
lri $IX1,    #0x0c98
lri $WR1,    #0xf47f
cw 0xd
call send_back  ; 38402 (0x9602)

lri $AR1,    #0x41f1
lri $IX1,    #0x88ca
lri $WR1,    #0x2e6b
cw 0xd
call send_back  ; 38403 (0x9603)

lri $AR1,    #0x4d6a
lri $IX1,    #0x6834
lri $WR1,    #0x5d65
cw 0xd
call send_back  ; 38404 (0x9604)

lri $AR1,    #0x6d12
lri $IX1,    #0xc596
lri $WR1,    #0x4e44
cw 0xd
call send_back  ; 38405 (0x9605)

lri $AR1,    #0x9cef
lri $IX1,    #0x8392
lri $WR1,    #0x9164
cw 0xd
call send_back  ; 38406 (0x9606)

lri $AR1,    #0x899f
lri $IX1,    #0x50c8
lri $WR1,    #0x3ed7
cw 0xd
call send_back  ; 38407 (0x9607)

lri $AR1,    #0x6132
lri $IX1,    #0x8408
lri $WR1,    #0x9e4b
cw 0xd
call send_back  ; 38408 (0x9608)

lri $AR1,    #0xa983
lri $IX1,    #0xf5fa
lri $WR1,    #0x62a3
cw 0xd
call send_back  ; 38409 (0x9609)

lri $AR1,    #0x4a61
lri $IX1,    #0x98f8
lri $WR1,    #0xd6ca
cw 0xd
call send_back  ; 38410 (0x960a)

lri $AR1,    #0xad4f
lri $IX1,    #0x5f86
lri $WR1,    #0x6aee
cw 0xd
call send_back  ; 38411 (0x960b)

lri $AR1,    #0x7c3f
lri $IX1,    #0xe516
lri $WR1,    #0x6693
cw 0xd
call send_back  ; 38412 (0x960c)

lri $AR1,    #0x83fd
lri $IX1,    #0x248c
lri $WR1,    #0x7da5
cw 0xd
call send_back  ; 38413 (0x960d)

lri $AR1,    #0x6eb0
lri $IX1,    #0x3332
lri $WR1,    #0x8407
cw 0xd
call send_back  ; 38414 (0x960e)

lri $AR1,    #0xce3a
lri $IX1,    #0x567e
lri $WR1,    #0xdcc5
cw 0xd
call send_back  ; 38415 (0x960f)

lri $AR1,    #0x25bf
lri $IX1,    #0xbe7c
lri $WR1,    #0x675b
cw 0xd
call send_back  ; 38416 (0x9610)

lri $AR1,    #0xad31
lri $IX1,    #0x9622
lri $WR1,    #0x7746
cw 0xd
call send_back  ; 38417 (0x9611)

lri $AR1,    #0x4926
lri $IX1,    #0xd658
lri $WR1,    #0xaf45
cw 0xd
call send_back  ; 38418 (0x9612)

lri $AR1,    #0x84d0
lri $IX1,    #0x3822
lri $WR1,    #0x4b83
cw 0xd
call send_back  ; 38419 (0x9613)

lri $AR1,    #0xa359
lri $IX1,    #0xa594
lri $WR1,    #0x5b1b
cw 0xd
call send_back  ; 38420 (0x9614)

lri $AR1,    #0x798d
lri $IX1,    #0x810a
lri $WR1,    #0x831d
cw 0xd
call send_back  ; 38421 (0x9615)

lri $AR1,    #0x9007
lri $IX1,    #0xe542
lri $WR1,    #0x8287
cw 0xd
call send_back  ; 38422 (0x9616)

lri $AR1,    #0x71b7
lri $IX1,    #0x80dc
lri $WR1,    #0xb069
cw 0xd
call send_back  ; 38423 (0x9617)

lri $AR1,    #0x622a
lri $IX1,    #0xc2ee
lri $WR1,    #0x72a2
cw 0xd
call send_back  ; 38424 (0x9618)

lri $AR1,    #0x6236
lri $IX1,    #0x960c
lri $WR1,    #0x9556
cw 0xd
call send_back  ; 38425 (0x9619)

lri $AR1,    #0xc98a
lri $IX1,    #0xc27a
lri $WR1,    #0x58a8
cw 0xd
call send_back  ; 38426 (0x961a)

lri $AR1,    #0xaed3
lri $IX1,    #0x200e
lri $WR1,    #0x5bd2
cw 0xd
call send_back  ; 38427 (0x961b)

lri $AR1,    #0x3fc9
lri $IX1,    #0xe352
lri $WR1,    #0xa218
cw 0xd
call send_back  ; 38428 (0x961c)

lri $AR1,    #0x6607
lri $IX1,    #0x6962
lri $WR1,    #0xa7b7
cw 0xd
call send_back  ; 38429 (0x961d)

lri $AR1,    #0x84e5
lri $IX1,    #0xd146
lri $WR1,    #0xba5d
cw 0xd
call send_back  ; 38430 (0x961e)

lri $AR1,    #0x203a
lri $IX1,    #0x5114
lri $WR1,    #0x6a2f
cw 0xd
call send_back  ; 38431 (0x961f)

lri $AR1,    #0xb344
lri $IX1,    #0x68c0
lri $WR1,    #0x4dfa
cw 0xd
call send_back  ; 38432 (0x9620)

lri $AR1,    #0xca94
lri $IX1,    #0xbbc8
lri $WR1,    #0x5e9d
cw 0xd
call send_back  ; 38433 (0x9621)

lri $AR1,    #0x733f
lri $IX1,    #0x56a0
lri $WR1,    #0x3b2f
cw 0xd
call send_back  ; 38434 (0x9622)

lri $AR1,    #0xa53d
lri $IX1,    #0x5440
lri $WR1,    #0x9908
cw 0xd
call send_back  ; 38435 (0x9623)

lri $AR1,    #0x5623
lri $IX1,    #0x1b72
lri $WR1,    #0x5821
cw 0xd
call send_back  ; 38436 (0x9624)

lri $AR1,    #0xbd2a
lri $IX1,    #0xa366
lri $WR1,    #0x8dfd
cw 0xd
call send_back  ; 38437 (0x9625)

lri $AR1,    #0xe0bc
lri $IX1,    #0x3a3e
lri $WR1,    #0xb683
cw 0xd
call send_back  ; 38438 (0x9626)

lri $AR1,    #0xa963
lri $IX1,    #0x07da
lri $WR1,    #0x7bff
cw 0xd
call send_back  ; 38439 (0x9627)

lri $AR1,    #0xcd61
lri $IX1,    #0xdad4
lri $WR1,    #0x8cbd
cw 0xd
call send_back  ; 38440 (0x9628)

lri $AR1,    #0x53cc
lri $IX1,    #0x94e8
lri $WR1,    #0x9e65
cw 0xd
call send_back  ; 38441 (0x9629)

lri $AR1,    #0x8d76
lri $IX1,    #0xa78c
lri $WR1,    #0x6c94
cw 0xd
call send_back  ; 38442 (0x962a)

lri $AR1,    #0x956e
lri $IX1,    #0x6126
lri $WR1,    #0x91cd
cw 0xd
call send_back  ; 38443 (0x962b)

lri $AR1,    #0x9277
lri $IX1,    #0x2e92
lri $WR1,    #0x6f54
cw 0xd
call send_back  ; 38444 (0x962c)

lri $AR1,    #0x6e39
lri $IX1,    #0x4c6a
lri $WR1,    #0xd1fa
cw 0xd
call send_back  ; 38445 (0x962d)

lri $AR1,    #0x667f
lri $IX1,    #0x8eae
lri $WR1,    #0x7f74
cw 0xd
call send_back  ; 38446 (0x962e)

lri $AR1,    #0x2054
lri $IX1,    #0xc55c
lri $WR1,    #0x3943
cw 0xd
call send_back  ; 38447 (0x962f)

lri $AR1,    #0x9c52
lri $IX1,    #0xb78c
lri $WR1,    #0x67c4
cw 0xd
call send_back  ; 38448 (0x9630)

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