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

lri $AR1,    #0x7ed8
lri $IX1,    #0xb70e
lri $WR1,    #0x1e55
cw 0x15
call send_back  ; 48170 (0xbc2a)

lri $AR1,    #0x35bb
lri $IX1,    #0x4cba
lri $WR1,    #0x93d9
cw 0x15
call send_back  ; 48171 (0xbc2b)

lri $AR1,    #0xa9d4
lri $IX1,    #0x693a
lri $WR1,    #0xada8
cw 0x15
call send_back  ; 48172 (0xbc2c)

lri $AR1,    #0x40dc
lri $IX1,    #0xd36a
lri $WR1,    #0x62e6
cw 0x15
call send_back  ; 48173 (0xbc2d)

lri $AR1,    #0x822e
lri $IX1,    #0x0138
lri $WR1,    #0x7715
cw 0x15
call send_back  ; 48174 (0xbc2e)

lri $AR1,    #0x8de7
lri $IX1,    #0x2f14
lri $WR1,    #0x7108
cw 0x15
call send_back  ; 48175 (0xbc2f)

lri $AR1,    #0xd52b
lri $IX1,    #0x80dc
lri $WR1,    #0x99ea
cw 0x15
call send_back  ; 48176 (0xbc30)

lri $AR1,    #0x7e7b
lri $IX1,    #0x4ab6
lri $WR1,    #0x808e
cw 0x15
call send_back  ; 48177 (0xbc31)

lri $AR1,    #0x203e
lri $IX1,    #0x6550
lri $WR1,    #0xca72
cw 0x15
call send_back  ; 48178 (0xbc32)

lri $AR1,    #0x4f7f
lri $IX1,    #0x00f2
lri $WR1,    #0x4da9
cw 0x15
call send_back  ; 48179 (0xbc33)

lri $AR1,    #0x480f
lri $IX1,    #0xe7ca
lri $WR1,    #0xe41e
cw 0x15
call send_back  ; 48180 (0xbc34)

lri $AR1,    #0x8ee4
lri $IX1,    #0xa7fe
lri $WR1,    #0x8254
cw 0x15
call send_back  ; 48181 (0xbc35)

lri $AR1,    #0x3f09
lri $IX1,    #0xd2c4
lri $WR1,    #0xb92d
cw 0x15
call send_back  ; 48182 (0xbc36)

lri $AR1,    #0x94ed
lri $IX1,    #0x7e26
lri $WR1,    #0x4bbd
cw 0x15
call send_back  ; 48183 (0xbc37)

lri $AR1,    #0xa35c
lri $IX1,    #0xa3b4
lri $WR1,    #0x47d3
cw 0x15
call send_back  ; 48184 (0xbc38)

lri $AR1,    #0xc8fa
lri $IX1,    #0xeebc
lri $WR1,    #0x7928
cw 0x15
call send_back  ; 48185 (0xbc39)

lri $AR1,    #0xdc8a
lri $IX1,    #0x3148
lri $WR1,    #0x7ce1
cw 0x15
call send_back  ; 48186 (0xbc3a)

lri $AR1,    #0x79d0
lri $IX1,    #0x2790
lri $WR1,    #0x8c5d
cw 0x15
call send_back  ; 48187 (0xbc3b)

lri $AR1,    #0x406a
lri $IX1,    #0x8e14
lri $WR1,    #0xabef
cw 0x15
call send_back  ; 48188 (0xbc3c)

lri $AR1,    #0x915b
lri $IX1,    #0xf6f0
lri $WR1,    #0xa38d
cw 0x15
call send_back  ; 48189 (0xbc3d)

lri $AR1,    #0x47b3
lri $IX1,    #0x5fd6
lri $WR1,    #0xe503
cw 0x15
call send_back  ; 48190 (0xbc3e)

lri $AR1,    #0x6c00
lri $IX1,    #0x6a16
lri $WR1,    #0xa4bb
cw 0x15
call send_back  ; 48191 (0xbc3f)

