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

lri $AR1,    #0x4000
lri $IX1,    #0x9c80
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40065 (0x9c81)

lri $AR1,    #0x4000
lri $IX1,    #0x9c81
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40066 (0x9c82)

lri $AR1,    #0x4000
lri $IX1,    #0x9c82
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40067 (0x9c83)

lri $AR1,    #0x4000
lri $IX1,    #0x9c83
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40068 (0x9c84)

lri $AR1,    #0x4000
lri $IX1,    #0x9c84
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40069 (0x9c85)

lri $AR1,    #0x4000
lri $IX1,    #0x9c85
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40070 (0x9c86)

lri $AR1,    #0x4000
lri $IX1,    #0x9c86
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40071 (0x9c87)

lri $AR1,    #0x4000
lri $IX1,    #0x9c87
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40072 (0x9c88)

lri $AR1,    #0x4000
lri $IX1,    #0x9c88
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40073 (0x9c89)

lri $AR1,    #0x4000
lri $IX1,    #0x9c89
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40074 (0x9c8a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c8a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40075 (0x9c8b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c8b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40076 (0x9c8c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c8c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40077 (0x9c8d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c8d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40078 (0x9c8e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c8e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40079 (0x9c8f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c8f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40080 (0x9c90)

lri $AR1,    #0x4000
lri $IX1,    #0x9c90
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40081 (0x9c91)

lri $AR1,    #0x4000
lri $IX1,    #0x9c91
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40082 (0x9c92)

lri $AR1,    #0x4000
lri $IX1,    #0x9c92
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40083 (0x9c93)

lri $AR1,    #0x4000
lri $IX1,    #0x9c93
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40084 (0x9c94)

lri $AR1,    #0x4000
lri $IX1,    #0x9c94
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40085 (0x9c95)

lri $AR1,    #0x4000
lri $IX1,    #0x9c95
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40086 (0x9c96)

lri $AR1,    #0x4000
lri $IX1,    #0x9c96
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40087 (0x9c97)

lri $AR1,    #0x4000
lri $IX1,    #0x9c97
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40088 (0x9c98)

lri $AR1,    #0x4000
lri $IX1,    #0x9c98
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40089 (0x9c99)

lri $AR1,    #0x4000
lri $IX1,    #0x9c99
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40090 (0x9c9a)

lri $AR1,    #0x4000
lri $IX1,    #0x9c9a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40091 (0x9c9b)

lri $AR1,    #0x4000
lri $IX1,    #0x9c9b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40092 (0x9c9c)

lri $AR1,    #0x4000
lri $IX1,    #0x9c9c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40093 (0x9c9d)

lri $AR1,    #0x4000
lri $IX1,    #0x9c9d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40094 (0x9c9e)

lri $AR1,    #0x4000
lri $IX1,    #0x9c9e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40095 (0x9c9f)

lri $AR1,    #0x4000
lri $IX1,    #0x9c9f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40096 (0x9ca0)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40097 (0x9ca1)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40098 (0x9ca2)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40099 (0x9ca3)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40100 (0x9ca4)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40101 (0x9ca5)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40102 (0x9ca6)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40103 (0x9ca7)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40104 (0x9ca8)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40105 (0x9ca9)

lri $AR1,    #0x4000
lri $IX1,    #0x9ca9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40106 (0x9caa)

lri $AR1,    #0x4000
lri $IX1,    #0x9caa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40107 (0x9cab)

lri $AR1,    #0x4000
lri $IX1,    #0x9cab
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40108 (0x9cac)

lri $AR1,    #0x4000
lri $IX1,    #0x9cac
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40109 (0x9cad)

lri $AR1,    #0x4000
lri $IX1,    #0x9cad
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40110 (0x9cae)

lri $AR1,    #0x4000
lri $IX1,    #0x9cae
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40111 (0x9caf)

lri $AR1,    #0x4000
lri $IX1,    #0x9caf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40112 (0x9cb0)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40113 (0x9cb1)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40114 (0x9cb2)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40115 (0x9cb3)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40116 (0x9cb4)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40117 (0x9cb5)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40118 (0x9cb6)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40119 (0x9cb7)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40120 (0x9cb8)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40121 (0x9cb9)

lri $AR1,    #0x4000
lri $IX1,    #0x9cb9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40122 (0x9cba)

lri $AR1,    #0x4000
lri $IX1,    #0x9cba
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40123 (0x9cbb)

lri $AR1,    #0x4000
lri $IX1,    #0x9cbb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40124 (0x9cbc)

lri $AR1,    #0x4000
lri $IX1,    #0x9cbc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40125 (0x9cbd)

lri $AR1,    #0x4000
lri $IX1,    #0x9cbd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40126 (0x9cbe)

lri $AR1,    #0x4000
lri $IX1,    #0x9cbe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40127 (0x9cbf)

lri $AR1,    #0x4000
lri $IX1,    #0x9cbf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40128 (0x9cc0)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40129 (0x9cc1)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40130 (0x9cc2)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40131 (0x9cc3)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40132 (0x9cc4)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40133 (0x9cc5)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40134 (0x9cc6)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40135 (0x9cc7)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40136 (0x9cc8)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40137 (0x9cc9)

lri $AR1,    #0x4000
lri $IX1,    #0x9cc9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40138 (0x9cca)

lri $AR1,    #0x4000
lri $IX1,    #0x9cca
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40139 (0x9ccb)

lri $AR1,    #0x4000
lri $IX1,    #0x9ccb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40140 (0x9ccc)

lri $AR1,    #0x4000
lri $IX1,    #0x9ccc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40141 (0x9ccd)

lri $AR1,    #0x4000
lri $IX1,    #0x9ccd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40142 (0x9cce)

lri $AR1,    #0x4000
lri $IX1,    #0x9cce
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40143 (0x9ccf)

lri $AR1,    #0x4000
lri $IX1,    #0x9ccf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40144 (0x9cd0)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40145 (0x9cd1)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40146 (0x9cd2)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40147 (0x9cd3)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40148 (0x9cd4)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40149 (0x9cd5)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40150 (0x9cd6)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40151 (0x9cd7)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40152 (0x9cd8)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40153 (0x9cd9)

lri $AR1,    #0x4000
lri $IX1,    #0x9cd9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40154 (0x9cda)

lri $AR1,    #0x4000
lri $IX1,    #0x9cda
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40155 (0x9cdb)

lri $AR1,    #0x4000
lri $IX1,    #0x9cdb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40156 (0x9cdc)

lri $AR1,    #0x4000
lri $IX1,    #0x9cdc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40157 (0x9cdd)

lri $AR1,    #0x4000
lri $IX1,    #0x9cdd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40158 (0x9cde)

lri $AR1,    #0x4000
lri $IX1,    #0x9cde
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40159 (0x9cdf)

lri $AR1,    #0x4000
lri $IX1,    #0x9cdf
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40160 (0x9ce0)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40161 (0x9ce1)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40162 (0x9ce2)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40163 (0x9ce3)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40164 (0x9ce4)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40165 (0x9ce5)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40166 (0x9ce6)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40167 (0x9ce7)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40168 (0x9ce8)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40169 (0x9ce9)

lri $AR1,    #0x4000
lri $IX1,    #0x9ce9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40170 (0x9cea)

lri $AR1,    #0x4000
lri $IX1,    #0x9cea
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40171 (0x9ceb)

lri $AR1,    #0x4000
lri $IX1,    #0x9ceb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40172 (0x9cec)

lri $AR1,    #0x4000
lri $IX1,    #0x9cec
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40173 (0x9ced)

lri $AR1,    #0x4000
lri $IX1,    #0x9ced
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40174 (0x9cee)

lri $AR1,    #0x4000
lri $IX1,    #0x9cee
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40175 (0x9cef)

lri $AR1,    #0x4000
lri $IX1,    #0x9cef
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40176 (0x9cf0)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf0
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40177 (0x9cf1)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf1
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40178 (0x9cf2)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf2
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40179 (0x9cf3)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf3
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40180 (0x9cf4)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf4
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40181 (0x9cf5)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf5
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40182 (0x9cf6)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf6
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40183 (0x9cf7)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf7
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40184 (0x9cf8)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf8
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40185 (0x9cf9)

lri $AR1,    #0x4000
lri $IX1,    #0x9cf9
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40186 (0x9cfa)

lri $AR1,    #0x4000
lri $IX1,    #0x9cfa
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40187 (0x9cfb)

lri $AR1,    #0x4000
lri $IX1,    #0x9cfb
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40188 (0x9cfc)

lri $AR1,    #0x4000
lri $IX1,    #0x9cfc
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40189 (0x9cfd)

lri $AR1,    #0x4000
lri $IX1,    #0x9cfd
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40190 (0x9cfe)

lri $AR1,    #0x4000
lri $IX1,    #0x9cfe
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40191 (0x9cff)

lri $AR1,    #0x4000
lri $IX1,    #0x9cff
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 40192 (0x9d00)

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

