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

lri $AR1,    #0x720f
lri $IX1,    #0x2afa
lri $WR1,    #0xac69
cw 0xd
call send_back  ; 43255 (0xa8f7)

lri $AR1,    #0xb90d
lri $IX1,    #0xe73a
lri $WR1,    #0x5ae4
cw 0xd
call send_back  ; 43256 (0xa8f8)

lri $AR1,    #0xb0e0
lri $IX1,    #0x145e
lri $WR1,    #0xb308
cw 0xd
call send_back  ; 43257 (0xa8f9)

lri $AR1,    #0x7c7c
lri $IX1,    #0xa21c
lri $WR1,    #0x60b4
cw 0xd
call send_back  ; 43258 (0xa8fa)

lri $AR1,    #0xa20a
lri $IX1,    #0x05ae
lri $WR1,    #0x3cf0
cw 0xd
call send_back  ; 43259 (0xa8fb)

lri $AR1,    #0xa239
lri $IX1,    #0x4038
lri $WR1,    #0xa72b
cw 0xd
call send_back  ; 43260 (0xa8fc)

lri $AR1,    #0x3a4f
lri $IX1,    #0x31ee
lri $WR1,    #0x8463
cw 0xd
call send_back  ; 43261 (0xa8fd)

lri $AR1,    #0xed4b
lri $IX1,    #0x58a0
lri $WR1,    #0xa7dd
cw 0xd
call send_back  ; 43262 (0xa8fe)

lri $AR1,    #0x73e0
lri $IX1,    #0x3832
lri $WR1,    #0x8a71
cw 0xd
call send_back  ; 43263 (0xa8ff)

lri $AR1,    #0x2aa1
lri $IX1,    #0x5e8e
lri $WR1,    #0x9af6
cw 0xd
call send_back  ; 43264 (0xa900)

lri $AR1,    #0x612a
lri $IX1,    #0x1ca8
lri $WR1,    #0x7be8
cw 0xd
call send_back  ; 43265 (0xa901)

lri $AR1,    #0x6c98
lri $IX1,    #0x8922
lri $WR1,    #0x8fdb
cw 0xd
call send_back  ; 43266 (0xa902)

lri $AR1,    #0x731e
lri $IX1,    #0x111a
lri $WR1,    #0xa7b5
cw 0xd
call send_back  ; 43267 (0xa903)

lri $AR1,    #0x6e07
lri $IX1,    #0x9eb4
lri $WR1,    #0x5b5a
cw 0xd
call send_back  ; 43268 (0xa904)

lri $AR1,    #0x3afb
lri $IX1,    #0x14fa
lri $WR1,    #0x6ece
cw 0xd
call send_back  ; 43269 (0xa905)

lri $AR1,    #0xa4c5
lri $IX1,    #0x6b96
lri $WR1,    #0x8350
cw 0xd
call send_back  ; 43270 (0xa906)

lri $AR1,    #0x6f8f
lri $IX1,    #0xf4ee
lri $WR1,    #0x959c
cw 0xd
call send_back  ; 43271 (0xa907)

lri $AR1,    #0x0bae
lri $IX1,    #0x2c5c
lri $WR1,    #0x4fca
cw 0xd
call send_back  ; 43272 (0xa908)

lri $AR1,    #0x7e07
lri $IX1,    #0xb1ce
lri $WR1,    #0xdee1
cw 0xd
call send_back  ; 43273 (0xa909)

lri $AR1,    #0xac2e
lri $IX1,    #0xb3a6
lri $WR1,    #0x29b6
cw 0xd
call send_back  ; 43274 (0xa90a)

lri $AR1,    #0x6e32
lri $IX1,    #0xd732
lri $WR1,    #0x5820
cw 0xd
call send_back  ; 43275 (0xa90b)

lri $AR1,    #0x6f49
lri $IX1,    #0x936c
lri $WR1,    #0x6f0a
cw 0xd
call send_back  ; 43276 (0xa90c)

lri $AR1,    #0x624a
lri $IX1,    #0xc97e
lri $WR1,    #0xbf87
cw 0xd
call send_back  ; 43277 (0xa90d)

lri $AR1,    #0xbe23
lri $IX1,    #0x11ba
lri $WR1,    #0xe464
cw 0xd
call send_back  ; 43278 (0xa90e)

lri $AR1,    #0x7a3f
lri $IX1,    #0x9360
lri $WR1,    #0x6b53
cw 0xd
call send_back  ; 43279 (0xa90f)

lri $AR1,    #0xfa08
lri $IX1,    #0x3106
lri $WR1,    #0x6c3b
cw 0xd
call send_back  ; 43280 (0xa910)

lri $AR1,    #0xe279
lri $IX1,    #0x3ae2
lri $WR1,    #0x9abc
cw 0xd
call send_back  ; 43281 (0xa911)

