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

lri $AR1,    #0x4d89
lri $IX1,    #0xa7bc
lri $WR1,    #0x468a
cw 0x15
call send_back  ; 52211 (0xcbf3)

lri $AR1,    #0xd0f5
lri $IX1,    #0x5ebc
lri $WR1,    #0x7a8c
cw 0x15
call send_back  ; 52212 (0xcbf4)

lri $AR1,    #0x6c51
lri $IX1,    #0xdaa4
lri $WR1,    #0x9e68
cw 0x15
call send_back  ; 52213 (0xcbf5)

lri $AR1,    #0x3760
lri $IX1,    #0xe618
lri $WR1,    #0x9360
cw 0x15
call send_back  ; 52214 (0xcbf6)

lri $AR1,    #0x4c3d
lri $IX1,    #0x0830
lri $WR1,    #0xf39e
cw 0x15
call send_back  ; 52215 (0xcbf7)

lri $AR1,    #0x26cd
lri $IX1,    #0x648c
lri $WR1,    #0xaf2f
cw 0x15
call send_back  ; 52216 (0xcbf8)

lri $AR1,    #0xa0bd
lri $IX1,    #0x4f22
lri $WR1,    #0x4fc1
cw 0x15
call send_back  ; 52217 (0xcbf9)

lri $AR1,    #0xa04a
lri $IX1,    #0x2ab2
lri $WR1,    #0xc89a
cw 0x15
call send_back  ; 52218 (0xcbfa)

lri $AR1,    #0x83a3
lri $IX1,    #0x99be
lri $WR1,    #0x89ea
cw 0x15
call send_back  ; 52219 (0xcbfb)

lri $AR1,    #0xba3f
lri $IX1,    #0x6614
lri $WR1,    #0xa407
cw 0x15
call send_back  ; 52220 (0xcbfc)

lri $AR1,    #0xb8ef
lri $IX1,    #0xebbc
lri $WR1,    #0x0098
cw 0x15
call send_back  ; 52221 (0xcbfd)

lri $AR1,    #0x64f7
lri $IX1,    #0x685c
lri $WR1,    #0x754b
cw 0x15
call send_back  ; 52222 (0xcbfe)

lri $AR1,    #0x9612
lri $IX1,    #0x70ca
lri $WR1,    #0x951f
cw 0x15
call send_back  ; 52223 (0xcbff)

lri $AR1,    #0xc69d
lri $IX1,    #0x1b14
lri $WR1,    #0x8ad1
cw 0x15
call send_back  ; 52224 (0xcc00)

lri $AR1,    #0x54bb
lri $IX1,    #0x437c
lri $WR1,    #0x508a
cw 0x15
call send_back  ; 52225 (0xcc01)

lri $AR1,    #0xb6d3
lri $IX1,    #0xd7d8
lri $WR1,    #0x2641
cw 0x15
call send_back  ; 52226 (0xcc02)

lri $AR1,    #0x991c
lri $IX1,    #0x64c6
lri $WR1,    #0x9a07
cw 0x15
call send_back  ; 52227 (0xcc03)

lri $AR1,    #0x61ac
lri $IX1,    #0x5d12
lri $WR1,    #0xaaa7
cw 0x15
call send_back  ; 52228 (0xcc04)

lri $AR1,    #0x73b0
lri $IX1,    #0xdbf2
lri $WR1,    #0x66cc
cw 0x15
call send_back  ; 52229 (0xcc05)

lri $AR1,    #0x9a3e
lri $IX1,    #0x1732
lri $WR1,    #0xc81e
cw 0x15
call send_back  ; 52230 (0xcc06)

lri $AR1,    #0x2687
lri $IX1,    #0x7722
lri $WR1,    #0xcb82
cw 0x15
call send_back  ; 52231 (0xcc07)

lri $AR1,    #0x64a9
lri $IX1,    #0x7660
lri $WR1,    #0xccf7
cw 0x15
call send_back  ; 52232 (0xcc08)

