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

lri $AR1,    #0x7522
lri $IX1,    #0x6bba
lri $WR1,    #0xa621
cw 0xd
call send_back  ; 23266 (0x5ae2)

lri $AR1,    #0x66af
lri $IX1,    #0xeab2
lri $WR1,    #0xb03d
cw 0xd
call send_back  ; 23267 (0x5ae3)

lri $AR1,    #0xc258
lri $IX1,    #0x1398
lri $WR1,    #0xde0a
cw 0xd
call send_back  ; 23268 (0x5ae4)

lri $AR1,    #0x875a
lri $IX1,    #0x99b0
lri $WR1,    #0x84d3
cw 0xd
call send_back  ; 23269 (0x5ae5)

lri $AR1,    #0xb9d0
lri $IX1,    #0x4a56
lri $WR1,    #0x76b9
cw 0xd
call send_back  ; 23270 (0x5ae6)

lri $AR1,    #0xa226
lri $IX1,    #0x2062
lri $WR1,    #0x9933
cw 0xd
call send_back  ; 23271 (0x5ae7)

lri $AR1,    #0xf12f
lri $IX1,    #0x8d90
lri $WR1,    #0x4527
cw 0xd
call send_back  ; 23272 (0x5ae8)

lri $AR1,    #0xa7c4
lri $IX1,    #0x6f6c
lri $WR1,    #0xb0c8
cw 0xd
call send_back  ; 23273 (0x5ae9)

lri $AR1,    #0x4028
lri $IX1,    #0x406e
lri $WR1,    #0x50aa
cw 0xd
call send_back  ; 23274 (0x5aea)

lri $AR1,    #0x4b0d
lri $IX1,    #0x65b0
lri $WR1,    #0x2f3c
cw 0xd
call send_back  ; 23275 (0x5aeb)

lri $AR1,    #0x5988
lri $IX1,    #0xdcee
lri $WR1,    #0x8f1c
cw 0xd
call send_back  ; 23276 (0x5aec)

lri $AR1,    #0x08c3
lri $IX1,    #0xe654
lri $WR1,    #0xa665
cw 0xd
call send_back  ; 23277 (0x5aed)

lri $AR1,    #0xb3bb
lri $IX1,    #0x70a8
lri $WR1,    #0x3e86
cw 0xd
call send_back  ; 23278 (0x5aee)

lri $AR1,    #0x92dd
lri $IX1,    #0xee54
lri $WR1,    #0x65aa
cw 0xd
call send_back  ; 23279 (0x5aef)

lri $AR1,    #0x48d3
lri $IX1,    #0xad14
lri $WR1,    #0x0447
cw 0xd
call send_back  ; 23280 (0x5af0)

lri $AR1,    #0x674c
lri $IX1,    #0xb180
lri $WR1,    #0x72e9
cw 0xd
call send_back  ; 23281 (0x5af1)

lri $AR1,    #0xb613
lri $IX1,    #0x535c
lri $WR1,    #0x79b9
cw 0xd
call send_back  ; 23282 (0x5af2)

lri $AR1,    #0xda45
lri $IX1,    #0x4704
lri $WR1,    #0xd4e5
cw 0xd
call send_back  ; 23283 (0x5af3)

lri $AR1,    #0xc2f5
lri $IX1,    #0x439a
lri $WR1,    #0x4e60
cw 0xd
call send_back  ; 23284 (0x5af4)

lri $AR1,    #0x5c0a
lri $IX1,    #0xed7a
lri $WR1,    #0x9728
cw 0xd
call send_back  ; 23285 (0x5af5)

lri $AR1,    #0x57b3
lri $IX1,    #0xf7a2
lri $WR1,    #0xa788
cw 0xd
call send_back  ; 23286 (0x5af6)

lri $AR1,    #0xc22f
lri $IX1,    #0x6e68
lri $WR1,    #0x6f6f
cw 0xd
call send_back  ; 23287 (0x5af7)