lri $AR1,    #0xda04
lri $IX1,    #0x6326
lri $WR1,    #0xcfb4
cw 0x15
call send_back  ; 48192 (0xbc40)

lri $AR1,    #0x9b5c
lri $IX1,    #0x2426
lri $WR1,    #0x92a2
cw 0x15
call send_back  ; 48193 (0xbc41)

lri $AR1,    #0x396e
lri $IX1,    #0x53b2
lri $WR1,    #0x33db
cw 0x15
call send_back  ; 48194 (0xbc42)

lri $AR1,    #0x5c8e
lri $IX1,    #0xe5a4
lri $WR1,    #0x731f
cw 0x15
call send_back  ; 48195 (0xbc43)

lri $AR1,    #0x9575
lri $IX1,    #0xf0f4
lri $WR1,    #0x57b7
cw 0x15
call send_back  ; 48196 (0xbc44)

lri $AR1,    #0x8a05
lri $IX1,    #0x3c6e
lri $WR1,    #0x2f1a
cw 0x15
call send_back  ; 48197 (0xbc45)

lri $AR1,    #0x4d9e
lri $IX1,    #0x576a
lri $WR1,    #0xdb90
cw 0x15
call send_back  ; 48198 (0xbc46)

lri $AR1,    #0xd0c2
lri $IX1,    #0xd432
lri $WR1,    #0xd3eb
cw 0x15
call send_back  ; 48199 (0xbc47)

lri $AR1,    #0x6b77
lri $IX1,    #0x664e
lri $WR1,    #0x3ae8
cw 0x15
call send_back  ; 48200 (0xbc48)

lri $AR1,    #0x711f
lri $IX1,    #0x5f64
lri $WR1,    #0x1e44
cw 0x15
call send_back  ; 48201 (0xbc49)

lri $AR1,    #0x5c1d
lri $IX1,    #0x69d0
lri $WR1,    #0x1b1c
cw 0x15
call send_back  ; 48202 (0xbc4a)

lri $AR1,    #0x531c
lri $IX1,    #0x90ba
lri $WR1,    #0xb698
cw 0x15
call send_back  ; 48203 (0xbc4b)

lri $AR1,    #0x7144
lri $IX1,    #0xc1ca
lri $WR1,    #0x8f8e
cw 0x15
call send_back  ; 48204 (0xbc4c)

lri $AR1,    #0x3624
lri $IX1,    #0x1d26
lri $WR1,    #0x8704
cw 0x15
call send_back  ; 48205 (0xbc4d)

lri $AR1,    #0x31bd
lri $IX1,    #0xbcfe
lri $WR1,    #0x7b50
cw 0x15
call send_back  ; 48206 (0xbc4e)

lri $AR1,    #0xc455
lri $IX1,    #0x3e46
lri $WR1,    #0x92b8
cw 0x15
call send_back  ; 48207 (0xbc4f)

lri $AR1,    #0x8186
lri $IX1,    #0x60ca
lri $WR1,    #0xb849
cw 0x15
call send_back  ; 48208 (0xbc50)

lri $AR1,    #0xd149
lri $IX1,    #0xad62
lri $WR1,    #0x36da
cw 0x15
call send_back  ; 48209 (0xbc51)

lri $AR1,    #0x2948
lri $IX1,    #0x555c
lri $WR1,    #0xabdb
cw 0x15
call send_back  ; 48210 (0xbc52)

lri $AR1,    #0x8c5c
lri $IX1,    #0x8ee2
lri $WR1,    #0xbcf3
cw 0x15
call send_back  ; 48211 (0xbc53)

lri $AR1,    #0xc567
lri $IX1,    #0xae74
lri $WR1,    #0x710f
cw 0x15
call send_back  ; 48212 (0xbc54)

lri $AR1,    #0x6e79
lri $IX1,    #0x4646
lri $WR1,    #0xa6d8
cw 0x15
call send_back  ; 48213 (0xbc55)