lri $AR1,    #0x53f0
lri $IX1,    #0x93ec
lri $WR1,    #0xab82
cw 0xd
call send_back  ; 43282 (0xa912)

lri $AR1,    #0x5627
lri $IX1,    #0x25ea
lri $WR1,    #0x985d
cw 0xd
call send_back  ; 43283 (0xa913)

lri $AR1,    #0x8b90
lri $IX1,    #0x8480
lri $WR1,    #0x43d3
cw 0xd
call send_back  ; 43284 (0xa914)

lri $AR1,    #0xdd00
lri $IX1,    #0x964a
lri $WR1,    #0x9617
cw 0xd
call send_back  ; 43285 (0xa915)

lri $AR1,    #0x1dd7
lri $IX1,    #0xe710
lri $WR1,    #0x4b15
cw 0xd
call send_back  ; 43286 (0xa916)

lri $AR1,    #0x8c91
lri $IX1,    #0xc53c
lri $WR1,    #0xaa81
cw 0xd
call send_back  ; 43287 (0xa917)

lri $AR1,    #0x6b00
lri $IX1,    #0x606c
lri $WR1,    #0x28a2
cw 0xd
call send_back  ; 43288 (0xa918)

lri $AR1,    #0x1502
lri $IX1,    #0xa678
lri $WR1,    #0xd7c5
cw 0xd
call send_back  ; 43289 (0xa919)

lri $AR1,    #0xdc12
lri $IX1,    #0x77b2
lri $WR1,    #0x7ff7
cw 0xd
call send_back  ; 43290 (0xa91a)

lri $AR1,    #0x615f
lri $IX1,    #0xdab6
lri $WR1,    #0x8416
cw 0xd
call send_back  ; 43291 (0xa91b)

lri $AR1,    #0x8fed
lri $IX1,    #0xfb92
lri $WR1,    #0xd0d0
cw 0xd
call send_back  ; 43292 (0xa91c)

lri $AR1,    #0x935e
lri $IX1,    #0xd9ae
lri $WR1,    #0xcb8b
cw 0xd
call send_back  ; 43293 (0xa91d)

lri $AR1,    #0x97d3
lri $IX1,    #0x7318
lri $WR1,    #0x74dc
cw 0xd
call send_back  ; 43294 (0xa91e)

lri $AR1,    #0x22a9
lri $IX1,    #0xdbb2
lri $WR1,    #0x938f
cw 0xd
call send_back  ; 43295 (0xa91f)

lri $AR1,    #0x4b68
lri $IX1,    #0xe1f4
lri $WR1,    #0xa2db
cw 0xd
call send_back  ; 43296 (0xa920)

lri $AR1,    #0xe7a6
lri $IX1,    #0x8aa2
lri $WR1,    #0x47c6
cw 0xd
call send_back  ; 43297 (0xa921)

lri $AR1,    #0x3c43
lri $IX1,    #0xa83e
lri $WR1,    #0x9f4e
cw 0xd
call send_back  ; 43298 (0xa922)

lri $AR1,    #0xd9be
lri $IX1,    #0x0282
lri $WR1,    #0xa874
cw 0xd
call send_back  ; 43299 (0xa923)

lri $AR1,    #0xd0f4
lri $IX1,    #0xc5c6
lri $WR1,    #0x429b
cw 0xd
call send_back  ; 43300 (0xa924)

lri $AR1,    #0x4926
lri $IX1,    #0x2980
lri $WR1,    #0x926b
cw 0xd
call send_back  ; 43301 (0xa925)

lri $AR1,    #0x8f86
lri $IX1,    #0x48d6
lri $WR1,    #0x7cb3
cw 0xd
call send_back  ; 43302 (0xa926)

lri $AR1,    #0x5c26
lri $IX1,    #0xe774
lri $WR1,    #0xa868
cw 0xd
call send_back  ; 43303 (0xa927)

lri $AR1,    #0x1f91
lri $IX1,    #0x307c
lri $WR1,    #0x7e3f
cw 0xd
call send_back  ; 43304 (0xa928)

lri $AR1,    #0x97e4
lri $IX1,    #0x44f0
lri $WR1,    #0xc606
cw 0xd
call send_back  ; 43305 (0xa929)

lri $AR1,    #0x8bb8
lri $IX1,    #0x8a4e
lri $WR1,    #0xaf44
cw 0xd
call send_back  ; 43306 (0xa92a)

lri $AR1,    #0xbca4
lri $IX1,    #0xf9c6
lri $WR1,    #0xa423
cw 0xd
call send_back  ; 43307 (0xa92b)

lri $AR1,    #0x4ab5
lri $IX1,    #0x13bc
lri $WR1,    #0x9b4d
cw 0xd
call send_back  ; 43308 (0xa92c)

