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

lri $AR1,    #0xd300
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54017 (0xd301)

lri $AR1,    #0xd301
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54018 (0xd302)

lri $AR1,    #0xd302
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54019 (0xd303)

lri $AR1,    #0xd303
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54020 (0xd304)

lri $AR1,    #0xd304
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54021 (0xd305)

lri $AR1,    #0xd305
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54022 (0xd306)

lri $AR1,    #0xd306
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54023 (0xd307)

lri $AR1,    #0xd307
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54024 (0xd308)

lri $AR1,    #0xd308
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54025 (0xd309)

lri $AR1,    #0xd309
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54026 (0xd30a)

lri $AR1,    #0xd30a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54027 (0xd30b)

lri $AR1,    #0xd30b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54028 (0xd30c)

lri $AR1,    #0xd30c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54029 (0xd30d)

lri $AR1,    #0xd30d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54030 (0xd30e)

lri $AR1,    #0xd30e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54031 (0xd30f)

lri $AR1,    #0xd30f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54032 (0xd310)

lri $AR1,    #0xd310
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54033 (0xd311)

lri $AR1,    #0xd311
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54034 (0xd312)

lri $AR1,    #0xd312
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54035 (0xd313)

lri $AR1,    #0xd313
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54036 (0xd314)

lri $AR1,    #0xd314
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54037 (0xd315)

lri $AR1,    #0xd315
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54038 (0xd316)

lri $AR1,    #0xd316
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54039 (0xd317)

lri $AR1,    #0xd317
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54040 (0xd318)

lri $AR1,    #0xd318
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54041 (0xd319)

lri $AR1,    #0xd319
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54042 (0xd31a)

lri $AR1,    #0xd31a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54043 (0xd31b)

lri $AR1,    #0xd31b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54044 (0xd31c)

lri $AR1,    #0xd31c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54045 (0xd31d)

lri $AR1,    #0xd31d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54046 (0xd31e)

lri $AR1,    #0xd31e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54047 (0xd31f)

lri $AR1,    #0xd31f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54048 (0xd320)

lri $AR1,    #0xd320
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54049 (0xd321)

lri $AR1,    #0xd321
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54050 (0xd322)

lri $AR1,    #0xd322
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54051 (0xd323)

lri $AR1,    #0xd323
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54052 (0xd324)

lri $AR1,    #0xd324
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54053 (0xd325)

lri $AR1,    #0xd325
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54054 (0xd326)

lri $AR1,    #0xd326
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54055 (0xd327)

lri $AR1,    #0xd327
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54056 (0xd328)

lri $AR1,    #0xd328
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54057 (0xd329)

lri $AR1,    #0xd329
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54058 (0xd32a)

lri $AR1,    #0xd32a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54059 (0xd32b)

lri $AR1,    #0xd32b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54060 (0xd32c)

lri $AR1,    #0xd32c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54061 (0xd32d)

lri $AR1,    #0xd32d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54062 (0xd32e)

lri $AR1,    #0xd32e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54063 (0xd32f)

lri $AR1,    #0xd32f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54064 (0xd330)

lri $AR1,    #0xd330
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54065 (0xd331)

lri $AR1,    #0xd331
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54066 (0xd332)

lri $AR1,    #0xd332
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54067 (0xd333)

lri $AR1,    #0xd333
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54068 (0xd334)

lri $AR1,    #0xd334
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54069 (0xd335)

lri $AR1,    #0xd335
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54070 (0xd336)

lri $AR1,    #0xd336
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54071 (0xd337)

lri $AR1,    #0xd337
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54072 (0xd338)

lri $AR1,    #0xd338
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54073 (0xd339)

lri $AR1,    #0xd339
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54074 (0xd33a)

lri $AR1,    #0xd33a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54075 (0xd33b)

lri $AR1,    #0xd33b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54076 (0xd33c)

lri $AR1,    #0xd33c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54077 (0xd33d)

lri $AR1,    #0xd33d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54078 (0xd33e)

lri $AR1,    #0xd33e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54079 (0xd33f)

lri $AR1,    #0xd33f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54080 (0xd340)

