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

lri $AR1,    #0x3cb0
lri $IX1,    #0x553c
lri $WR1,    #0x4f09
cw 0xd
call send_back  ; 13982 (0x369e)

lri $AR1,    #0x8270
lri $IX1,    #0x85b0
lri $WR1,    #0x71ce
cw 0xd
call send_back  ; 13983 (0x369f)

lri $AR1,    #0x8b36
lri $IX1,    #0x20d6
lri $WR1,    #0x2d0e
cw 0xd
call send_back  ; 13984 (0x36a0)

lri $AR1,    #0x6c7e
lri $IX1,    #0x1276
lri $WR1,    #0x18c4
cw 0xd
call send_back  ; 13985 (0x36a1)

lri $AR1,    #0x3b69
lri $IX1,    #0xe776
lri $WR1,    #0x8ac3
cw 0xd
call send_back  ; 13986 (0x36a2)

lri $AR1,    #0x7a1d
lri $IX1,    #0x0e54
lri $WR1,    #0x35bf
cw 0xd
call send_back  ; 13987 (0x36a3)

lri $AR1,    #0xb578
lri $IX1,    #0x7788
lri $WR1,    #0x94b0
cw 0xd
call send_back  ; 13988 (0x36a4)

lri $AR1,    #0x9c21
lri $IX1,    #0xc512
lri $WR1,    #0x34b1
cw 0xd
call send_back  ; 13989 (0x36a5)

lri $AR1,    #0xe70e
lri $IX1,    #0x43fa
lri $WR1,    #0xcce6
cw 0xd
call send_back  ; 13990 (0x36a6)

lri $AR1,    #0x8f75
lri $IX1,    #0xaa2e
lri $WR1,    #0x5577
cw 0xd
call send_back  ; 13991 (0x36a7)

lri $AR1,    #0x6563
lri $IX1,    #0xe676
lri $WR1,    #0x542d
cw 0xd
call send_back  ; 13992 (0x36a8)

lri $AR1,    #0x85da
lri $IX1,    #0x17d6
lri $WR1,    #0xbecd
cw 0xd
call send_back  ; 13993 (0x36a9)

lri $AR1,    #0x4eb8
lri $IX1,    #0xdd36
lri $WR1,    #0x80ad
cw 0xd
call send_back  ; 13994 (0x36aa)

lri $AR1,    #0xa239
lri $IX1,    #0x7d80
lri $WR1,    #0x42ae
cw 0xd
call send_back  ; 13995 (0x36ab)

lri $AR1,    #0x736c
lri $IX1,    #0xcc46
lri $WR1,    #0x6a0f
cw 0xd
call send_back  ; 13996 (0x36ac)

lri $AR1,    #0x9064
lri $IX1,    #0x05e4
lri $WR1,    #0x3c3e
cw 0xd
call send_back  ; 13997 (0x36ad)

lri $AR1,    #0xce79
lri $IX1,    #0x0a4c
lri $WR1,    #0x132c
cw 0xd
call send_back  ; 13998 (0x36ae)

lri $AR1,    #0x8062
lri $IX1,    #0x3c88
lri $WR1,    #0x6f35
cw 0xd
call send_back  ; 13999 (0x36af)

lri $AR1,    #0xd583
lri $IX1,    #0xc0d8
lri $WR1,    #0x5932
cw 0xd
call send_back  ; 14000 (0x36b0)

lri $AR1,    #0x4d34
lri $IX1,    #0xbace
lri $WR1,    #0x50c1
cw 0xd
call send_back  ; 14001 (0x36b1)

lri $AR1,    #0x285b
lri $IX1,    #0x681e
lri $WR1,    #0x504e
cw 0xd
call send_back  ; 14002 (0x36b2)

lri $AR1,    #0x9720
lri $IX1,    #0x6476
lri $WR1,    #0xa1f6
cw 0xd
call send_back  ; 14003 (0x36b3)

