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

lri $AR1,    #0x8e8f
lri $IX1,    #0xe13a
lri $WR1,    #0x1ce5
cw 0xd
call send_back  ; 12235 (0x2fcb)

lri $AR1,    #0x733f
lri $IX1,    #0xda24
lri $WR1,    #0xb511
cw 0xd
call send_back  ; 12236 (0x2fcc)

lri $AR1,    #0x0412
lri $IX1,    #0x5c64
lri $WR1,    #0xa3d4
cw 0xd
call send_back  ; 12237 (0x2fcd)

lri $AR1,    #0x1358
lri $IX1,    #0xaabe
lri $WR1,    #0x38a6
cw 0xd
call send_back  ; 12238 (0x2fce)

lri $AR1,    #0xc28c
lri $IX1,    #0x3b16
lri $WR1,    #0xa951
cw 0xd
call send_back  ; 12239 (0x2fcf)

lri $AR1,    #0xb25d
lri $IX1,    #0x4b50
lri $WR1,    #0x6fc7
cw 0xd
call send_back  ; 12240 (0x2fd0)

lri $AR1,    #0x68b7
lri $IX1,    #0x282a
lri $WR1,    #0x9e23
cw 0xd
call send_back  ; 12241 (0x2fd1)

lri $AR1,    #0x871a
lri $IX1,    #0x32c8
lri $WR1,    #0xa278
cw 0xd
call send_back  ; 12242 (0x2fd2)

lri $AR1,    #0xbf10
lri $IX1,    #0xa158
lri $WR1,    #0xa573
cw 0xd
call send_back  ; 12243 (0x2fd3)

lri $AR1,    #0x3a0f
lri $IX1,    #0xfa8a
lri $WR1,    #0xa461
cw 0xd
call send_back  ; 12244 (0x2fd4)

lri $AR1,    #0xc59f
lri $IX1,    #0x4340
lri $WR1,    #0x80b2
cw 0xd
call send_back  ; 12245 (0x2fd5)

lri $AR1,    #0xe401
lri $IX1,    #0xa132
lri $WR1,    #0xdc79
cw 0xd
call send_back  ; 12246 (0x2fd6)

lri $AR1,    #0x4542
lri $IX1,    #0xb4ee
lri $WR1,    #0x1d08
cw 0xd
call send_back  ; 12247 (0x2fd7)

lri $AR1,    #0x83f5
lri $IX1,    #0x00e2
lri $WR1,    #0xb22e
cw 0xd
call send_back  ; 12248 (0x2fd8)

lri $AR1,    #0xac6f
lri $IX1,    #0x3aea
lri $WR1,    #0xaa30
cw 0xd
call send_back  ; 12249 (0x2fd9)

lri $AR1,    #0x74c8
lri $IX1,    #0x4108
lri $WR1,    #0x8807
cw 0xd
call send_back  ; 12250 (0x2fda)

lri $AR1,    #0xff83
lri $IX1,    #0x79b8
lri $WR1,    #0xa2eb
cw 0xd
call send_back  ; 12251 (0x2fdb)

lri $AR1,    #0x6a26
lri $IX1,    #0x8ba0
lri $WR1,    #0x6bd4
cw 0xd
call send_back  ; 12252 (0x2fdc)

lri $AR1,    #0xa485
lri $IX1,    #0x6fe6
lri $WR1,    #0xaee2
cw 0xd
call send_back  ; 12253 (0x2fdd)

lri $AR1,    #0x7d21
lri $IX1,    #0xce0a
lri $WR1,    #0x2453
cw 0xd
call send_back  ; 12254 (0x2fde)

lri $AR1,    #0xd26d
lri $IX1,    #0x2f90
lri $WR1,    #0xc60f
cw 0xd
call send_back  ; 12255 (0x2fdf)

lri $AR1,    #0x502f
lri $IX1,    #0xcd44
lri $WR1,    #0xc455
cw 0xd
call send_back  ; 12256 (0x2fe0)

lri $AR1,    #0x6bf2
lri $IX1,    #0x5f6c
lri $WR1,    #0x7da4
cw 0xd
call send_back  ; 12257 (0x2fe1)

lri $AR1,    #0xd2b6
lri $IX1,    #0x55ba
lri $WR1,    #0xeb69
cw 0xd
call send_back  ; 12258 (0x2fe2)

lri $AR1,    #0x8dcd
lri $IX1,    #0x0b4a
lri $WR1,    #0x6679
cw 0xd
call send_back  ; 12259 (0x2fe3)

lri $AR1,    #0xac16
lri $IX1,    #0xce88
lri $WR1,    #0x5c05
cw 0xd
call send_back  ; 12260 (0x2fe4)

lri $AR1,    #0x1884
lri $IX1,    #0xcc28
lri $WR1,    #0x64ed
cw 0xd
call send_back  ; 12261 (0x2fe5)