lri $AR1,    #0x6b4c
lri $IX1,    #0xb14e
lri $WR1,    #0xe575
cw 0xd
call send_back  ; 23288 (0x5af8)

lri $AR1,    #0x5c63
lri $IX1,    #0xa94c
lri $WR1,    #0x6c90
cw 0xd
call send_back  ; 23289 (0x5af9)

lri $AR1,    #0xf114
lri $IX1,    #0x2444
lri $WR1,    #0x760b
cw 0xd
call send_back  ; 23290 (0x5afa)

lri $AR1,    #0x9cb9
lri $IX1,    #0xce22
lri $WR1,    #0x96e1
cw 0xd
call send_back  ; 23291 (0x5afb)

lri $AR1,    #0x4db1
lri $IX1,    #0xe33c
lri $WR1,    #0xdcef
cw 0xd
call send_back  ; 23292 (0x5afc)

lri $AR1,    #0x9b72
lri $IX1,    #0x4f72
lri $WR1,    #0x6a25
cw 0xd
call send_back  ; 23293 (0x5afd)

lri $AR1,    #0x5ba9
lri $IX1,    #0x58c8
lri $WR1,    #0x1937
cw 0xd
call send_back  ; 23294 (0x5afe)

lri $AR1,    #0x3e3d
lri $IX1,    #0x13ce
lri $WR1,    #0x90ed
cw 0xd
call send_back  ; 23295 (0x5aff)

lri $AR1,    #0x876e
lri $IX1,    #0x93a0
lri $WR1,    #0x908d
cw 0xd
call send_back  ; 23296 (0x5b00)

lri $AR1,    #0x4b0b
lri $IX1,    #0xeee2
lri $WR1,    #0xc985
cw 0xd
call send_back  ; 23297 (0x5b01)

lri $AR1,    #0x0ade
lri $IX1,    #0xae68
lri $WR1,    #0x27d8
cw 0xd
call send_back  ; 23298 (0x5b02)

lri $AR1,    #0xae4b
lri $IX1,    #0xe9fc
lri $WR1,    #0xdc5b
cw 0xd
call send_back  ; 23299 (0x5b03)

lri $AR1,    #0x504e
lri $IX1,    #0x1af6
lri $WR1,    #0x3165
cw 0xd
call send_back  ; 23300 (0x5b04)

lri $AR1,    #0x3cbb
lri $IX1,    #0x640c
lri $WR1,    #0x0be6
cw 0xd
call send_back  ; 23301 (0x5b05)

lri $AR1,    #0x8513
lri $IX1,    #0x991c
lri $WR1,    #0x5890
cw 0xd
call send_back  ; 23302 (0x5b06)

lri $AR1,    #0x38aa
lri $IX1,    #0x9138
lri $WR1,    #0x660e
cw 0xd
call send_back  ; 23303 (0x5b07)

lri $AR1,    #0x638a
lri $IX1,    #0x20ec
lri $WR1,    #0xb2e7
cw 0xd
call send_back  ; 23304 (0x5b08)

lri $AR1,    #0xe2c6
lri $IX1,    #0x61d6
lri $WR1,    #0xdf14
cw 0xd
call send_back  ; 23305 (0x5b09)

lri $AR1,    #0xbca2
lri $IX1,    #0x888c
lri $WR1,    #0x9eda
cw 0xd
call send_back  ; 23306 (0x5b0a)

lri $AR1,    #0x5e5c
lri $IX1,    #0x5904
lri $WR1,    #0x9dfd
cw 0xd
call send_back  ; 23307 (0x5b0b)

lri $AR1,    #0x48dd
lri $IX1,    #0x2d6c
lri $WR1,    #0x97db
cw 0xd
call send_back  ; 23308 (0x5b0c)

lri $AR1,    #0x3128
lri $IX1,    #0x5a9e
lri $WR1,    #0x6275
cw 0xd
call send_back  ; 23309 (0x5b0d)