lri $AR1,    #0xa80d
lri $IX1,    #0xe646
lri $WR1,    #0xb5d0
cw 0xd
call send_back  ; 14004 (0x36b4)

lri $AR1,    #0x9976
lri $IX1,    #0x3ba6
lri $WR1,    #0x43ad
cw 0xd
call send_back  ; 14005 (0x36b5)

lri $AR1,    #0x7d61
lri $IX1,    #0x1a3a
lri $WR1,    #0x9fd7
cw 0xd
call send_back  ; 14006 (0x36b6)

lri $AR1,    #0x83da
lri $IX1,    #0x5474
lri $WR1,    #0xabf2
cw 0xd
call send_back  ; 14007 (0x36b7)

lri $AR1,    #0x96e8
lri $IX1,    #0x19e0
lri $WR1,    #0x9277
cw 0xd
call send_back  ; 14008 (0x36b8)

lri $AR1,    #0x9f0d
lri $IX1,    #0xefee
lri $WR1,    #0x64ec
cw 0xd
call send_back  ; 14009 (0x36b9)

lri $AR1,    #0xa685
lri $IX1,    #0xebf0
lri $WR1,    #0xa261
cw 0xd
call send_back  ; 14010 (0x36ba)

lri $AR1,    #0x8532
lri $IX1,    #0x46a4
lri $WR1,    #0x7d42
cw 0xd
call send_back  ; 14011 (0x36bb)

lri $AR1,    #0x266d
lri $IX1,    #0x052e
lri $WR1,    #0x4d0e
cw 0xd
call send_back  ; 14012 (0x36bc)

lri $AR1,    #0xb597
lri $IX1,    #0x0aaa
lri $WR1,    #0x5205
cw 0xd
call send_back  ; 14013 (0x36bd)

lri $AR1,    #0x6db8
lri $IX1,    #0x5142
lri $WR1,    #0x2e60
cw 0xd
call send_back  ; 14014 (0x36be)

lri $AR1,    #0x4bff
lri $IX1,    #0x2922
lri $WR1,    #0x9a17
cw 0xd
call send_back  ; 14015 (0x36bf)

lri $AR1,    #0xdc67
lri $IX1,    #0x0ef0
lri $WR1,    #0x3bd3
cw 0xd
call send_back  ; 14016 (0x36c0)

lri $AR1,    #0x2368
lri $IX1,    #0xd34a
lri $WR1,    #0x9b15
cw 0xd
call send_back  ; 14017 (0x36c1)

lri $AR1,    #0x26e6
lri $IX1,    #0x47ee
lri $WR1,    #0xad1f
cw 0xd
call send_back  ; 14018 (0x36c2)

lri $AR1,    #0xac52
lri $IX1,    #0x56fe
lri $WR1,    #0x6fbb
cw 0xd
call send_back  ; 14019 (0x36c3)

lri $AR1,    #0x491d
lri $IX1,    #0x2c20
lri $WR1,    #0x3a5f
cw 0xd
call send_back  ; 14020 (0x36c4)

lri $AR1,    #0x3e8b
lri $IX1,    #0xcec0
lri $WR1,    #0x47d1
cw 0xd
call send_back  ; 14021 (0x36c5)

lri $AR1,    #0x28f1
lri $IX1,    #0x1868
lri $WR1,    #0x57c1
cw 0xd
call send_back  ; 14022 (0x36c6)

lri $AR1,    #0x2e72
lri $IX1,    #0x3144
lri $WR1,    #0x898e
cw 0xd
call send_back  ; 14023 (0x36c7)

lri $AR1,    #0x704f
lri $IX1,    #0x90ea
lri $WR1,    #0x96a2
cw 0xd
call send_back  ; 14024 (0x36c8)

lri $AR1,    #0x6dc5
lri $IX1,    #0xc872
lri $WR1,    #0x3c87
cw 0xd
call send_back  ; 14025 (0x36c9)

