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

lri $AR1,    #0x6675
lri $IX1,    #0x0966
lri $WR1,    #0x3187
cw 0xd
call send_back  ; 37247 (0x917f)

lri $AR1,    #0xc075
lri $IX1,    #0x1ad6
lri $WR1,    #0xd0b0
cw 0xd
call send_back  ; 37248 (0x9180)

lri $AR1,    #0x8301
lri $IX1,    #0xe7ec
lri $WR1,    #0x798c
cw 0xd
call send_back  ; 37249 (0x9181)

lri $AR1,    #0xae02
lri $IX1,    #0xc07a
lri $WR1,    #0x9b2b
cw 0xd
call send_back  ; 37250 (0x9182)

lri $AR1,    #0x6699
lri $IX1,    #0x7fe2
lri $WR1,    #0x3390
cw 0xd
call send_back  ; 37251 (0x9183)

lri $AR1,    #0x341b
lri $IX1,    #0xc6ba
lri $WR1,    #0x6f5b
cw 0xd
call send_back  ; 37252 (0x9184)

lri $AR1,    #0x145b
lri $IX1,    #0x9198
lri $WR1,    #0x3dea
cw 0xd
call send_back  ; 37253 (0x9185)

lri $AR1,    #0x0f74
lri $IX1,    #0x37ce
lri $WR1,    #0x597a
cw 0xd
call send_back  ; 37254 (0x9186)

lri $AR1,    #0x16f8
lri $IX1,    #0x1c92
lri $WR1,    #0x8464
cw 0xd
call send_back  ; 37255 (0x9187)

lri $AR1,    #0x93ca
lri $IX1,    #0x3028
lri $WR1,    #0xc1f9
cw 0xd
call send_back  ; 37256 (0x9188)

lri $AR1,    #0x7179
lri $IX1,    #0xa68a
lri $WR1,    #0x7b1e
cw 0xd
call send_back  ; 37257 (0x9189)

lri $AR1,    #0x9568
lri $IX1,    #0xe448
lri $WR1,    #0xac24
cw 0xd
call send_back  ; 37258 (0x918a)

lri $AR1,    #0x6390
lri $IX1,    #0x71fa
lri $WR1,    #0x4afd
cw 0xd
call send_back  ; 37259 (0x918b)

lri $AR1,    #0x9a35
lri $IX1,    #0xaa06
lri $WR1,    #0x6a50
cw 0xd
call send_back  ; 37260 (0x918c)

lri $AR1,    #0xc957
lri $IX1,    #0xac22
lri $WR1,    #0x978c
cw 0xd
call send_back  ; 37261 (0x918d)

lri $AR1,    #0x5a32
lri $IX1,    #0xcd4e
lri $WR1,    #0x6f7c
cw 0xd
call send_back  ; 37262 (0x918e)

lri $AR1,    #0xde9b
lri $IX1,    #0x1a94
lri $WR1,    #0x466d
cw 0xd
call send_back  ; 37263 (0x918f)

lri $AR1,    #0x978b
lri $IX1,    #0x7874
lri $WR1,    #0x667f
cw 0xd
call send_back  ; 37264 (0x9190)

lri $AR1,    #0x2da7
lri $IX1,    #0x5036
lri $WR1,    #0xb034
cw 0xd
call send_back  ; 37265 (0x9191)

lri $AR1,    #0x561a
lri $IX1,    #0x77fa
lri $WR1,    #0x36ad
cw 0xd
call send_back  ; 37266 (0x9192)

lri $AR1,    #0x7189
lri $IX1,    #0xf1d2
lri $WR1,    #0xa2dc
cw 0xd
call send_back  ; 37267 (0x9193)

lri $AR1,    #0x7a73
lri $IX1,    #0x21ce
lri $WR1,    #0x9dff
cw 0xd
call send_back  ; 37268 (0x9194)

lri $AR1,    #0x33d8
lri $IX1,    #0x1216
lri $WR1,    #0x9da7
cw 0xd
call send_back  ; 37269 (0x9195)

lri $AR1,    #0x5865
lri $IX1,    #0x281e
lri $WR1,    #0x08bb
cw 0xd
call send_back  ; 37270 (0x9196)

lri $AR1,    #0x6e02
lri $IX1,    #0x2d1e
lri $WR1,    #0xae8b
cw 0xd
call send_back  ; 37271 (0x9197)

lri $AR1,    #0x390a
lri $IX1,    #0x9fa0
lri $WR1,    #0xce9d
cw 0xd
call send_back  ; 37272 (0x9198)

lri $AR1,    #0x760d
lri $IX1,    #0xcb84
lri $WR1,    #0x5916
cw 0xd
call send_back  ; 37273 (0x9199)

lri $AR1,    #0x604b
lri $IX1,    #0x014c
lri $WR1,    #0x7d7f
cw 0xd
call send_back  ; 37274 (0x919a)