lri $AR1,    #0x48df
lri $IX1,    #0x691e
lri $WR1,    #0xa80a
cw 0xd
call send_back  ; 23310 (0x5b0e)

lri $AR1,    #0x2698
lri $IX1,    #0xf8d8
lri $WR1,    #0xec3b
cw 0xd
call send_back  ; 23311 (0x5b0f)

lri $AR1,    #0x7d72
lri $IX1,    #0x1994
lri $WR1,    #0x9f5e
cw 0xd
call send_back  ; 23312 (0x5b10)

lri $AR1,    #0x5e96
lri $IX1,    #0x493a
lri $WR1,    #0xcc06
cw 0xd
call send_back  ; 23313 (0x5b11)

lri $AR1,    #0x7f12
lri $IX1,    #0x04ee
lri $WR1,    #0xb84b
cw 0xd
call send_back  ; 23314 (0x5b12)

lri $AR1,    #0x4fd0
lri $IX1,    #0xc92a
lri $WR1,    #0x85f1
cw 0xd
call send_back  ; 23315 (0x5b13)

lri $AR1,    #0x7cf1
lri $IX1,    #0x60be
lri $WR1,    #0x51e9
cw 0xd
call send_back  ; 23316 (0x5b14)

lri $AR1,    #0x857c
lri $IX1,    #0x59f8
lri $WR1,    #0x6d5c
cw 0xd
call send_back  ; 23317 (0x5b15)

lri $AR1,    #0x6b80
lri $IX1,    #0x44d0
lri $WR1,    #0x67a1
cw 0xd
call send_back  ; 23318 (0x5b16)

lri $AR1,    #0x60a9
lri $IX1,    #0xdc62
lri $WR1,    #0xa25e
cw 0xd
call send_back  ; 23319 (0x5b17)

lri $AR1,    #0xaa78
lri $IX1,    #0x5178
lri $WR1,    #0x6e4c
cw 0xd
call send_back  ; 23320 (0x5b18)

lri $AR1,    #0xa4fe
lri $IX1,    #0x739e
lri $WR1,    #0x98a4
cw 0xd
call send_back  ; 23321 (0x5b19)

lri $AR1,    #0xaa62
lri $IX1,    #0x5152
lri $WR1,    #0x3ee5
cw 0xd
call send_back  ; 23322 (0x5b1a)

lri $AR1,    #0x9906
lri $IX1,    #0xf7e2
lri $WR1,    #0x8fdf
cw 0xd
call send_back  ; 23323 (0x5b1b)

lri $AR1,    #0x999c
lri $IX1,    #0x1e8e
lri $WR1,    #0xb6ad
cw 0xd
call send_back  ; 23324 (0x5b1c)

lri $AR1,    #0x81f8
lri $IX1,    #0xa06c
lri $WR1,    #0x65a6
cw 0xd
call send_back  ; 23325 (0x5b1d)

lri $AR1,    #0xa0e9
lri $IX1,    #0x93b8
lri $WR1,    #0xb4ce
cw 0xd
call send_back  ; 23326 (0x5b1e)

lri $AR1,    #0x42ff
lri $IX1,    #0x6d06
lri $WR1,    #0x28e3
cw 0xd
call send_back  ; 23327 (0x5b1f)

lri $AR1,    #0xb76d
lri $IX1,    #0xcffe
lri $WR1,    #0x9d8b
cw 0xd
call send_back  ; 23328 (0x5b20)

lri $AR1,    #0x67ff
lri $IX1,    #0x5716
lri $WR1,    #0x56bb
cw 0xd
call send_back  ; 23329 (0x5b21)

lri $AR1,    #0x9642
lri $IX1,    #0x96fc
lri $WR1,    #0x8ae4
cw 0xd
call send_back  ; 23330 (0x5b22)

lri $AR1,    #0x63e3
lri $IX1,    #0xd21e
lri $WR1,    #0xa8f4
cw 0xd
call send_back  ; 23331 (0x5b23)