lri $AR1,    #0xa6b3
lri $IX1,    #0xf6da
lri $WR1,    #0xd442
cw 0xd
call send_back  ; 14026 (0x36ca)

lri $AR1,    #0x7fe1
lri $IX1,    #0x97f6
lri $WR1,    #0xa60b
cw 0xd
call send_back  ; 14027 (0x36cb)

lri $AR1,    #0x9231
lri $IX1,    #0x41ba
lri $WR1,    #0xdde3
cw 0xd
call send_back  ; 14028 (0x36cc)

lri $AR1,    #0x8992
lri $IX1,    #0xbb3e
lri $WR1,    #0x7f1b
cw 0xd
call send_back  ; 14029 (0x36cd)

lri $AR1,    #0x67fe
lri $IX1,    #0x842c
lri $WR1,    #0x3274
cw 0xd
call send_back  ; 14030 (0x36ce)

lri $AR1,    #0xc456
lri $IX1,    #0x430e
lri $WR1,    #0x2bc3
cw 0xd
call send_back  ; 14031 (0x36cf)

lri $AR1,    #0x5473
lri $IX1,    #0x8430
lri $WR1,    #0x89bf
cw 0xd
call send_back  ; 14032 (0x36d0)

lri $AR1,    #0x9d27
lri $IX1,    #0x9a7a
lri $WR1,    #0x5c0c
cw 0xd
call send_back  ; 14033 (0x36d1)

lri $AR1,    #0x629c
lri $IX1,    #0x2ef8
lri $WR1,    #0x4905
cw 0xd
call send_back  ; 14034 (0x36d2)

lri $AR1,    #0xc6c3
lri $IX1,    #0xfb7c
lri $WR1,    #0x7e5f
cw 0xd
call send_back  ; 14035 (0x36d3)

lri $AR1,    #0x4b3a
lri $IX1,    #0x3024
lri $WR1,    #0x8d2f
cw 0xd
call send_back  ; 14036 (0x36d4)

lri $AR1,    #0x8771
lri $IX1,    #0xfaf4
lri $WR1,    #0x6b6e
cw 0xd
call send_back  ; 14037 (0x36d5)

lri $AR1,    #0xb34f
lri $IX1,    #0x7492
lri $WR1,    #0x7275
cw 0xd
call send_back  ; 14038 (0x36d6)

lri $AR1,    #0x8a4d
lri $IX1,    #0xb42e
lri $WR1,    #0xb39e
cw 0xd
call send_back  ; 14039 (0x36d7)

lri $AR1,    #0x6225
lri $IX1,    #0xe0a4
lri $WR1,    #0x4182
cw 0xd
call send_back  ; 14040 (0x36d8)

lri $AR1,    #0x7c11
lri $IX1,    #0x9bf2
lri $WR1,    #0x75ee
cw 0xd
call send_back  ; 14041 (0x36d9)

lri $AR1,    #0x76d3
lri $IX1,    #0x0206
lri $WR1,    #0x2a21
cw 0xd
call send_back  ; 14042 (0x36da)

lri $AR1,    #0xbb57
lri $IX1,    #0x8306
lri $WR1,    #0xa85c
cw 0xd
call send_back  ; 14043 (0x36db)

lri $AR1,    #0xa54a
lri $IX1,    #0x04fa
lri $WR1,    #0xb35f
cw 0xd
call send_back  ; 14044 (0x36dc)

lri $AR1,    #0x6466
lri $IX1,    #0xd034
lri $WR1,    #0x39d2
cw 0xd
call send_back  ; 14045 (0x36dd)

lri $AR1,    #0x82d9
lri $IX1,    #0xb51a
lri $WR1,    #0x093b
cw 0xd
call send_back  ; 14046 (0x36de)

lri $AR1,    #0x8079
lri $IX1,    #0x79da
lri $WR1,    #0x758a
cw 0xd
call send_back  ; 14047 (0x36df)