lri $AR1,    #0x562a
lri $IX1,    #0xf848
lri $WR1,    #0x8f2d
cw 0xd
call send_back  ; 12262 (0x2fe6)

lri $AR1,    #0x7dae
lri $IX1,    #0xcfb0
lri $WR1,    #0x6a4f
cw 0xd
call send_back  ; 12263 (0x2fe7)

lri $AR1,    #0x6f5a
lri $IX1,    #0x1f58
lri $WR1,    #0xed96
cw 0xd
call send_back  ; 12264 (0x2fe8)

lri $AR1,    #0x98bf
lri $IX1,    #0xc744
lri $WR1,    #0x77ca
cw 0xd
call send_back  ; 12265 (0x2fe9)

lri $AR1,    #0x4c17
lri $IX1,    #0x89a2
lri $WR1,    #0x5659
cw 0xd
call send_back  ; 12266 (0x2fea)

lri $AR1,    #0xdb4f
lri $IX1,    #0x4684
lri $WR1,    #0x52c8
cw 0xd
call send_back  ; 12267 (0x2feb)

lri $AR1,    #0x4ff0
lri $IX1,    #0x67e0
lri $WR1,    #0x1b0e
cw 0xd
call send_back  ; 12268 (0x2fec)

lri $AR1,    #0x94e0
lri $IX1,    #0x995a
lri $WR1,    #0x52df
cw 0xd
call send_back  ; 12269 (0x2fed)

lri $AR1,    #0x1610
lri $IX1,    #0x126c
lri $WR1,    #0x9981
cw 0xd
call send_back  ; 12270 (0x2fee)

lri $AR1,    #0x9e28
lri $IX1,    #0x997e
lri $WR1,    #0x3135
cw 0xd
call send_back  ; 12271 (0x2fef)

lri $AR1,    #0x7149
lri $IX1,    #0xd980
lri $WR1,    #0x1acd
cw 0xd
call send_back  ; 12272 (0x2ff0)

lri $AR1,    #0x2fda
lri $IX1,    #0x8b82
lri $WR1,    #0x416a
cw 0xd
call send_back  ; 12273 (0x2ff1)

lri $AR1,    #0x4b9d
lri $IX1,    #0x3102
lri $WR1,    #0x2010
cw 0xd
call send_back  ; 12274 (0x2ff2)

lri $AR1,    #0xacea
lri $IX1,    #0x8b54
lri $WR1,    #0x7c00
cw 0xd
call send_back  ; 12275 (0x2ff3)

lri $AR1,    #0x6d48
lri $IX1,    #0x7fce
lri $WR1,    #0xc489
cw 0xd
call send_back  ; 12276 (0x2ff4)

lri $AR1,    #0xa85a
lri $IX1,    #0x904a
lri $WR1,    #0xc241
cw 0xd
call send_back  ; 12277 (0x2ff5)

lri $AR1,    #0xb343
lri $IX1,    #0x5a7a
lri $WR1,    #0x5d49
cw 0xd
call send_back  ; 12278 (0x2ff6)

lri $AR1,    #0x6e7c
lri $IX1,    #0x90ac
lri $WR1,    #0x43aa
cw 0xd
call send_back  ; 12279 (0x2ff7)

lri $AR1,    #0x3d4d
lri $IX1,    #0x719e
lri $WR1,    #0x7e53
cw 0xd
call send_back  ; 12280 (0x2ff8)

lri $AR1,    #0x59c4
lri $IX1,    #0xccb8
lri $WR1,    #0x6cd0
cw 0xd
call send_back  ; 12281 (0x2ff9)

lri $AR1,    #0x9b7a
lri $IX1,    #0xfb9e
lri $WR1,    #0x8d48
cw 0xd
call send_back  ; 12282 (0x2ffa)

lri $AR1,    #0xbb00
lri $IX1,    #0xc92c
lri $WR1,    #0xc7cc
cw 0xd
call send_back  ; 12283 (0x2ffb)

lri $AR1,    #0x832f
lri $IX1,    #0xe1f4
lri $WR1,    #0x8990
cw 0xd
call send_back  ; 12284 (0x2ffc)

lri $AR1,    #0x1d34
lri $IX1,    #0x014c
lri $WR1,    #0x361d
cw 0xd
call send_back  ; 12285 (0x2ffd)

lri $AR1,    #0x93b5
lri $IX1,    #0x79f2
lri $WR1,    #0xb200
cw 0xd
call send_back  ; 12286 (0x2ffe)

lri $AR1,    #0x2cce
lri $IX1,    #0xd86e
lri $WR1,    #0x6c17
cw 0xd
call send_back  ; 12287 (0x2fff)

lri $AR1,    #0x323b
lri $IX1,    #0x1112
lri $WR1,    #0x3001
cw 0xd
call send_back  ; 12288 (0x3000)