lri $AR1,    #0xbd9a
lri $IX1,    #0x7310
lri $WR1,    #0x96bf
cw 0xd
call send_back  ; 43309 (0xa92d)

lri $AR1,    #0x17e7
lri $IX1,    #0x26cc
lri $WR1,    #0x7b15
cw 0xd
call send_back  ; 43310 (0xa92e)

lri $AR1,    #0x9c2e
lri $IX1,    #0xd8b4
lri $WR1,    #0xcc76
cw 0xd
call send_back  ; 43311 (0xa92f)

lri $AR1,    #0xa34f
lri $IX1,    #0x3a68
lri $WR1,    #0x83a7
cw 0xd
call send_back  ; 43312 (0xa930)

lri $AR1,    #0x6ebf
lri $IX1,    #0x1a74
lri $WR1,    #0x7753
cw 0xd
call send_back  ; 43313 (0xa931)

lri $AR1,    #0x211f
lri $IX1,    #0xbe28
lri $WR1,    #0xa311
cw 0xd
call send_back  ; 43314 (0xa932)

lri $AR1,    #0xdaf4
lri $IX1,    #0x8c70
lri $WR1,    #0x474a
cw 0xd
call send_back  ; 43315 (0xa933)

lri $AR1,    #0x40c4
lri $IX1,    #0x9996
lri $WR1,    #0x5282
cw 0xd
call send_back  ; 43316 (0xa934)

lri $AR1,    #0x4b7d
lri $IX1,    #0x1b2e
lri $WR1,    #0x9e15
cw 0xd
call send_back  ; 43317 (0xa935)

lri $AR1,    #0x9364
lri $IX1,    #0x16fa
lri $WR1,    #0x25fb
cw 0xd
call send_back  ; 43318 (0xa936)

lri $AR1,    #0x295f
lri $IX1,    #0x9f26
lri $WR1,    #0x64a2
cw 0xd
call send_back  ; 43319 (0xa937)

lri $AR1,    #0x69f3
lri $IX1,    #0x819a
lri $WR1,    #0x416f
cw 0xd
call send_back  ; 43320 (0xa938)

lri $AR1,    #0xe0ba
lri $IX1,    #0x57c2
lri $WR1,    #0xe9f4
cw 0xd
call send_back  ; 43321 (0xa939)

lri $AR1,    #0xb2af
lri $IX1,    #0x3f8c
lri $WR1,    #0xdb6f
cw 0xd
call send_back  ; 43322 (0xa93a)

lri $AR1,    #0x7910
lri $IX1,    #0x15f4
lri $WR1,    #0xb395
cw 0xd
call send_back  ; 43323 (0xa93b)

lri $AR1,    #0x5e31
lri $IX1,    #0xaef8
lri $WR1,    #0x7553
cw 0xd
call send_back  ; 43324 (0xa93c)

lri $AR1,    #0x8910
lri $IX1,    #0x1e30
lri $WR1,    #0xa776
cw 0xd
call send_back  ; 43325 (0xa93d)

lri $AR1,    #0xd3f1
lri $IX1,    #0x8ee4
lri $WR1,    #0x70df
cw 0xd
call send_back  ; 43326 (0xa93e)

lri $AR1,    #0xcdde
lri $IX1,    #0x49f8
lri $WR1,    #0x7756
cw 0xd
call send_back  ; 43327 (0xa93f)

lri $AR1,    #0x7e4e
lri $IX1,    #0x3b74
lri $WR1,    #0xab6f
cw 0xd
call send_back  ; 43328 (0xa940)

lri $AR1,    #0x2dd6
lri $IX1,    #0x70ec
lri $WR1,    #0xb5b4
cw 0xd
call send_back  ; 43329 (0xa941)

lri $AR1,    #0xf616
lri $IX1,    #0x85bc
lri $WR1,    #0x4698
cw 0xd
call send_back  ; 43330 (0xa942)

lri $AR1,    #0x6ed9
lri $IX1,    #0xa144
lri $WR1,    #0x7c2e
cw 0xd
call send_back  ; 43331 (0xa943)

lri $AR1,    #0x5590
lri $IX1,    #0x6f02
lri $WR1,    #0x4659
cw 0xd
call send_back  ; 43332 (0xa944)

lri $AR1,    #0x6816
lri $IX1,    #0x2fe4
lri $WR1,    #0x0b69
cw 0xd
call send_back  ; 43333 (0xa945)

lri $AR1,    #0x3aff
lri $IX1,    #0x8f8a
lri $WR1,    #0xacbc
cw 0xd
call send_back  ; 43334 (0xa946)

lri $AR1,    #0x774a
lri $IX1,    #0x27e0
lri $WR1,    #0x4c7e
cw 0xd
call send_back  ; 43335 (0xa947)

lri $AR1,    #0x82b4
lri $IX1,    #0x70d6
lri $WR1,    #0xbb02
cw 0xd
call send_back  ; 43336 (0xa948)