lri $AR1,    #0xd340
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54081 (0xd341)

lri $AR1,    #0xd341
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54082 (0xd342)

lri $AR1,    #0xd342
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54083 (0xd343)

lri $AR1,    #0xd343
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54084 (0xd344)

lri $AR1,    #0xd344
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54085 (0xd345)

lri $AR1,    #0xd345
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54086 (0xd346)

lri $AR1,    #0xd346
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54087 (0xd347)

lri $AR1,    #0xd347
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54088 (0xd348)

lri $AR1,    #0xd348
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54089 (0xd349)

lri $AR1,    #0xd349
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54090 (0xd34a)

lri $AR1,    #0xd34a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54091 (0xd34b)

lri $AR1,    #0xd34b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54092 (0xd34c)

lri $AR1,    #0xd34c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54093 (0xd34d)

lri $AR1,    #0xd34d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54094 (0xd34e)

lri $AR1,    #0xd34e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54095 (0xd34f)

lri $AR1,    #0xd34f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54096 (0xd350)

lri $AR1,    #0xd350
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54097 (0xd351)

lri $AR1,    #0xd351
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54098 (0xd352)

lri $AR1,    #0xd352
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54099 (0xd353)

lri $AR1,    #0xd353
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54100 (0xd354)

lri $AR1,    #0xd354
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54101 (0xd355)

lri $AR1,    #0xd355
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54102 (0xd356)

lri $AR1,    #0xd356
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54103 (0xd357)

lri $AR1,    #0xd357
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54104 (0xd358)

lri $AR1,    #0xd358
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54105 (0xd359)

lri $AR1,    #0xd359
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54106 (0xd35a)

lri $AR1,    #0xd35a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54107 (0xd35b)

lri $AR1,    #0xd35b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54108 (0xd35c)

lri $AR1,    #0xd35c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54109 (0xd35d)

lri $AR1,    #0xd35d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54110 (0xd35e)

lri $AR1,    #0xd35e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54111 (0xd35f)

lri $AR1,    #0xd35f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54112 (0xd360)

lri $AR1,    #0xd360
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54113 (0xd361)

lri $AR1,    #0xd361
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54114 (0xd362)

lri $AR1,    #0xd362
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54115 (0xd363)

lri $AR1,    #0xd363
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54116 (0xd364)

lri $AR1,    #0xd364
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54117 (0xd365)

lri $AR1,    #0xd365
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54118 (0xd366)

lri $AR1,    #0xd366
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54119 (0xd367)

lri $AR1,    #0xd367
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54120 (0xd368)

lri $AR1,    #0xd368
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54121 (0xd369)

lri $AR1,    #0xd369
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54122 (0xd36a)

lri $AR1,    #0xd36a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54123 (0xd36b)

lri $AR1,    #0xd36b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54124 (0xd36c)

lri $AR1,    #0xd36c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54125 (0xd36d)

lri $AR1,    #0xd36d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54126 (0xd36e)

lri $AR1,    #0xd36e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54127 (0xd36f)

lri $AR1,    #0xd36f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54128 (0xd370)

lri $AR1,    #0xd370
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54129 (0xd371)

lri $AR1,    #0xd371
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54130 (0xd372)

lri $AR1,    #0xd372
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54131 (0xd373)

lri $AR1,    #0xd373
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54132 (0xd374)

lri $AR1,    #0xd374
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54133 (0xd375)

lri $AR1,    #0xd375
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54134 (0xd376)

lri $AR1,    #0xd376
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54135 (0xd377)

lri $AR1,    #0xd377
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54136 (0xd378)

lri $AR1,    #0xd378
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54137 (0xd379)

lri $AR1,    #0xd379
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54138 (0xd37a)

lri $AR1,    #0xd37a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54139 (0xd37b)

lri $AR1,    #0xd37b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54140 (0xd37c)

lri $AR1,    #0xd37c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54141 (0xd37d)

lri $AR1,    #0xd37d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54142 (0xd37e)

lri $AR1,    #0xd37e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54143 (0xd37f)

lri $AR1,    #0xd37f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 54144 (0xd380)

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