lri $AR1,    #0x7ee5
lri $IX1,    #0x54dc
lri $WR1,    #0x6ed6
cw 0xd
call send_back  ; 37275 (0x919b)

lri $AR1,    #0x99e8
lri $IX1,    #0x6fb4
lri $WR1,    #0xd982
cw 0xd
call send_back  ; 37276 (0x919c)

lri $AR1,    #0x7421
lri $IX1,    #0x19c2
lri $WR1,    #0xc144
cw 0xd
call send_back  ; 37277 (0x919d)

lri $AR1,    #0xd5ff
lri $IX1,    #0x07c4
lri $WR1,    #0x3ab0
cw 0xd
call send_back  ; 37278 (0x919e)

lri $AR1,    #0x794c
lri $IX1,    #0x1d64
lri $WR1,    #0x952c
cw 0xd
call send_back  ; 37279 (0x919f)

lri $AR1,    #0x5d1a
lri $IX1,    #0x850a
lri $WR1,    #0x702b
cw 0xd
call send_back  ; 37280 (0x91a0)

lri $AR1,    #0xd4aa
lri $IX1,    #0xa684
lri $WR1,    #0x3f90
cw 0xd
call send_back  ; 37281 (0x91a1)

lri $AR1,    #0xa3ac
lri $IX1,    #0x0182
lri $WR1,    #0xd0d5
cw 0xd
call send_back  ; 37282 (0x91a2)

lri $AR1,    #0x8d86
lri $IX1,    #0x2008
lri $WR1,    #0x5415
cw 0xd
call send_back  ; 37283 (0x91a3)

lri $AR1,    #0xc526
lri $IX1,    #0x18da
lri $WR1,    #0xa172
cw 0xd
call send_back  ; 37284 (0x91a4)

lri $AR1,    #0x85f5
lri $IX1,    #0x50fa
lri $WR1,    #0xcced
cw 0xd
call send_back  ; 37285 (0x91a5)

lri $AR1,    #0xae73
lri $IX1,    #0x373c
lri $WR1,    #0x7855
cw 0xd
call send_back  ; 37286 (0x91a6)

lri $AR1,    #0x581e
lri $IX1,    #0x7416
lri $WR1,    #0x9436
cw 0xd
call send_back  ; 37287 (0x91a7)

lri $AR1,    #0x800b
lri $IX1,    #0x5b96
lri $WR1,    #0x4685
cw 0xd
call send_back  ; 37288 (0x91a8)

lri $AR1,    #0xbf04
lri $IX1,    #0x36ca
lri $WR1,    #0xd6eb
cw 0xd
call send_back  ; 37289 (0x91a9)

lri $AR1,    #0xaf6f
lri $IX1,    #0x155e
lri $WR1,    #0x2e68
cw 0xd
call send_back  ; 37290 (0x91aa)

lri $AR1,    #0x52d1
lri $IX1,    #0x27cc
lri $WR1,    #0x8945
cw 0xd
call send_back  ; 37291 (0x91ab)

lri $AR1,    #0x703e
lri $IX1,    #0x05e4
lri $WR1,    #0xcfea
cw 0xd
call send_back  ; 37292 (0x91ac)

lri $AR1,    #0x6095
lri $IX1,    #0x9d12
lri $WR1,    #0x84ac
cw 0xd
call send_back  ; 37293 (0x91ad)

lri $AR1,    #0x6cb3
lri $IX1,    #0xad0e
lri $WR1,    #0xb223
cw 0xd
call send_back  ; 37294 (0x91ae)

lri $AR1,    #0xa598
lri $IX1,    #0x9966
lri $WR1,    #0xa715
cw 0xd
call send_back  ; 37295 (0x91af)

lri $AR1,    #0x55b0
lri $IX1,    #0xc9a6
lri $WR1,    #0x7282
cw 0xd
call send_back  ; 37296 (0x91b0)

lri $AR1,    #0xb61b
lri $IX1,    #0xb966
lri $WR1,    #0x5bf0
cw 0xd
call send_back  ; 37297 (0x91b1)

lri $AR1,    #0x5247
lri $IX1,    #0x1524
lri $WR1,    #0x6172
cw 0xd
call send_back  ; 37298 (0x91b2)

lri $AR1,    #0x57a4
lri $IX1,    #0xb016
lri $WR1,    #0x768f
cw 0xd
call send_back  ; 37299 (0x91b3)

lri $AR1,    #0x56c4
lri $IX1,    #0xa2f2
lri $WR1,    #0xb485
cw 0xd
call send_back  ; 37300 (0x91b4)

lri $AR1,    #0x16c3
lri $IX1,    #0x5ad8
lri $WR1,    #0xc60b
cw 0xd
call send_back  ; 37301 (0x91b5)

