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

lri $AR1,    #0x0040
lri $IX1,    #0xbc29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48170 (0xbc2a)

lri $AR1,    #0x0040
lri $IX1,    #0xbc2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48171 (0xbc2b)

lri $AR1,    #0x0040
lri $IX1,    #0xbc2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48172 (0xbc2c)

lri $AR1,    #0x0040
lri $IX1,    #0xbc2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48173 (0xbc2d)

lri $AR1,    #0x0040
lri $IX1,    #0xbc2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48174 (0xbc2e)

lri $AR1,    #0x0040
lri $IX1,    #0xbc2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48175 (0xbc2f)

lri $AR1,    #0x0040
lri $IX1,    #0xbc2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48176 (0xbc30)

lri $AR1,    #0x0040
lri $IX1,    #0xbc30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48177 (0xbc31)

lri $AR1,    #0x0040
lri $IX1,    #0xbc31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48178 (0xbc32)

lri $AR1,    #0x0040
lri $IX1,    #0xbc32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48179 (0xbc33)

lri $AR1,    #0x0040
lri $IX1,    #0xbc33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48180 (0xbc34)

lri $AR1,    #0x0040
lri $IX1,    #0xbc34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48181 (0xbc35)

lri $AR1,    #0x0040
lri $IX1,    #0xbc35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48182 (0xbc36)

lri $AR1,    #0x0040
lri $IX1,    #0xbc36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48183 (0xbc37)

lri $AR1,    #0x0040
lri $IX1,    #0xbc37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48184 (0xbc38)

lri $AR1,    #0x0040
lri $IX1,    #0xbc38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48185 (0xbc39)

lri $AR1,    #0x0040
lri $IX1,    #0xbc39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48186 (0xbc3a)

lri $AR1,    #0x0040
lri $IX1,    #0xbc3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48187 (0xbc3b)

lri $AR1,    #0x0040
lri $IX1,    #0xbc3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48188 (0xbc3c)

lri $AR1,    #0x0040
lri $IX1,    #0xbc3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48189 (0xbc3d)

lri $AR1,    #0x0040
lri $IX1,    #0xbc3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48190 (0xbc3e)

lri $AR1,    #0x0040
lri $IX1,    #0xbc3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48191 (0xbc3f)

lri $AR1,    #0x0040
lri $IX1,    #0xbc3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48192 (0xbc40)

lri $AR1,    #0x0040
lri $IX1,    #0xbc40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48193 (0xbc41)

lri $AR1,    #0x0040
lri $IX1,    #0xbc41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48194 (0xbc42)

lri $AR1,    #0x0040
lri $IX1,    #0xbc42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48195 (0xbc43)

lri $AR1,    #0x0040
lri $IX1,    #0xbc43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48196 (0xbc44)

lri $AR1,    #0x0040
lri $IX1,    #0xbc44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48197 (0xbc45)

lri $AR1,    #0x0040
lri $IX1,    #0xbc45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48198 (0xbc46)

lri $AR1,    #0x0040
lri $IX1,    #0xbc46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48199 (0xbc47)

lri $AR1,    #0x0040
lri $IX1,    #0xbc47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48200 (0xbc48)

lri $AR1,    #0x0040
lri $IX1,    #0xbc48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48201 (0xbc49)

lri $AR1,    #0x0040
lri $IX1,    #0xbc49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48202 (0xbc4a)

lri $AR1,    #0x0040
lri $IX1,    #0xbc4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48203 (0xbc4b)

lri $AR1,    #0x0040
lri $IX1,    #0xbc4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48204 (0xbc4c)

lri $AR1,    #0x0040
lri $IX1,    #0xbc4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48205 (0xbc4d)

lri $AR1,    #0x0040
lri $IX1,    #0xbc4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48206 (0xbc4e)

lri $AR1,    #0x0040
lri $IX1,    #0xbc4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48207 (0xbc4f)

lri $AR1,    #0x0040
lri $IX1,    #0xbc4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48208 (0xbc50)

lri $AR1,    #0x0040
lri $IX1,    #0xbc50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48209 (0xbc51)

lri $AR1,    #0x0040
lri $IX1,    #0xbc51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48210 (0xbc52)

lri $AR1,    #0x0040
lri $IX1,    #0xbc52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48211 (0xbc53)

lri $AR1,    #0x0040
lri $IX1,    #0xbc53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48212 (0xbc54)

lri $AR1,    #0x0040
lri $IX1,    #0xbc54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48213 (0xbc55)

lri $AR1,    #0x0040
lri $IX1,    #0xbc55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48214 (0xbc56)

lri $AR1,    #0x0040
lri $IX1,    #0xbc56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48215 (0xbc57)

lri $AR1,    #0x0040
lri $IX1,    #0xbc57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48216 (0xbc58)

lri $AR1,    #0x0040
lri $IX1,    #0xbc58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48217 (0xbc59)

lri $AR1,    #0x0040
lri $IX1,    #0xbc59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48218 (0xbc5a)

lri $AR1,    #0x0040
lri $IX1,    #0xbc5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48219 (0xbc5b)

lri $AR1,    #0x0040
lri $IX1,    #0xbc5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48220 (0xbc5c)

lri $AR1,    #0x0040
lri $IX1,    #0xbc5c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48221 (0xbc5d)

lri $AR1,    #0x0040
lri $IX1,    #0xbc5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48222 (0xbc5e)

lri $AR1,    #0x0040
lri $IX1,    #0xbc5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48223 (0xbc5f)