lri $AR1,    #0x8a7e
lri $IX1,    #0xd2fa
lri $WR1,    #0x95c4
cw 0xd
call send_back  ; 12289 (0x3001)

lri $AR1,    #0x855f
lri $IX1,    #0x14b4
lri $WR1,    #0xf03b
cw 0xd
call send_back  ; 12290 (0x3002)

lri $AR1,    #0xd175
lri $IX1,    #0x9f02
lri $WR1,    #0x8d55
cw 0xd
call send_back  ; 12291 (0x3003)

lri $AR1,    #0x9836
lri $IX1,    #0x1d72
lri $WR1,    #0x50bc
cw 0xd
call send_back  ; 12292 (0x3004)

lri $AR1,    #0x9930
lri $IX1,    #0xf432
lri $WR1,    #0x8afd
cw 0xd
call send_back  ; 12293 (0x3005)

lri $AR1,    #0xacd8
lri $IX1,    #0xa5d8
lri $WR1,    #0xcc9f
cw 0xd
call send_back  ; 12294 (0x3006)

lri $AR1,    #0xbabe
lri $IX1,    #0xd372
lri $WR1,    #0x3667
cw 0xd
call send_back  ; 12295 (0x3007)

lri $AR1,    #0xc661
lri $IX1,    #0xb4c0
lri $WR1,    #0xcd33
cw 0xd
call send_back  ; 12296 (0x3008)

lri $AR1,    #0x218d
lri $IX1,    #0x2dda
lri $WR1,    #0x8193
cw 0xd
call send_back  ; 12297 (0x3009)

lri $AR1,    #0x727e
lri $IX1,    #0x430a
lri $WR1,    #0x48a4
cw 0xd
call send_back  ; 12298 (0x300a)

lri $AR1,    #0x6faa
lri $IX1,    #0x7b44
lri $WR1,    #0x3545
cw 0xd
call send_back  ; 12299 (0x300b)

lri $AR1,    #0x5a71
lri $IX1,    #0xa4ea
lri $WR1,    #0x5629
cw 0xd
call send_back  ; 12300 (0x300c)

lri $AR1,    #0x3d91
lri $IX1,    #0x4850
lri $WR1,    #0x96ea
cw 0xd
call send_back  ; 12301 (0x300d)

lri $AR1,    #0xa39f
lri $IX1,    #0xbeae
lri $WR1,    #0x5fa1
cw 0xd
call send_back  ; 12302 (0x300e)

lri $AR1,    #0xbd70
lri $IX1,    #0x43ee
lri $WR1,    #0x9003
cw 0xd
call send_back  ; 12303 (0x300f)

lri $AR1,    #0xa795
lri $IX1,    #0x4d0c
lri $WR1,    #0x98c0
cw 0xd
call send_back  ; 12304 (0x3010)

lri $AR1,    #0x89f0
lri $IX1,    #0xd468
lri $WR1,    #0xbf03
cw 0xd
call send_back  ; 12305 (0x3011)

lri $AR1,    #0x8b89
lri $IX1,    #0x08e0
lri $WR1,    #0x63bc
cw 0xd
call send_back  ; 12306 (0x3012)

lri $AR1,    #0x687f
lri $IX1,    #0xbbe4
lri $WR1,    #0xd9c7
cw 0xd
call send_back  ; 12307 (0x3013)

lri $AR1,    #0x3f71
lri $IX1,    #0xee7e
lri $WR1,    #0x4b70
cw 0xd
call send_back  ; 12308 (0x3014)

lri $AR1,    #0x4717
lri $IX1,    #0xd474
lri $WR1,    #0xc971
cw 0xd
call send_back  ; 12309 (0x3015)

lri $AR1,    #0x6c7c
lri $IX1,    #0x7074
lri $WR1,    #0x3afe
cw 0xd
call send_back  ; 12310 (0x3016)

lri $AR1,    #0x3d83
lri $IX1,    #0x6b92
lri $WR1,    #0x67d5
cw 0xd
call send_back  ; 12311 (0x3017)

lri $AR1,    #0xdb25
lri $IX1,    #0xddd4
lri $WR1,    #0x9b05
cw 0xd
call send_back  ; 12312 (0x3018)

lri $AR1,    #0x5a2b
lri $IX1,    #0x4538
lri $WR1,    #0xc661
cw 0xd
call send_back  ; 12313 (0x3019)

lri $AR1,    #0x58b3
lri $IX1,    #0xc3f8
lri $WR1,    #0x7c3f
cw 0xd
call send_back  ; 12314 (0x301a)

lri $AR1,    #0x8259
lri $IX1,    #0xce58
lri $WR1,    #0x6686
cw 0xd
call send_back  ; 12315 (0x301b)