lri $AR1,    #0x760e
lri $IX1,    #0x243a
lri $WR1,    #0x572b
cw 0x15
call send_back  ; 52233 (0xcc09)

lri $AR1,    #0x3f95
lri $IX1,    #0x88be
lri $WR1,    #0x445e
cw 0x15
call send_back  ; 52234 (0xcc0a)

lri $AR1,    #0xcd54
lri $IX1,    #0x5a5e
lri $WR1,    #0x9f8c
cw 0x15
call send_back  ; 52235 (0xcc0b)

lri $AR1,    #0xb54a
lri $IX1,    #0x9116
lri $WR1,    #0x8a88
cw 0x15
call send_back  ; 52236 (0xcc0c)

lri $AR1,    #0x7dd4
lri $IX1,    #0x8bf2
lri $WR1,    #0xe70e
cw 0x15
call send_back  ; 52237 (0xcc0d)

lri $AR1,    #0x3c29
lri $IX1,    #0xd218
lri $WR1,    #0x7e54
cw 0x15
call send_back  ; 52238 (0xcc0e)

lri $AR1,    #0xe2bb
lri $IX1,    #0x1902
lri $WR1,    #0xc433
cw 0x15
call send_back  ; 52239 (0xcc0f)

lri $AR1,    #0x6ebf
lri $IX1,    #0x4612
lri $WR1,    #0x7879
cw 0x15
call send_back  ; 52240 (0xcc10)

lri $AR1,    #0xafb5
lri $IX1,    #0xba46
lri $WR1,    #0xb270
cw 0x15
call send_back  ; 52241 (0xcc11)

lri $AR1,    #0xa345
lri $IX1,    #0x7b24
lri $WR1,    #0xb02b
cw 0x15
call send_back  ; 52242 (0xcc12)

lri $AR1,    #0x332e
lri $IX1,    #0xdc9a
lri $WR1,    #0x74a2
cw 0x15
call send_back  ; 52243 (0xcc13)

lri $AR1,    #0xeaad
lri $IX1,    #0x4bfe
lri $WR1,    #0x3542
cw 0x15
call send_back  ; 52244 (0xcc14)

lri $AR1,    #0x541f
lri $IX1,    #0xe4ea
lri $WR1,    #0xb0e8
cw 0x15
call send_back  ; 52245 (0xcc15)

lri $AR1,    #0x7f2a
lri $IX1,    #0xad0e
lri $WR1,    #0xa7e5
cw 0x15
call send_back  ; 52246 (0xcc16)

lri $AR1,    #0x9353
lri $IX1,    #0xd4ba
lri $WR1,    #0xae1a
cw 0x15
call send_back  ; 52247 (0xcc17)

lri $AR1,    #0x2a34
lri $IX1,    #0x4646
lri $WR1,    #0xd5b1
cw 0x15
call send_back  ; 52248 (0xcc18)

lri $AR1,    #0x5834
lri $IX1,    #0x4714
lri $WR1,    #0x1aa3
cw 0x15
call send_back  ; 52249 (0xcc19)

lri $AR1,    #0xaa13
lri $IX1,    #0x1148
lri $WR1,    #0xe460
cw 0x15
call send_back  ; 52250 (0xcc1a)

lri $AR1,    #0x510c
lri $IX1,    #0x3e02
lri $WR1,    #0x44f3
cw 0x15
call send_back  ; 52251 (0xcc1b)

lri $AR1,    #0x9ee8
lri $IX1,    #0xb426
lri $WR1,    #0xb1f0
cw 0x15
call send_back  ; 52252 (0xcc1c)

lri $AR1,    #0xaed2
lri $IX1,    #0xb888
lri $WR1,    #0xad64
cw 0x15
call send_back  ; 52253 (0xcc1d)