lri $AR1,    #0x0040
lri $IX1,    #0xbc5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48224 (0xbc60)

lri $AR1,    #0x0040
lri $IX1,    #0xbc60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48225 (0xbc61)

lri $AR1,    #0x0040
lri $IX1,    #0xbc61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48226 (0xbc62)

lri $AR1,    #0x0040
lri $IX1,    #0xbc62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48227 (0xbc63)

lri $AR1,    #0x0040
lri $IX1,    #0xbc63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48228 (0xbc64)

lri $AR1,    #0x0040
lri $IX1,    #0xbc64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48229 (0xbc65)

lri $AR1,    #0x0040
lri $IX1,    #0xbc65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48230 (0xbc66)

lri $AR1,    #0x0040
lri $IX1,    #0xbc66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48231 (0xbc67)

lri $AR1,    #0x0040
lri $IX1,    #0xbc67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48232 (0xbc68)

lri $AR1,    #0x0040
lri $IX1,    #0xbc68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48233 (0xbc69)

lri $AR1,    #0x0040
lri $IX1,    #0xbc69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48234 (0xbc6a)

lri $AR1,    #0x0040
lri $IX1,    #0xbc6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48235 (0xbc6b)

lri $AR1,    #0x0040
lri $IX1,    #0xbc6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48236 (0xbc6c)

lri $AR1,    #0x0040
lri $IX1,    #0xbc6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48237 (0xbc6d)

lri $AR1,    #0x0040
lri $IX1,    #0xbc6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48238 (0xbc6e)

lri $AR1,    #0x0040
lri $IX1,    #0xbc6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48239 (0xbc6f)

lri $AR1,    #0x0040
lri $IX1,    #0xbc6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48240 (0xbc70)

lri $AR1,    #0x0040
lri $IX1,    #0xbc70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48241 (0xbc71)

lri $AR1,    #0x0040
lri $IX1,    #0xbc71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48242 (0xbc72)

lri $AR1,    #0x0040
lri $IX1,    #0xbc72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48243 (0xbc73)

lri $AR1,    #0x0040
lri $IX1,    #0xbc73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48244 (0xbc74)

lri $AR1,    #0x0040
lri $IX1,    #0xbc74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48245 (0xbc75)

lri $AR1,    #0x0040
lri $IX1,    #0xbc75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48246 (0xbc76)

lri $AR1,    #0x0040
lri $IX1,    #0xbc76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48247 (0xbc77)

lri $AR1,    #0x0040
lri $IX1,    #0xbc77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48248 (0xbc78)

lri $AR1,    #0x0040
lri $IX1,    #0xbc78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48249 (0xbc79)

lri $AR1,    #0x0040
lri $IX1,    #0xbc79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48250 (0xbc7a)

lri $AR1,    #0x0040
lri $IX1,    #0xbc7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48251 (0xbc7b)

lri $AR1,    #0x0040
lri $IX1,    #0xbc7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48252 (0xbc7c)

lri $AR1,    #0x0040
lri $IX1,    #0xbc7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48253 (0xbc7d)

lri $AR1,    #0x0040
lri $IX1,    #0xbc7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48254 (0xbc7e)

lri $AR1,    #0x0040
lri $IX1,    #0xbc7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48255 (0xbc7f)

lri $AR1,    #0x0040
lri $IX1,    #0xbc7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48256 (0xbc80)

lri $AR1,    #0x0040
lri $IX1,    #0xbc80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48257 (0xbc81)

lri $AR1,    #0x0040
lri $IX1,    #0xbc81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48258 (0xbc82)

lri $AR1,    #0x0040
lri $IX1,    #0xbc82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48259 (0xbc83)

lri $AR1,    #0x0040
lri $IX1,    #0xbc83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48260 (0xbc84)

lri $AR1,    #0x0040
lri $IX1,    #0xbc84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48261 (0xbc85)

lri $AR1,    #0x0040
lri $IX1,    #0xbc85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48262 (0xbc86)

lri $AR1,    #0x0040
lri $IX1,    #0xbc86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48263 (0xbc87)

lri $AR1,    #0x0040
lri $IX1,    #0xbc87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48264 (0xbc88)

lri $AR1,    #0x0040
lri $IX1,    #0xbc88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48265 (0xbc89)

lri $AR1,    #0x0040
lri $IX1,    #0xbc89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48266 (0xbc8a)

lri $AR1,    #0x0040
lri $IX1,    #0xbc8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48267 (0xbc8b)

lri $AR1,    #0x0040
lri $IX1,    #0xbc8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48268 (0xbc8c)

lri $AR1,    #0x0040
lri $IX1,    #0xbc8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48269 (0xbc8d)

lri $AR1,    #0x0040
lri $IX1,    #0xbc8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48270 (0xbc8e)

lri $AR1,    #0x0040
lri $IX1,    #0xbc8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48271 (0xbc8f)

lri $AR1,    #0x0040
lri $IX1,    #0xbc8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48272 (0xbc90)

lri $AR1,    #0x0040
lri $IX1,    #0xbc90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48273 (0xbc91)

lri $AR1,    #0x0040
lri $IX1,    #0xbc91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48274 (0xbc92)

lri $AR1,    #0x0040
lri $IX1,    #0xbc92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48275 (0xbc93)

lri $AR1,    #0x0040
lri $IX1,    #0xbc93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48276 (0xbc94)

lri $AR1,    #0x0040
lri $IX1,    #0xbc94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48277 (0xbc95)

lri $AR1,    #0x0040
lri $IX1,    #0xbc95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48278 (0xbc96)

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