lri $AR1,    #0xa447
lri $IX1,    #0x93d2
lri $WR1,    #0x77a9
cw 0xd
call send_back  ; 12316 (0x301c)

lri $AR1,    #0xae07
lri $IX1,    #0x86f2
lri $WR1,    #0x4b99
cw 0xd
call send_back  ; 12317 (0x301d)

lri $AR1,    #0x6b60
lri $IX1,    #0x52ae
lri $WR1,    #0x6c32
cw 0xd
call send_back  ; 12318 (0x301e)

lri $AR1,    #0x471b
lri $IX1,    #0x2b90
lri $WR1,    #0xce48
cw 0xd
call send_back  ; 12319 (0x301f)

lri $AR1,    #0x5de6
lri $IX1,    #0x9e7c
lri $WR1,    #0x41db
cw 0xd
call send_back  ; 12320 (0x3020)

lri $AR1,    #0x743f
lri $IX1,    #0xa65a
lri $WR1,    #0x9976
cw 0xd
call send_back  ; 12321 (0x3021)

lri $AR1,    #0x61ad
lri $IX1,    #0xcd94
lri $WR1,    #0xda64
cw 0xd
call send_back  ; 12322 (0x3022)

lri $AR1,    #0x9719
lri $IX1,    #0x4f8e
lri $WR1,    #0x38a8
cw 0xd
call send_back  ; 12323 (0x3023)

lri $AR1,    #0x6d86
lri $IX1,    #0x7206
lri $WR1,    #0x5771
cw 0xd
call send_back  ; 12324 (0x3024)

lri $AR1,    #0xc61f
lri $IX1,    #0x859c
lri $WR1,    #0x1fee
cw 0xd
call send_back  ; 12325 (0x3025)

lri $AR1,    #0x93be
lri $IX1,    #0x085e
lri $WR1,    #0x5e37
cw 0xd
call send_back  ; 12326 (0x3026)

lri $AR1,    #0x89db
lri $IX1,    #0x249c
lri $WR1,    #0x9547
cw 0xd
call send_back  ; 12327 (0x3027)

lri $AR1,    #0xc428
lri $IX1,    #0x19e4
lri $WR1,    #0x809b
cw 0xd
call send_back  ; 12328 (0x3028)

lri $AR1,    #0xa5ae
lri $IX1,    #0xe560
lri $WR1,    #0x638c
cw 0xd
call send_back  ; 12329 (0x3029)

lri $AR1,    #0xcdab
lri $IX1,    #0x9a76
lri $WR1,    #0x73e6
cw 0xd
call send_back  ; 12330 (0x302a)

lri $AR1,    #0xb420
lri $IX1,    #0x2bfa
lri $WR1,    #0xbedb
cw 0xd
call send_back  ; 12331 (0x302b)

lri $AR1,    #0xa741
lri $IX1,    #0xc9be
lri $WR1,    #0x3ce1
cw 0xd
call send_back  ; 12332 (0x302c)

lri $AR1,    #0x5ea5
lri $IX1,    #0x4dc4
lri $WR1,    #0x4278
cw 0xd
call send_back  ; 12333 (0x302d)

lri $AR1,    #0x8886
lri $IX1,    #0x6004
lri $WR1,    #0x7985
cw 0xd
call send_back  ; 12334 (0x302e)

lri $AR1,    #0x78e3
lri $IX1,    #0xd6e6
lri $WR1,    #0x7039
cw 0xd
call send_back  ; 12335 (0x302f)

lri $AR1,    #0x59bf
lri $IX1,    #0x4e72
lri $WR1,    #0x7021
cw 0xd
call send_back  ; 12336 (0x3030)

lri $AR1,    #0x477a
lri $IX1,    #0xd75e
lri $WR1,    #0x996e
cw 0xd
call send_back  ; 12337 (0x3031)

lri $AR1,    #0x035c
lri $IX1,    #0xdae0
lri $WR1,    #0x8bff
cw 0xd
call send_back  ; 12338 (0x3032)

lri $AR1,    #0xba51
lri $IX1,    #0xbf8e
lri $WR1,    #0x9948
cw 0xd
call send_back  ; 12339 (0x3033)

lri $AR1,    #0xa508
lri $IX1,    #0x5f1a
lri $WR1,    #0x6f92
cw 0xd
call send_back  ; 12340 (0x3034)

lri $AR1,    #0x6258
lri $IX1,    #0xd43c
lri $WR1,    #0x48c2
cw 0xd
call send_back  ; 12341 (0x3035)

lri $AR1,    #0xbc2d
lri $IX1,    #0x73a2
lri $WR1,    #0xc418
cw 0xd
call send_back  ; 12342 (0x3036)

lri $AR1,    #0x6ad4
lri $IX1,    #0xc220
lri $WR1,    #0x940a
cw 0xd
call send_back  ; 12343 (0x3037)

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