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

lri $AR1,    #0x0040
lri $IX1,    #0xdae1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56034 (0xdae2)

lri $AR1,    #0x0040
lri $IX1,    #0xdae2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56035 (0xdae3)

lri $AR1,    #0x0040
lri $IX1,    #0xdae3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56036 (0xdae4)

lri $AR1,    #0x0040
lri $IX1,    #0xdae4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56037 (0xdae5)

lri $AR1,    #0x0040
lri $IX1,    #0xdae5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56038 (0xdae6)

lri $AR1,    #0x0040
lri $IX1,    #0xdae6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56039 (0xdae7)

lri $AR1,    #0x0040
lri $IX1,    #0xdae7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56040 (0xdae8)

lri $AR1,    #0x0040
lri $IX1,    #0xdae8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56041 (0xdae9)

lri $AR1,    #0x0040
lri $IX1,    #0xdae9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56042 (0xdaea)

lri $AR1,    #0x0040
lri $IX1,    #0xdaea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56043 (0xdaeb)

lri $AR1,    #0x0040
lri $IX1,    #0xdaeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56044 (0xdaec)

lri $AR1,    #0x0040
lri $IX1,    #0xdaec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56045 (0xdaed)

lri $AR1,    #0x0040
lri $IX1,    #0xdaed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56046 (0xdaee)

lri $AR1,    #0x0040
lri $IX1,    #0xdaee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56047 (0xdaef)

lri $AR1,    #0x0040
lri $IX1,    #0xdaef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56048 (0xdaf0)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56049 (0xdaf1)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56050 (0xdaf2)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56051 (0xdaf3)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56052 (0xdaf4)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56053 (0xdaf5)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56054 (0xdaf6)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56055 (0xdaf7)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56056 (0xdaf8)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56057 (0xdaf9)

lri $AR1,    #0x0040
lri $IX1,    #0xdaf9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56058 (0xdafa)

lri $AR1,    #0x0040
lri $IX1,    #0xdafa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56059 (0xdafb)

lri $AR1,    #0x0040
lri $IX1,    #0xdafb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56060 (0xdafc)

lri $AR1,    #0x0040
lri $IX1,    #0xdafc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56061 (0xdafd)

lri $AR1,    #0x0040
lri $IX1,    #0xdafd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56062 (0xdafe)

lri $AR1,    #0x0040
lri $IX1,    #0xdafe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56063 (0xdaff)

lri $AR1,    #0x0040
lri $IX1,    #0xdaff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56064 (0xdb00)

lri $AR1,    #0x0040
lri $IX1,    #0xdb00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56065 (0xdb01)

lri $AR1,    #0x0040
lri $IX1,    #0xdb01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56066 (0xdb02)

lri $AR1,    #0x0040
lri $IX1,    #0xdb02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56067 (0xdb03)

lri $AR1,    #0x0040
lri $IX1,    #0xdb03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56068 (0xdb04)

lri $AR1,    #0x0040
lri $IX1,    #0xdb04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56069 (0xdb05)

lri $AR1,    #0x0040
lri $IX1,    #0xdb05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56070 (0xdb06)

lri $AR1,    #0x0040
lri $IX1,    #0xdb06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56071 (0xdb07)

lri $AR1,    #0x0040
lri $IX1,    #0xdb07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56072 (0xdb08)

lri $AR1,    #0x0040
lri $IX1,    #0xdb08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56073 (0xdb09)

lri $AR1,    #0x0040
lri $IX1,    #0xdb09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56074 (0xdb0a)

lri $AR1,    #0x0040
lri $IX1,    #0xdb0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56075 (0xdb0b)

lri $AR1,    #0x0040
lri $IX1,    #0xdb0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56076 (0xdb0c)

lri $AR1,    #0x0040
lri $IX1,    #0xdb0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56077 (0xdb0d)

lri $AR1,    #0x0040
lri $IX1,    #0xdb0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56078 (0xdb0e)

lri $AR1,    #0x0040
lri $IX1,    #0xdb0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56079 (0xdb0f)

lri $AR1,    #0x0040
lri $IX1,    #0xdb0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56080 (0xdb10)

lri $AR1,    #0x0040
lri $IX1,    #0xdb10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56081 (0xdb11)

lri $AR1,    #0x0040
lri $IX1,    #0xdb11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56082 (0xdb12)

lri $AR1,    #0x0040
lri $IX1,    #0xdb12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56083 (0xdb13)

lri $AR1,    #0x0040
lri $IX1,    #0xdb13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56084 (0xdb14)

lri $AR1,    #0x0040
lri $IX1,    #0xdb14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56085 (0xdb15)

lri $AR1,    #0x0040
lri $IX1,    #0xdb15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56086 (0xdb16)

lri $AR1,    #0x0040
lri $IX1,    #0xdb16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56087 (0xdb17)

lri $AR1,    #0x0040
lri $IX1,    #0xdb17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56088 (0xdb18)

lri $AR1,    #0x0040
lri $IX1,    #0xdb18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56089 (0xdb19)

lri $AR1,    #0x0040
lri $IX1,    #0xdb19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56090 (0xdb1a)

lri $AR1,    #0x0040
lri $IX1,    #0xdb1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56091 (0xdb1b)