lri $AR1,    #0x0732
lri $IX1,    #0xd090
lri $WR1,    #0x924e
cw 0x15
call send_back  ; 52254 (0xcc1e)

lri $AR1,    #0x8470
lri $IX1,    #0x8918
lri $WR1,    #0x59a0
cw 0x15
call send_back  ; 52255 (0xcc1f)

lri $AR1,    #0x53d8
lri $IX1,    #0xff9a
lri $WR1,    #0x927c
cw 0x15
call send_back  ; 52256 (0xcc20)

lri $AR1,    #0x118c
lri $IX1,    #0x648e
lri $WR1,    #0x518c
cw 0x15
call send_back  ; 52257 (0xcc21)

lri $AR1,    #0x1bb1
lri $IX1,    #0xb1e8
lri $WR1,    #0x6939
cw 0x15
call send_back  ; 52258 (0xcc22)

lri $AR1,    #0x40cf
lri $IX1,    #0xa1a8
lri $WR1,    #0xadab
cw 0x15
call send_back  ; 52259 (0xcc23)

lri $AR1,    #0xf68b
lri $IX1,    #0xac6e
lri $WR1,    #0x3d2c
cw 0x15
call send_back  ; 52260 (0xcc24)

lri $AR1,    #0x21af
lri $IX1,    #0xa0fa
lri $WR1,    #0x9f0d
cw 0x15
call send_back  ; 52261 (0xcc25)

lri $AR1,    #0x87b4
lri $IX1,    #0x599e
lri $WR1,    #0x6886
cw 0x15
call send_back  ; 52262 (0xcc26)

lri $AR1,    #0x25b2
lri $IX1,    #0x5568
lri $WR1,    #0x58b3
cw 0x15
call send_back  ; 52263 (0xcc27)

lri $AR1,    #0x4000
lri $IX1,    #0xa72c
lri $WR1,    #0xe230
cw 0x15
call send_back  ; 52264 (0xcc28)

lri $AR1,    #0x693f
lri $IX1,    #0xe522
lri $WR1,    #0x4276
cw 0x15
call send_back  ; 52265 (0xcc29)

lri $AR1,    #0x5f53
lri $IX1,    #0xa842
lri $WR1,    #0x7470
cw 0x15
call send_back  ; 52266 (0xcc2a)

lri $AR1,    #0xcfdb
lri $IX1,    #0xdb18
lri $WR1,    #0xdd72
cw 0x15
call send_back  ; 52267 (0xcc2b)

lri $AR1,    #0x3daa
lri $IX1,    #0xb432
lri $WR1,    #0xe90f
cw 0x15
call send_back  ; 52268 (0xcc2c)

lri $AR1,    #0xbbf8
lri $IX1,    #0xe0ec
lri $WR1,    #0xc1ec
cw 0x15
call send_back  ; 52269 (0xcc2d)

lri $AR1,    #0x63a0
lri $IX1,    #0x39b4
lri $WR1,    #0x5309
cw 0x15
call send_back  ; 52270 (0xcc2e)

lri $AR1,    #0x2a3e
lri $IX1,    #0x797a
lri $WR1,    #0x1eb9
cw 0x15
call send_back  ; 52271 (0xcc2f)

lri $AR1,    #0x7a7a
lri $IX1,    #0xfe9c
lri $WR1,    #0x9daa
cw 0x15
call send_back  ; 52272 (0xcc30)

lri $AR1,    #0x784f
lri $IX1,    #0xb3c0
lri $WR1,    #0xa22b
cw 0x15
call send_back  ; 52273 (0xcc31)

lri $AR1,    #0x9ba8
lri $IX1,    #0x0414
lri $WR1,    #0x893e
cw 0x15
call send_back  ; 52274 (0xcc32)

lri $AR1,    #0x1f0f
lri $IX1,    #0x4e60
lri $WR1,    #0xb472
cw 0x15
call send_back  ; 52275 (0xcc33)