lri $AR1,    #0x8194
lri $IX1,    #0x2182
lri $WR1,    #0x1bde
cw 0xd
call send_back  ; 43337 (0xa949)

lri $AR1,    #0x4088
lri $IX1,    #0xa37a
lri $WR1,    #0x8047
cw 0xd
call send_back  ; 43338 (0xa94a)

lri $AR1,    #0x47b2
lri $IX1,    #0x08d0
lri $WR1,    #0x45be
cw 0xd
call send_back  ; 43339 (0xa94b)

lri $AR1,    #0x80f1
lri $IX1,    #0xd858
lri $WR1,    #0x5daf
cw 0xd
call send_back  ; 43340 (0xa94c)

lri $AR1,    #0xd5cf
lri $IX1,    #0xdba0
lri $WR1,    #0x9bfb
cw 0xd
call send_back  ; 43341 (0xa94d)

lri $AR1,    #0x5981
lri $IX1,    #0xc570
lri $WR1,    #0xa80c
cw 0xd
call send_back  ; 43342 (0xa94e)

lri $AR1,    #0xd6c8
lri $IX1,    #0xe70e
lri $WR1,    #0x8d81
cw 0xd
call send_back  ; 43343 (0xa94f)

lri $AR1,    #0x50f5
lri $IX1,    #0x1e26
lri $WR1,    #0x8f01
cw 0xd
call send_back  ; 43344 (0xa950)

lri $AR1,    #0x92f9
lri $IX1,    #0x8c96
lri $WR1,    #0x273b
cw 0xd
call send_back  ; 43345 (0xa951)

lri $AR1,    #0x26b6
lri $IX1,    #0x6708
lri $WR1,    #0x71b5
cw 0xd
call send_back  ; 43346 (0xa952)

lri $AR1,    #0x627d
lri $IX1,    #0x168e
lri $WR1,    #0x6670
cw 0xd
call send_back  ; 43347 (0xa953)

lri $AR1,    #0x81e7
lri $IX1,    #0xed1a
lri $WR1,    #0x48ef
cw 0xd
call send_back  ; 43348 (0xa954)

lri $AR1,    #0x5afe
lri $IX1,    #0xa432
lri $WR1,    #0xc4b5
cw 0xd
call send_back  ; 43349 (0xa955)

lri $AR1,    #0x8fe9
lri $IX1,    #0xa898
lri $WR1,    #0xcec7
cw 0xd
call send_back  ; 43350 (0xa956)

lri $AR1,    #0x80f9
lri $IX1,    #0xb536
lri $WR1,    #0x654c
cw 0xd
call send_back  ; 43351 (0xa957)

lri $AR1,    #0x1a64
lri $IX1,    #0x5342
lri $WR1,    #0x8bc8
cw 0xd
call send_back  ; 43352 (0xa958)

lri $AR1,    #0xc484
lri $IX1,    #0x5cbc
lri $WR1,    #0x4c15
cw 0xd
call send_back  ; 43353 (0xa959)

lri $AR1,    #0x9cd3
lri $IX1,    #0x7a2a
lri $WR1,    #0x719d
cw 0xd
call send_back  ; 43354 (0xa95a)

lri $AR1,    #0x919b
lri $IX1,    #0xa3ec
lri $WR1,    #0x85ee
cw 0xd
call send_back  ; 43355 (0xa95b)

lri $AR1,    #0x6184
lri $IX1,    #0xd2ea
lri $WR1,    #0x2b33
cw 0xd
call send_back  ; 43356 (0xa95c)

lri $AR1,    #0xbbe6
lri $IX1,    #0x23f0
lri $WR1,    #0xaaa0
cw 0xd
call send_back  ; 43357 (0xa95d)

lri $AR1,    #0x2e27
lri $IX1,    #0x9c82
lri $WR1,    #0x4a69
cw 0xd
call send_back  ; 43358 (0xa95e)

lri $AR1,    #0x8dfd
lri $IX1,    #0x5f88
lri $WR1,    #0xa047
cw 0xd
call send_back  ; 43359 (0xa95f)

lri $AR1,    #0x87d4
lri $IX1,    #0x5390
lri $WR1,    #0x7b30
cw 0xd
call send_back  ; 43360 (0xa960)

lri $AR1,    #0xc439
lri $IX1,    #0xe404
lri $WR1,    #0x8836
cw 0xd
call send_back  ; 43361 (0xa961)

lri $AR1,    #0x1690
lri $IX1,    #0x821e
lri $WR1,    #0x6437
cw 0xd
call send_back  ; 43362 (0xa962)

lri $AR1,    #0x3aef
lri $IX1,    #0xb9dc
lri $WR1,    #0x3d61
cw 0xd
call send_back  ; 43363 (0xa963)

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