lri $AR1,    #0x6a37
lri $IX1,    #0xd1a6
lri $WR1,    #0x4fc6
cw 0xd
call send_back  ; 14048 (0x36e0)

lri $AR1,    #0xa084
lri $IX1,    #0xc6ee
lri $WR1,    #0x8ff8
cw 0xd
call send_back  ; 14049 (0x36e1)

lri $AR1,    #0x7f0b
lri $IX1,    #0x7d4a
lri $WR1,    #0xa3d0
cw 0xd
call send_back  ; 14050 (0x36e2)

lri $AR1,    #0x2b82
lri $IX1,    #0x5f80
lri $WR1,    #0x452f
cw 0xd
call send_back  ; 14051 (0x36e3)

lri $AR1,    #0x58f2
lri $IX1,    #0x1162
lri $WR1,    #0x710d
cw 0xd
call send_back  ; 14052 (0x36e4)

lri $AR1,    #0x2837
lri $IX1,    #0xb4d0
lri $WR1,    #0x70d3
cw 0xd
call send_back  ; 14053 (0x36e5)

lri $AR1,    #0x5e0c
lri $IX1,    #0x1cc8
lri $WR1,    #0x45c2
cw 0xd
call send_back  ; 14054 (0x36e6)

lri $AR1,    #0xca7b
lri $IX1,    #0x48c2
lri $WR1,    #0x8770
cw 0xd
call send_back  ; 14055 (0x36e7)

lri $AR1,    #0xd4fb
lri $IX1,    #0xd61c
lri $WR1,    #0xcbe5
cw 0xd
call send_back  ; 14056 (0x36e8)

lri $AR1,    #0x8c03
lri $IX1,    #0xdcfe
lri $WR1,    #0x5972
cw 0xd
call send_back  ; 14057 (0x36e9)

lri $AR1,    #0xb676
lri $IX1,    #0xc984
lri $WR1,    #0x8fcd
cw 0xd
call send_back  ; 14058 (0x36ea)

lri $AR1,    #0x98a4
lri $IX1,    #0x1162
lri $WR1,    #0x8783
cw 0xd
call send_back  ; 14059 (0x36eb)

lri $AR1,    #0x4646
lri $IX1,    #0x09fc
lri $WR1,    #0xbc54
cw 0xd
call send_back  ; 14060 (0x36ec)

lri $AR1,    #0xd624
lri $IX1,    #0x7a18
lri $WR1,    #0x907a
cw 0xd
call send_back  ; 14061 (0x36ed)

lri $AR1,    #0x7bda
lri $IX1,    #0xae1e
lri $WR1,    #0x7483
cw 0xd
call send_back  ; 14062 (0x36ee)

lri $AR1,    #0xcf77
lri $IX1,    #0xb51a
lri $WR1,    #0xe0bb
cw 0xd
call send_back  ; 14063 (0x36ef)

lri $AR1,    #0xc243
lri $IX1,    #0xe064
lri $WR1,    #0x72b8
cw 0xd
call send_back  ; 14064 (0x36f0)

lri $AR1,    #0xcb8e
lri $IX1,    #0x8736
lri $WR1,    #0x4b28
cw 0xd
call send_back  ; 14065 (0x36f1)

lri $AR1,    #0x17c4
lri $IX1,    #0x4af6
lri $WR1,    #0x9550
cw 0xd
call send_back  ; 14066 (0x36f2)

lri $AR1,    #0x57a1
lri $IX1,    #0x889c
lri $WR1,    #0x5380
cw 0xd
call send_back  ; 14067 (0x36f3)

lri $AR1,    #0x94d7
lri $IX1,    #0x26ec
lri $WR1,    #0x80cb
cw 0xd
call send_back  ; 14068 (0x36f4)

lri $AR1,    #0x8cef
lri $IX1,    #0x68e2
lri $WR1,    #0x3251
cw 0xd
call send_back  ; 14069 (0x36f5)