lri $AR1,    #0x87d5
lri $IX1,    #0xc752
lri $WR1,    #0xbd35
cw 0x15
call send_back  ; 52276 (0xcc34)

lri $AR1,    #0xa870
lri $IX1,    #0x4390
lri $WR1,    #0x6b8a
cw 0x15
call send_back  ; 52277 (0xcc35)

lri $AR1,    #0x4d6b
lri $IX1,    #0x16d0
lri $WR1,    #0x17d0
cw 0x15
call send_back  ; 52278 (0xcc36)

lri $AR1,    #0xa8b5
lri $IX1,    #0x359c
lri $WR1,    #0xa09f
cw 0x15
call send_back  ; 52279 (0xcc37)

lri $AR1,    #0xe69b
lri $IX1,    #0x3404
lri $WR1,    #0xe342
cw 0x15
call send_back  ; 52280 (0xcc38)

lri $AR1,    #0x833f
lri $IX1,    #0xb3d6
lri $WR1,    #0x8ef6
cw 0x15
call send_back  ; 52281 (0xcc39)

lri $AR1,    #0x56e4
lri $IX1,    #0x799c
lri $WR1,    #0x985c
cw 0x15
call send_back  ; 52282 (0xcc3a)

lri $AR1,    #0x42d1
lri $IX1,    #0xd00e
lri $WR1,    #0xe456
cw 0x15
call send_back  ; 52283 (0xcc3b)

lri $AR1,    #0x5020
lri $IX1,    #0x3e2c
lri $WR1,    #0x56b7
cw 0x15
call send_back  ; 52284 (0xcc3c)

lri $AR1,    #0x4d57
lri $IX1,    #0xfc92
lri $WR1,    #0x2af3
cw 0x15
call send_back  ; 52285 (0xcc3d)

lri $AR1,    #0x6705
lri $IX1,    #0x2b72
lri $WR1,    #0x3a56
cw 0x15
call send_back  ; 52286 (0xcc3e)

lri $AR1,    #0xbb38
lri $IX1,    #0xaa9c
lri $WR1,    #0x74cc
cw 0x15
call send_back  ; 52287 (0xcc3f)

lri $AR1,    #0x5f33
lri $IX1,    #0xc206
lri $WR1,    #0x36d3
cw 0x15
call send_back  ; 52288 (0xcc40)

lri $AR1,    #0x9a0f
lri $IX1,    #0xa150
lri $WR1,    #0x309e
cw 0x15
call send_back  ; 52289 (0xcc41)

lri $AR1,    #0x96b9
lri $IX1,    #0x4196
lri $WR1,    #0x2007
cw 0x15
call send_back  ; 52290 (0xcc42)

lri $AR1,    #0x62fe
lri $IX1,    #0x8532
lri $WR1,    #0x9048
cw 0x15
call send_back  ; 52291 (0xcc43)

lri $AR1,    #0x991b
lri $IX1,    #0xad9c
lri $WR1,    #0x882e
cw 0x15
call send_back  ; 52292 (0xcc44)

lri $AR1,    #0x6c72
lri $IX1,    #0x8820
lri $WR1,    #0x68af
cw 0x15
call send_back  ; 52293 (0xcc45)

lri $AR1,    #0xe1e0
lri $IX1,    #0x2696
lri $WR1,    #0x9b94
cw 0x15
call send_back  ; 52294 (0xcc46)

lri $AR1,    #0x9f6a
lri $IX1,    #0xb9c8
lri $WR1,    #0x732c
cw 0x15
call send_back  ; 52295 (0xcc47)

lri $AR1,    #0xd696
lri $IX1,    #0x4fbe
lri $WR1,    #0x21b7
cw 0x15
call send_back  ; 52296 (0xcc48)

lri $AR1,    #0xb843
lri $IX1,    #0xf09c
lri $WR1,    #0xd872
cw 0x15
call send_back  ; 52297 (0xcc49)