lri $AR1,    #0x0040
lri $IX1,    #0xdb1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56092 (0xdb1c)

lri $AR1,    #0x0040
lri $IX1,    #0xdb1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56093 (0xdb1d)

lri $AR1,    #0x0040
lri $IX1,    #0xdb1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56094 (0xdb1e)

lri $AR1,    #0x0040
lri $IX1,    #0xdb1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56095 (0xdb1f)

lri $AR1,    #0x0040
lri $IX1,    #0xdb1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56096 (0xdb20)

lri $AR1,    #0x0040
lri $IX1,    #0xdb20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56097 (0xdb21)

lri $AR1,    #0x0040
lri $IX1,    #0xdb21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56098 (0xdb22)

lri $AR1,    #0x0040
lri $IX1,    #0xdb22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56099 (0xdb23)

lri $AR1,    #0x0040
lri $IX1,    #0xdb23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56100 (0xdb24)

lri $AR1,    #0x0040
lri $IX1,    #0xdb24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56101 (0xdb25)

lri $AR1,    #0x0040
lri $IX1,    #0xdb25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56102 (0xdb26)

lri $AR1,    #0x0040
lri $IX1,    #0xdb26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56103 (0xdb27)

lri $AR1,    #0x0040
lri $IX1,    #0xdb27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56104 (0xdb28)

lri $AR1,    #0x0040
lri $IX1,    #0xdb28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56105 (0xdb29)

lri $AR1,    #0x0040
lri $IX1,    #0xdb29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56106 (0xdb2a)

lri $AR1,    #0x0040
lri $IX1,    #0xdb2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56107 (0xdb2b)

lri $AR1,    #0x0040
lri $IX1,    #0xdb2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56108 (0xdb2c)

lri $AR1,    #0x0040
lri $IX1,    #0xdb2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56109 (0xdb2d)

lri $AR1,    #0x0040
lri $IX1,    #0xdb2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56110 (0xdb2e)

lri $AR1,    #0x0040
lri $IX1,    #0xdb2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56111 (0xdb2f)

lri $AR1,    #0x0040
lri $IX1,    #0xdb2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56112 (0xdb30)

lri $AR1,    #0x0040
lri $IX1,    #0xdb30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56113 (0xdb31)

lri $AR1,    #0x0040
lri $IX1,    #0xdb31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56114 (0xdb32)

lri $AR1,    #0x0040
lri $IX1,    #0xdb32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56115 (0xdb33)

lri $AR1,    #0x0040
lri $IX1,    #0xdb33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56116 (0xdb34)

lri $AR1,    #0x0040
lri $IX1,    #0xdb34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56117 (0xdb35)

lri $AR1,    #0x0040
lri $IX1,    #0xdb35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56118 (0xdb36)

lri $AR1,    #0x0040
lri $IX1,    #0xdb36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56119 (0xdb37)

lri $AR1,    #0x0040
lri $IX1,    #0xdb37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56120 (0xdb38)

lri $AR1,    #0x0040
lri $IX1,    #0xdb38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56121 (0xdb39)

lri $AR1,    #0x0040
lri $IX1,    #0xdb39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56122 (0xdb3a)

lri $AR1,    #0x0040
lri $IX1,    #0xdb3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56123 (0xdb3b)

lri $AR1,    #0x0040
lri $IX1,    #0xdb3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56124 (0xdb3c)

lri $AR1,    #0x0040
lri $IX1,    #0xdb3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56125 (0xdb3d)

lri $AR1,    #0x0040
lri $IX1,    #0xdb3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56126 (0xdb3e)

lri $AR1,    #0x0040
lri $IX1,    #0xdb3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56127 (0xdb3f)

lri $AR1,    #0x0040
lri $IX1,    #0xdb3f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56128 (0xdb40)

lri $AR1,    #0x0040
lri $IX1,    #0xdb40
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56129 (0xdb41)

lri $AR1,    #0x0040
lri $IX1,    #0xdb41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56130 (0xdb42)

lri $AR1,    #0x0040
lri $IX1,    #0xdb42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56131 (0xdb43)

lri $AR1,    #0x0040
lri $IX1,    #0xdb43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56132 (0xdb44)

lri $AR1,    #0x0040
lri $IX1,    #0xdb44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56133 (0xdb45)

lri $AR1,    #0x0040
lri $IX1,    #0xdb45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56134 (0xdb46)

lri $AR1,    #0x0040
lri $IX1,    #0xdb46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56135 (0xdb47)

lri $AR1,    #0x0040
lri $IX1,    #0xdb47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56136 (0xdb48)

lri $AR1,    #0x0040
lri $IX1,    #0xdb48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56137 (0xdb49)

lri $AR1,    #0x0040
lri $IX1,    #0xdb49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56138 (0xdb4a)

lri $AR1,    #0x0040
lri $IX1,    #0xdb4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56139 (0xdb4b)

lri $AR1,    #0x0040
lri $IX1,    #0xdb4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56140 (0xdb4c)

lri $AR1,    #0x0040
lri $IX1,    #0xdb4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56141 (0xdb4d)

lri $AR1,    #0x0040
lri $IX1,    #0xdb4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 56142 (0xdb4e)

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