lri $AR1,    #0xa481
lri $IX1,    #0xc892
lri $WR1,    #0xc03d
cw 0x15
call send_back  ; 48214 (0xbc56)

lri $AR1,    #0x2b5a
lri $IX1,    #0xaaa2
lri $WR1,    #0x1c0c
cw 0x15
call send_back  ; 48215 (0xbc57)

lri $AR1,    #0x1d82
lri $IX1,    #0xf2b8
lri $WR1,    #0xbc30
cw 0x15
call send_back  ; 48216 (0xbc58)

lri $AR1,    #0x6e58
lri $IX1,    #0x938e
lri $WR1,    #0xe0ad
cw 0x15
call send_back  ; 48217 (0xbc59)

lri $AR1,    #0x6522
lri $IX1,    #0x1c96
lri $WR1,    #0xccd3
cw 0x15
call send_back  ; 48218 (0xbc5a)

lri $AR1,    #0xaaaf
lri $IX1,    #0x36a6
lri $WR1,    #0x3dda
cw 0x15
call send_back  ; 48219 (0xbc5b)

lri $AR1,    #0x6af1
lri $IX1,    #0x414e
lri $WR1,    #0xaf54
cw 0x15
call send_back  ; 48220 (0xbc5c)

lri $AR1,    #0x4745
lri $IX1,    #0x4d7c
lri $WR1,    #0xc39d
cw 0x15
call send_back  ; 48221 (0xbc5d)

lri $AR1,    #0xc5dd
lri $IX1,    #0xc6a4
lri $WR1,    #0x63d0
cw 0x15
call send_back  ; 48222 (0xbc5e)

lri $AR1,    #0x6df5
lri $IX1,    #0x7c14
lri $WR1,    #0xcc50
cw 0x15
call send_back  ; 48223 (0xbc5f)

lri $AR1,    #0xb83f
lri $IX1,    #0x88b6
lri $WR1,    #0xa079
cw 0x15
call send_back  ; 48224 (0xbc60)

lri $AR1,    #0x4653
lri $IX1,    #0xefd8
lri $WR1,    #0x2986
cw 0x15
call send_back  ; 48225 (0xbc61)

lri $AR1,    #0xd35c
lri $IX1,    #0xca3c
lri $WR1,    #0x723e
cw 0x15
call send_back  ; 48226 (0xbc62)

lri $AR1,    #0x63f9
lri $IX1,    #0xaf18
lri $WR1,    #0x6276
cw 0x15
call send_back  ; 48227 (0xbc63)

lri $AR1,    #0xc274
lri $IX1,    #0xc138
lri $WR1,    #0xb2f7
cw 0x15
call send_back  ; 48228 (0xbc64)

lri $AR1,    #0x304c
lri $IX1,    #0x90f6
lri $WR1,    #0x6bde
cw 0x15
call send_back  ; 48229 (0xbc65)

lri $AR1,    #0xc542
lri $IX1,    #0xf82e
lri $WR1,    #0x7d03
cw 0x15
call send_back  ; 48230 (0xbc66)

lri $AR1,    #0x97c5
lri $IX1,    #0x55e8
lri $WR1,    #0x416e
cw 0x15
call send_back  ; 48231 (0xbc67)

lri $AR1,    #0x620d
lri $IX1,    #0x3be2
lri $WR1,    #0x447c
cw 0x15
call send_back  ; 48232 (0xbc68)

lri $AR1,    #0xc2b7
lri $IX1,    #0xd8ae
lri $WR1,    #0xc8b1
cw 0x15
call send_back  ; 48233 (0xbc69)

lri $AR1,    #0x572a
lri $IX1,    #0x4d8c
lri $WR1,    #0x3dd8
cw 0x15
call send_back  ; 48234 (0xbc6a)