lri $AR1,    #0x8057
lri $IX1,    #0xf944
lri $WR1,    #0x4bf6
cw 0x15
call send_back  ; 52298 (0xcc4a)

lri $AR1,    #0xdafc
lri $IX1,    #0xc358
lri $WR1,    #0x6cf1
cw 0x15
call send_back  ; 52299 (0xcc4b)

lri $AR1,    #0x8cd9
lri $IX1,    #0xc702
lri $WR1,    #0x79b5
cw 0x15
call send_back  ; 52300 (0xcc4c)

lri $AR1,    #0x4300
lri $IX1,    #0x8ae8
lri $WR1,    #0x86ca
cw 0x15
call send_back  ; 52301 (0xcc4d)

lri $AR1,    #0x9eef
lri $IX1,    #0x0bba
lri $WR1,    #0x9a04
cw 0x15
call send_back  ; 52302 (0xcc4e)

lri $AR1,    #0xd66d
lri $IX1,    #0xe4ec
lri $WR1,    #0x5529
cw 0x15
call send_back  ; 52303 (0xcc4f)

lri $AR1,    #0x7694
lri $IX1,    #0x90ca
lri $WR1,    #0x52c8
cw 0x15
call send_back  ; 52304 (0xcc50)

lri $AR1,    #0x64dd
lri $IX1,    #0xaeac
lri $WR1,    #0xa137
cw 0x15
call send_back  ; 52305 (0xcc51)

lri $AR1,    #0xf872
lri $IX1,    #0x8260
lri $WR1,    #0x9566
cw 0x15
call send_back  ; 52306 (0xcc52)

lri $AR1,    #0xd9ac
lri $IX1,    #0xf08e
lri $WR1,    #0xe07c
cw 0x15
call send_back  ; 52307 (0xcc53)

lri $AR1,    #0x9ced
lri $IX1,    #0x383c
lri $WR1,    #0x48e6
cw 0x15
call send_back  ; 52308 (0xcc54)

lri $AR1,    #0x29c4
lri $IX1,    #0xb218
lri $WR1,    #0x80cd
cw 0x15
call send_back  ; 52309 (0xcc55)

lri $AR1,    #0x4ea3
lri $IX1,    #0x12de
lri $WR1,    #0x31a0
cw 0x15
call send_back  ; 52310 (0xcc56)

lri $AR1,    #0xc4e3
lri $IX1,    #0x2e58
lri $WR1,    #0x55ad
cw 0x15
call send_back  ; 52311 (0xcc57)

lri $AR1,    #0xc081
lri $IX1,    #0x2548
lri $WR1,    #0x3e60
cw 0x15
call send_back  ; 52312 (0xcc58)

lri $AR1,    #0xd25d
lri $IX1,    #0x60e8
lri $WR1,    #0x8f3a
cw 0x15
call send_back  ; 52313 (0xcc59)

lri $AR1,    #0xc33c
lri $IX1,    #0xe32a
lri $WR1,    #0x630e
cw 0x15
call send_back  ; 52314 (0xcc5a)

lri $AR1,    #0x8170
lri $IX1,    #0x6364
lri $WR1,    #0xa293
cw 0x15
call send_back  ; 52315 (0xcc5b)

lri $AR1,    #0xa266
lri $IX1,    #0x8ba6
lri $WR1,    #0x28db
cw 0x15
call send_back  ; 52316 (0xcc5c)

lri $AR1,    #0xb502
lri $IX1,    #0x935e
lri $WR1,    #0x8bc3
cw 0x15
call send_back  ; 52317 (0xcc5d)

lri $AR1,    #0x90ef
lri $IX1,    #0x887e
lri $WR1,    #0x9be3
cw 0x15
call send_back  ; 52318 (0xcc5e)

lri $AR1,    #0xd2ed
lri $IX1,    #0xf8da
lri $WR1,    #0x5121
cw 0x15
call send_back  ; 52319 (0xcc5f)

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