lri $AR1,    #0xd371
lri $IX1,    #0x1400
lri $WR1,    #0x52be
cw 0xd
call send_back  ; 23332 (0x5b24)

lri $AR1,    #0x4a5e
lri $IX1,    #0xa3ca
lri $WR1,    #0x5ddb
cw 0xd
call send_back  ; 23333 (0x5b25)

lri $AR1,    #0x2c8c
lri $IX1,    #0xc8d4
lri $WR1,    #0x8a8b
cw 0xd
call send_back  ; 23334 (0x5b26)

lri $AR1,    #0xcd3b
lri $IX1,    #0x9b76
lri $WR1,    #0x61b2
cw 0xd
call send_back  ; 23335 (0x5b27)

lri $AR1,    #0x88a5
lri $IX1,    #0xf004
lri $WR1,    #0xb075
cw 0xd
call send_back  ; 23336 (0x5b28)

lri $AR1,    #0xc51b
lri $IX1,    #0x3132
lri $WR1,    #0x4193
cw 0xd
call send_back  ; 23337 (0x5b29)

lri $AR1,    #0x39e4
lri $IX1,    #0x1aac
lri $WR1,    #0x21ff
cw 0xd
call send_back  ; 23338 (0x5b2a)

lri $AR1,    #0x8dc6
lri $IX1,    #0x944e
lri $WR1,    #0x4fd7
cw 0xd
call send_back  ; 23339 (0x5b2b)

lri $AR1,    #0x8681
lri $IX1,    #0x51b4
lri $WR1,    #0x8836
cw 0xd
call send_back  ; 23340 (0x5b2c)

lri $AR1,    #0x7df1
lri $IX1,    #0x3168
lri $WR1,    #0x6206
cw 0xd
call send_back  ; 23341 (0x5b2d)

lri $AR1,    #0x815a
lri $IX1,    #0x82a6
lri $WR1,    #0x6153
cw 0xd
call send_back  ; 23342 (0x5b2e)

lri $AR1,    #0xc27f
lri $IX1,    #0x37e4
lri $WR1,    #0x9036
cw 0xd
call send_back  ; 23343 (0x5b2f)

lri $AR1,    #0x39f1
lri $IX1,    #0x7fee
lri $WR1,    #0x4fe3
cw 0xd
call send_back  ; 23344 (0x5b30)

lri $AR1,    #0x6554
lri $IX1,    #0x2704
lri $WR1,    #0x5df5
cw 0xd
call send_back  ; 23345 (0x5b31)

lri $AR1,    #0xcbfa
lri $IX1,    #0x5ca2
lri $WR1,    #0x5772
cw 0xd
call send_back  ; 23346 (0x5b32)

lri $AR1,    #0xc794
lri $IX1,    #0xea68
lri $WR1,    #0xb4b5
cw 0xd
call send_back  ; 23347 (0x5b33)

lri $AR1,    #0x565d
lri $IX1,    #0x6bcc
lri $WR1,    #0xaeb1
cw 0xd
call send_back  ; 23348 (0x5b34)

lri $AR1,    #0xd772
lri $IX1,    #0x8e14
lri $WR1,    #0x97b2
cw 0xd
call send_back  ; 23349 (0x5b35)

lri $AR1,    #0xe1c5
lri $IX1,    #0xab34
lri $WR1,    #0xcf1f
cw 0xd
call send_back  ; 23350 (0x5b36)

lri $AR1,    #0x496f
lri $IX1,    #0x1204
lri $WR1,    #0x7957
cw 0xd
call send_back  ; 23351 (0x5b37)

lri $AR1,    #0xbea2
lri $IX1,    #0xe19e
lri $WR1,    #0x6a31
cw 0xd
call send_back  ; 23352 (0x5b38)

lri $AR1,    #0x9d2d
lri $IX1,    #0x6520
lri $WR1,    #0x9a2c
cw 0xd
call send_back  ; 23353 (0x5b39)