lri $AR1,    #0x219a
lri $IX1,    #0xcfc4
lri $WR1,    #0xe572
cw 0x15
call send_back  ; 48235 (0xbc6b)

lri $AR1,    #0x5402
lri $IX1,    #0x118e
lri $WR1,    #0xba11
cw 0x15
call send_back  ; 48236 (0xbc6c)

lri $AR1,    #0x14d0
lri $IX1,    #0x1762
lri $WR1,    #0x27a5
cw 0x15
call send_back  ; 48237 (0xbc6d)

lri $AR1,    #0x81a3
lri $IX1,    #0x72b2
lri $WR1,    #0xa051
cw 0x15
call send_back  ; 48238 (0xbc6e)

lri $AR1,    #0x77ee
lri $IX1,    #0xfbf0
lri $WR1,    #0x7ad2
cw 0x15
call send_back  ; 48239 (0xbc6f)

lri $AR1,    #0x62c0
lri $IX1,    #0xb1dc
lri $WR1,    #0x2d14
cw 0x15
call send_back  ; 48240 (0xbc70)

lri $AR1,    #0x5889
lri $IX1,    #0x7cfc
lri $WR1,    #0x3ef7
cw 0x15
call send_back  ; 48241 (0xbc71)

lri $AR1,    #0x933b
lri $IX1,    #0x5a44
lri $WR1,    #0x1ed8
cw 0x15
call send_back  ; 48242 (0xbc72)

lri $AR1,    #0x2074
lri $IX1,    #0x00b8
lri $WR1,    #0xb2f8
cw 0x15
call send_back  ; 48243 (0xbc73)

lri $AR1,    #0x6f2d
lri $IX1,    #0x9232
lri $WR1,    #0x783d
cw 0x15
call send_back  ; 48244 (0xbc74)

lri $AR1,    #0x7b91
lri $IX1,    #0x6fee
lri $WR1,    #0x987d
cw 0x15
call send_back  ; 48245 (0xbc75)

lri $AR1,    #0x2972
lri $IX1,    #0x002e
lri $WR1,    #0x7fb2
cw 0x15
call send_back  ; 48246 (0xbc76)

lri $AR1,    #0x4113
lri $IX1,    #0x3276
lri $WR1,    #0x7964
cw 0x15
call send_back  ; 48247 (0xbc77)

lri $AR1,    #0x59a8
lri $IX1,    #0xfcc0
lri $WR1,    #0xa49b
cw 0x15
call send_back  ; 48248 (0xbc78)

lri $AR1,    #0xa84b
lri $IX1,    #0x0432
lri $WR1,    #0x76a2
cw 0x15
call send_back  ; 48249 (0xbc79)

lri $AR1,    #0x89c2
lri $IX1,    #0x48a2
lri $WR1,    #0x71fa
cw 0x15
call send_back  ; 48250 (0xbc7a)

lri $AR1,    #0x90eb
lri $IX1,    #0x1a84
lri $WR1,    #0x88b0
cw 0x15
call send_back  ; 48251 (0xbc7b)

lri $AR1,    #0x4b08
lri $IX1,    #0xff7e
lri $WR1,    #0xb695
cw 0x15
call send_back  ; 48252 (0xbc7c)

lri $AR1,    #0x26d3
lri $IX1,    #0x9248
lri $WR1,    #0x996e
cw 0x15
call send_back  ; 48253 (0xbc7d)

lri $AR1,    #0x5a9f
lri $IX1,    #0xff1e
lri $WR1,    #0x8aa3
cw 0x15
call send_back  ; 48254 (0xbc7e)

lri $AR1,    #0xa954
lri $IX1,    #0x9e4a
lri $WR1,    #0x5f8e
cw 0x15
call send_back  ; 48255 (0xbc7f)

lri $AR1,    #0x5d99
lri $IX1,    #0x7b2a
lri $WR1,    #0x5aec
cw 0x15
call send_back  ; 48256 (0xbc80)