lri $AR1,    #0x6b30
lri $IX1,    #0xab36
lri $WR1,    #0x7617
cw 0xd
call send_back  ; 37302 (0x91b6)

lri $AR1,    #0x605d
lri $IX1,    #0xf506
lri $WR1,    #0xcab2
cw 0xd
call send_back  ; 37303 (0x91b7)

lri $AR1,    #0x695a
lri $IX1,    #0x091a
lri $WR1,    #0x5a7f
cw 0xd
call send_back  ; 37304 (0x91b8)

lri $AR1,    #0x6671
lri $IX1,    #0x72ec
lri $WR1,    #0x74eb
cw 0xd
call send_back  ; 37305 (0x91b9)

lri $AR1,    #0xba66
lri $IX1,    #0x3494
lri $WR1,    #0xa2ae
cw 0xd
call send_back  ; 37306 (0x91ba)

lri $AR1,    #0x1863
lri $IX1,    #0x8c5a
lri $WR1,    #0x559b
cw 0xd
call send_back  ; 37307 (0x91bb)

lri $AR1,    #0x9bca
lri $IX1,    #0xffa8
lri $WR1,    #0xb45a
cw 0xd
call send_back  ; 37308 (0x91bc)

lri $AR1,    #0x76c1
lri $IX1,    #0x7ea2
lri $WR1,    #0xa814
cw 0xd
call send_back  ; 37309 (0x91bd)

lri $AR1,    #0x73dc
lri $IX1,    #0xdf3c
lri $WR1,    #0x8fa9
cw 0xd
call send_back  ; 37310 (0x91be)

lri $AR1,    #0x8a8f
lri $IX1,    #0x0e28
lri $WR1,    #0x9d79
cw 0xd
call send_back  ; 37311 (0x91bf)

lri $AR1,    #0x3dde
lri $IX1,    #0x0758
lri $WR1,    #0x4a55
cw 0xd
call send_back  ; 37312 (0x91c0)

lri $AR1,    #0xc808
lri $IX1,    #0xcf6c
lri $WR1,    #0x51a4
cw 0xd
call send_back  ; 37313 (0x91c1)

lri $AR1,    #0x957d
lri $IX1,    #0x22ee
lri $WR1,    #0xb855
cw 0xd
call send_back  ; 37314 (0x91c2)

lri $AR1,    #0xa4f0
lri $IX1,    #0x3f88
lri $WR1,    #0xd195
cw 0xd
call send_back  ; 37315 (0x91c3)

lri $AR1,    #0x69e0
lri $IX1,    #0xef26
lri $WR1,    #0x6a06
cw 0xd
call send_back  ; 37316 (0x91c4)

lri $AR1,    #0xaa52
lri $IX1,    #0xb43e
lri $WR1,    #0x9b52
cw 0xd
call send_back  ; 37317 (0x91c5)

lri $AR1,    #0x602a
lri $IX1,    #0x821e
lri $WR1,    #0xa7d3
cw 0xd
call send_back  ; 37318 (0x91c6)

lri $AR1,    #0xc9cf
lri $IX1,    #0xab80
lri $WR1,    #0x7f52
cw 0xd
call send_back  ; 37319 (0x91c7)

lri $AR1,    #0x6d8b
lri $IX1,    #0x8540
lri $WR1,    #0x935d
cw 0xd
call send_back  ; 37320 (0x91c8)

lri $AR1,    #0xbe63
lri $IX1,    #0x827a
lri $WR1,    #0xcb68
cw 0xd
call send_back  ; 37321 (0x91c9)

lri $AR1,    #0xb0be
lri $IX1,    #0x2af8
lri $WR1,    #0x9621
cw 0xd
call send_back  ; 37322 (0x91ca)

lri $AR1,    #0x40ad
lri $IX1,    #0x1c14
lri $WR1,    #0xa728
cw 0xd
call send_back  ; 37323 (0x91cb)

lri $AR1,    #0x9318
lri $IX1,    #0x280e
lri $WR1,    #0xc5a2
cw 0xd
call send_back  ; 37324 (0x91cc)

lri $AR1,    #0x56b7
lri $IX1,    #0x7f00
lri $WR1,    #0x89cd
cw 0xd
call send_back  ; 37325 (0x91cd)

lri $AR1,    #0x390b
lri $IX1,    #0x7860
lri $WR1,    #0x6511
cw 0xd
call send_back  ; 37326 (0x91ce)

lri $AR1,    #0x8740
lri $IX1,    #0xf33e
lri $WR1,    #0x31a7
cw 0xd
call send_back  ; 37327 (0x91cf)

lri $AR1,    #0x4a34
lri $IX1,    #0x3732
lri $WR1,    #0xac73
cw 0xd
call send_back  ; 37328 (0x91d0)