lri $AR1,    #0x62b6
lri $IX1,    #0xb71c
lri $WR1,    #0x7f78
cw 0xd
call send_back  ; 14070 (0x36f6)

lri $AR1,    #0x5a0d
lri $IX1,    #0x5290
lri $WR1,    #0x7a54
cw 0xd
call send_back  ; 14071 (0x36f7)

lri $AR1,    #0xa961
lri $IX1,    #0x7662
lri $WR1,    #0xc69b
cw 0xd
call send_back  ; 14072 (0x36f8)

lri $AR1,    #0x97a9
lri $IX1,    #0x7626
lri $WR1,    #0x4762
cw 0xd
call send_back  ; 14073 (0x36f9)

lri $AR1,    #0x7d29
lri $IX1,    #0xc162
lri $WR1,    #0xc916
cw 0xd
call send_back  ; 14074 (0x36fa)

lri $AR1,    #0x30d9
lri $IX1,    #0x449e
lri $WR1,    #0x5ed0
cw 0xd
call send_back  ; 14075 (0x36fb)

lri $AR1,    #0x53b7
lri $IX1,    #0x43d2
lri $WR1,    #0x3f8f
cw 0xd
call send_back  ; 14076 (0x36fc)

lri $AR1,    #0xa6d9
lri $IX1,    #0x617e
lri $WR1,    #0xa962
cw 0xd
call send_back  ; 14077 (0x36fd)

lri $AR1,    #0x8891
lri $IX1,    #0xf146
lri $WR1,    #0x8e1c
cw 0xd
call send_back  ; 14078 (0x36fe)

lri $AR1,    #0xb85f
lri $IX1,    #0xd45a
lri $WR1,    #0xeea6
cw 0xd
call send_back  ; 14079 (0x36ff)

lri $AR1,    #0x7926
lri $IX1,    #0xd178
lri $WR1,    #0x2f67
cw 0xd
call send_back  ; 14080 (0x3700)

lri $AR1,    #0x7455
lri $IX1,    #0x81e0
lri $WR1,    #0x39eb
cw 0xd
call send_back  ; 14081 (0x3701)

lri $AR1,    #0x4056
lri $IX1,    #0x680a
lri $WR1,    #0x4d57
cw 0xd
call send_back  ; 14082 (0x3702)

lri $AR1,    #0x802e
lri $IX1,    #0x745c
lri $WR1,    #0x509f
cw 0xd
call send_back  ; 14083 (0x3703)

lri $AR1,    #0x9978
lri $IX1,    #0xffd0
lri $WR1,    #0xaf39
cw 0xd
call send_back  ; 14084 (0x3704)

lri $AR1,    #0x59a8
lri $IX1,    #0xfbbc
lri $WR1,    #0x2236
cw 0xd
call send_back  ; 14085 (0x3705)

lri $AR1,    #0x72dd
lri $IX1,    #0xa19e
lri $WR1,    #0xa568
cw 0xd
call send_back  ; 14086 (0x3706)

lri $AR1,    #0x5c10
lri $IX1,    #0x2d28
lri $WR1,    #0x999a
cw 0xd
call send_back  ; 14087 (0x3707)

lri $AR1,    #0xb7e6
lri $IX1,    #0xfe88
lri $WR1,    #0x9a75
cw 0xd
call send_back  ; 14088 (0x3708)

lri $AR1,    #0x5114
lri $IX1,    #0xc9f8
lri $WR1,    #0x380e
cw 0xd
call send_back  ; 14089 (0x3709)

lri $AR1,    #0x5a7f
lri $IX1,    #0x15b0
lri $WR1,    #0xf1cc
cw 0xd
call send_back  ; 14090 (0x370a)

lri $AR1,    #0x5503
lri $IX1,    #0x1646
lri $WR1,    #0x6194
cw 0xd
call send_back  ; 14091 (0x370b)

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