lri $AR1,    #0x1dfd
lri $IX1,    #0x6e3c
lri $WR1,    #0x637d
cw 0x15
call send_back  ; 48257 (0xbc81)

lri $AR1,    #0xbc73
lri $IX1,    #0xf564
lri $WR1,    #0xa177
cw 0x15
call send_back  ; 48258 (0xbc82)

lri $AR1,    #0xb6df
lri $IX1,    #0x4634
lri $WR1,    #0x95c7
cw 0x15
call send_back  ; 48259 (0xbc83)

lri $AR1,    #0xa622
lri $IX1,    #0x5250
lri $WR1,    #0x73b4
cw 0x15
call send_back  ; 48260 (0xbc84)

lri $AR1,    #0xb456
lri $IX1,    #0xbe9e
lri $WR1,    #0x5f04
cw 0x15
call send_back  ; 48261 (0xbc85)

lri $AR1,    #0x429e
lri $IX1,    #0x4280
lri $WR1,    #0x8e1c
cw 0x15
call send_back  ; 48262 (0xbc86)

lri $AR1,    #0x8a53
lri $IX1,    #0xa4b8
lri $WR1,    #0x913b
cw 0x15
call send_back  ; 48263 (0xbc87)

lri $AR1,    #0x1ce3
lri $IX1,    #0xb83c
lri $WR1,    #0x855e
cw 0x15
call send_back  ; 48264 (0xbc88)

lri $AR1,    #0x9123
lri $IX1,    #0x738a
lri $WR1,    #0xa2d0
cw 0x15
call send_back  ; 48265 (0xbc89)

lri $AR1,    #0x4c7d
lri $IX1,    #0xa1c6
lri $WR1,    #0x450a
cw 0x15
call send_back  ; 48266 (0xbc8a)

lri $AR1,    #0x89b3
lri $IX1,    #0xdd56
lri $WR1,    #0x9ae5
cw 0x15
call send_back  ; 48267 (0xbc8b)

lri $AR1,    #0x6691
lri $IX1,    #0xa008
lri $WR1,    #0x83b2
cw 0x15
call send_back  ; 48268 (0xbc8c)

lri $AR1,    #0xbd5f
lri $IX1,    #0x5d9e
lri $WR1,    #0x1747
cw 0x15
call send_back  ; 48269 (0xbc8d)

lri $AR1,    #0xbe61
lri $IX1,    #0xf1d2
lri $WR1,    #0x5497
cw 0x15
call send_back  ; 48270 (0xbc8e)

lri $AR1,    #0x8134
lri $IX1,    #0x4b92
lri $WR1,    #0x53d5
cw 0x15
call send_back  ; 48271 (0xbc8f)

lri $AR1,    #0x7d59
lri $IX1,    #0x4b92
lri $WR1,    #0x7ecd
cw 0x15
call send_back  ; 48272 (0xbc90)

lri $AR1,    #0x64be
lri $IX1,    #0x6508
lri $WR1,    #0x9b66
cw 0x15
call send_back  ; 48273 (0xbc91)

lri $AR1,    #0x1a94
lri $IX1,    #0xd38a
lri $WR1,    #0x41ec
cw 0x15
call send_back  ; 48274 (0xbc92)

lri $AR1,    #0x5448
lri $IX1,    #0x49f8
lri $WR1,    #0x8a34
cw 0x15
call send_back  ; 48275 (0xbc93)

lri $AR1,    #0xb9e3
lri $IX1,    #0xfa84
lri $WR1,    #0x3029
cw 0x15
call send_back  ; 48276 (0xbc94)

lri $AR1,    #0x76ad
lri $IX1,    #0xe076
lri $WR1,    #0x89c3
cw 0x15
call send_back  ; 48277 (0xbc95)

lri $AR1,    #0x7a58
lri $IX1,    #0x6914
lri $WR1,    #0xc60d
cw 0x15
call send_back  ; 48278 (0xbc96)

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