lri $AR1,    #0x62b7
lri $IX1,    #0x38a4
lri $WR1,    #0x6bf6
cw 0xd
call send_back  ; 23354 (0x5b3a)

lri $AR1,    #0xb5ae
lri $IX1,    #0x0fda
lri $WR1,    #0x5936
cw 0xd
call send_back  ; 23355 (0x5b3b)

lri $AR1,    #0x4e18
lri $IX1,    #0x99ec
lri $WR1,    #0x3347
cw 0xd
call send_back  ; 23356 (0x5b3c)

lri $AR1,    #0x4d22
lri $IX1,    #0x9624
lri $WR1,    #0x5de7
cw 0xd
call send_back  ; 23357 (0x5b3d)

lri $AR1,    #0x7fc0
lri $IX1,    #0x97fa
lri $WR1,    #0xa76a
cw 0xd
call send_back  ; 23358 (0x5b3e)

lri $AR1,    #0x0c2b
lri $IX1,    #0x1904
lri $WR1,    #0x8382
cw 0xd
call send_back  ; 23359 (0x5b3f)

lri $AR1,    #0x818d
lri $IX1,    #0x2a76
lri $WR1,    #0x5336
cw 0xd
call send_back  ; 23360 (0x5b40)

lri $AR1,    #0x8ca7
lri $IX1,    #0x3f98
lri $WR1,    #0xee03
cw 0xd
call send_back  ; 23361 (0x5b41)

lri $AR1,    #0x93cc
lri $IX1,    #0x05f2
lri $WR1,    #0x2dc5
cw 0xd
call send_back  ; 23362 (0x5b42)

lri $AR1,    #0x8ff6
lri $IX1,    #0xef96
lri $WR1,    #0x3085
cw 0xd
call send_back  ; 23363 (0x5b43)

lri $AR1,    #0x8045
lri $IX1,    #0xd734
lri $WR1,    #0xb893
cw 0xd
call send_back  ; 23364 (0x5b44)

lri $AR1,    #0xb0c5
lri $IX1,    #0xdd68
lri $WR1,    #0x6d31
cw 0xd
call send_back  ; 23365 (0x5b45)

lri $AR1,    #0x9cbd
lri $IX1,    #0x2a00
lri $WR1,    #0x9b2c
cw 0xd
call send_back  ; 23366 (0x5b46)

lri $AR1,    #0x5856
lri $IX1,    #0x7b9a
lri $WR1,    #0x56a0
cw 0xd
call send_back  ; 23367 (0x5b47)

lri $AR1,    #0x8500
lri $IX1,    #0x4358
lri $WR1,    #0x644f
cw 0xd
call send_back  ; 23368 (0x5b48)

lri $AR1,    #0xbf43
lri $IX1,    #0x51fa
lri $WR1,    #0x7ac1
cw 0xd
call send_back  ; 23369 (0x5b49)

lri $AR1,    #0x946c
lri $IX1,    #0xb74e
lri $WR1,    #0x989a
cw 0xd
call send_back  ; 23370 (0x5b4a)

lri $AR1,    #0x41cd
lri $IX1,    #0x4412
lri $WR1,    #0xbf4c
cw 0xd
call send_back  ; 23371 (0x5b4b)

lri $AR1,    #0xa6f4
lri $IX1,    #0x0248
lri $WR1,    #0x36b0
cw 0xd
call send_back  ; 23372 (0x5b4c)

lri $AR1,    #0x4f9d
lri $IX1,    #0xcf30
lri $WR1,    #0x7799
cw 0xd
call send_back  ; 23373 (0x5b4d)

lri $AR1,    #0xa9ad
lri $IX1,    #0xedc4
lri $WR1,    #0xd8e2
cw 0xd
call send_back  ; 23374 (0x5b4e)

lri $AR1,    #0x3f11
lri $IX1,    #0xc7f6
lri $WR1,    #0x7c19
cw 0xd
call send_back  ; 23375 (0x5b4f)

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