lri $AR1,    #0xb883
lri $IX1,    #0xa726
lri $WR1,    #0x84ff
cw 0xd
call send_back  ; 37329 (0x91d1)

lri $AR1,    #0x98dc
lri $IX1,    #0x52f2
lri $WR1,    #0x7d4d
cw 0xd
call send_back  ; 37330 (0x91d2)

lri $AR1,    #0x827b
lri $IX1,    #0x63f0
lri $WR1,    #0x447b
cw 0xd
call send_back  ; 37331 (0x91d3)

lri $AR1,    #0x3106
lri $IX1,    #0x6484
lri $WR1,    #0xacc8
cw 0xd
call send_back  ; 37332 (0x91d4)

lri $AR1,    #0x3cb2
lri $IX1,    #0x59ba
lri $WR1,    #0x7710
cw 0xd
call send_back  ; 37333 (0x91d5)

lri $AR1,    #0x56f3
lri $IX1,    #0x7202
lri $WR1,    #0x8b59
cw 0xd
call send_back  ; 37334 (0x91d6)

lri $AR1,    #0x8f84
lri $IX1,    #0x8b14
lri $WR1,    #0x7764
cw 0xd
call send_back  ; 37335 (0x91d7)

lri $AR1,    #0x7d2b
lri $IX1,    #0xe512
lri $WR1,    #0xd1ef
cw 0xd
call send_back  ; 37336 (0x91d8)

lri $AR1,    #0x50e9
lri $IX1,    #0xe004
lri $WR1,    #0x8ab1
cw 0xd
call send_back  ; 37337 (0x91d9)

lri $AR1,    #0x3a08
lri $IX1,    #0x7c9e
lri $WR1,    #0x9c91
cw 0xd
call send_back  ; 37338 (0x91da)

lri $AR1,    #0xf4bd
lri $IX1,    #0x688e
lri $WR1,    #0x693a
cw 0xd
call send_back  ; 37339 (0x91db)

lri $AR1,    #0x44bb
lri $IX1,    #0x8228
lri $WR1,    #0x9a90
cw 0xd
call send_back  ; 37340 (0x91dc)

lri $AR1,    #0xd885
lri $IX1,    #0xd6c0
lri $WR1,    #0x2026
cw 0xd
call send_back  ; 37341 (0x91dd)

lri $AR1,    #0x81d0
lri $IX1,    #0x0a88
lri $WR1,    #0x9c29
cw 0xd
call send_back  ; 37342 (0x91de)

lri $AR1,    #0xb2bd
lri $IX1,    #0xb836
lri $WR1,    #0x34f0
cw 0xd
call send_back  ; 37343 (0x91df)

lri $AR1,    #0xa742
lri $IX1,    #0x8a42
lri $WR1,    #0xa5ac
cw 0xd
call send_back  ; 37344 (0x91e0)

lri $AR1,    #0x6d9a
lri $IX1,    #0x7724
lri $WR1,    #0x724c
cw 0xd
call send_back  ; 37345 (0x91e1)

lri $AR1,    #0x7ff6
lri $IX1,    #0x853e
lri $WR1,    #0xb02a
cw 0xd
call send_back  ; 37346 (0x91e2)

lri $AR1,    #0xb555
lri $IX1,    #0xaade
lri $WR1,    #0x468e
cw 0xd
call send_back  ; 37347 (0x91e3)

lri $AR1,    #0xd6c9
lri $IX1,    #0xa21c
lri $WR1,    #0xbf98
cw 0xd
call send_back  ; 37348 (0x91e4)

lri $AR1,    #0x81f2
lri $IX1,    #0xbfe0
lri $WR1,    #0x9b97
cw 0xd
call send_back  ; 37349 (0x91e5)

lri $AR1,    #0x9118
lri $IX1,    #0xe8f4
lri $WR1,    #0x7679
cw 0xd
call send_back  ; 37350 (0x91e6)

lri $AR1,    #0xe48d
lri $IX1,    #0x7f54
lri $WR1,    #0x9038
cw 0xd
call send_back  ; 37351 (0x91e7)

lri $AR1,    #0x80cb
lri $IX1,    #0x75a4
lri $WR1,    #0x4f03
cw 0xd
call send_back  ; 37352 (0x91e8)

lri $AR1,    #0x6015
lri $IX1,    #0x7e1a
lri $WR1,    #0x7b17
cw 0xd
call send_back  ; 37353 (0x91e9)

lri $AR1,    #0x75d5
lri $IX1,    #0x6594
lri $WR1,    #0x21cf
cw 0xd
call send_back  ; 37354 (0x91ea)

lri $AR1,    #0x95a4
lri $IX1,    #0xfb56
lri $WR1,    #0x9f22
cw 0xd
call send_back  ; 37355 (0x91eb)

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