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

lri $AR1,    #0x9080
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36993 (0x9081)

lri $AR1,    #0x9081
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36994 (0x9082)

lri $AR1,    #0x9082
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36995 (0x9083)

lri $AR1,    #0x9083
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36996 (0x9084)

lri $AR1,    #0x9084
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36997 (0x9085)

lri $AR1,    #0x9085
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36998 (0x9086)

lri $AR1,    #0x9086
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 36999 (0x9087)

lri $AR1,    #0x9087
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37000 (0x9088)

lri $AR1,    #0x9088
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37001 (0x9089)

lri $AR1,    #0x9089
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37002 (0x908a)

lri $AR1,    #0x908a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37003 (0x908b)

lri $AR1,    #0x908b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37004 (0x908c)

lri $AR1,    #0x908c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37005 (0x908d)

lri $AR1,    #0x908d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37006 (0x908e)

lri $AR1,    #0x908e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37007 (0x908f)

lri $AR1,    #0x908f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37008 (0x9090)

lri $AR1,    #0x9090
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37009 (0x9091)

lri $AR1,    #0x9091
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37010 (0x9092)

lri $AR1,    #0x9092
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37011 (0x9093)

lri $AR1,    #0x9093
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37012 (0x9094)

lri $AR1,    #0x9094
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37013 (0x9095)

lri $AR1,    #0x9095
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37014 (0x9096)

lri $AR1,    #0x9096
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37015 (0x9097)

lri $AR1,    #0x9097
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37016 (0x9098)

lri $AR1,    #0x9098
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37017 (0x9099)

lri $AR1,    #0x9099
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37018 (0x909a)

lri $AR1,    #0x909a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37019 (0x909b)

lri $AR1,    #0x909b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37020 (0x909c)

lri $AR1,    #0x909c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37021 (0x909d)

lri $AR1,    #0x909d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37022 (0x909e)

lri $AR1,    #0x909e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37023 (0x909f)

lri $AR1,    #0x909f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37024 (0x90a0)

lri $AR1,    #0x90a0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37025 (0x90a1)

lri $AR1,    #0x90a1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37026 (0x90a2)

lri $AR1,    #0x90a2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37027 (0x90a3)

lri $AR1,    #0x90a3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37028 (0x90a4)

lri $AR1,    #0x90a4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37029 (0x90a5)

lri $AR1,    #0x90a5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37030 (0x90a6)

lri $AR1,    #0x90a6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37031 (0x90a7)

lri $AR1,    #0x90a7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37032 (0x90a8)

lri $AR1,    #0x90a8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37033 (0x90a9)

lri $AR1,    #0x90a9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37034 (0x90aa)

lri $AR1,    #0x90aa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37035 (0x90ab)

lri $AR1,    #0x90ab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37036 (0x90ac)

lri $AR1,    #0x90ac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37037 (0x90ad)

lri $AR1,    #0x90ad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37038 (0x90ae)

lri $AR1,    #0x90ae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37039 (0x90af)

lri $AR1,    #0x90af
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37040 (0x90b0)

lri $AR1,    #0x90b0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37041 (0x90b1)

lri $AR1,    #0x90b1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37042 (0x90b2)

lri $AR1,    #0x90b2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37043 (0x90b3)

lri $AR1,    #0x90b3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37044 (0x90b4)

lri $AR1,    #0x90b4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37045 (0x90b5)

lri $AR1,    #0x90b5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37046 (0x90b6)

lri $AR1,    #0x90b6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37047 (0x90b7)

lri $AR1,    #0x90b7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37048 (0x90b8)

lri $AR1,    #0x90b8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37049 (0x90b9)

lri $AR1,    #0x90b9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37050 (0x90ba)

lri $AR1,    #0x90ba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37051 (0x90bb)

lri $AR1,    #0x90bb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37052 (0x90bc)

lri $AR1,    #0x90bc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37053 (0x90bd)

lri $AR1,    #0x90bd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37054 (0x90be)

lri $AR1,    #0x90be
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37055 (0x90bf)

lri $AR1,    #0x90bf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37056 (0x90c0)

lri $AR1,    #0x90c0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37057 (0x90c1)

lri $AR1,    #0x90c1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37058 (0x90c2)

lri $AR1,    #0x90c2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37059 (0x90c3)

lri $AR1,    #0x90c3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37060 (0x90c4)

lri $AR1,    #0x90c4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37061 (0x90c5)

lri $AR1,    #0x90c5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37062 (0x90c6)

lri $AR1,    #0x90c6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37063 (0x90c7)

lri $AR1,    #0x90c7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37064 (0x90c8)

lri $AR1,    #0x90c8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37065 (0x90c9)

lri $AR1,    #0x90c9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37066 (0x90ca)

lri $AR1,    #0x90ca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37067 (0x90cb)

lri $AR1,    #0x90cb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37068 (0x90cc)

lri $AR1,    #0x90cc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37069 (0x90cd)

lri $AR1,    #0x90cd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37070 (0x90ce)

lri $AR1,    #0x90ce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37071 (0x90cf)

lri $AR1,    #0x90cf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37072 (0x90d0)

lri $AR1,    #0x90d0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37073 (0x90d1)

lri $AR1,    #0x90d1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37074 (0x90d2)

lri $AR1,    #0x90d2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37075 (0x90d3)

lri $AR1,    #0x90d3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37076 (0x90d4)

lri $AR1,    #0x90d4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37077 (0x90d5)

lri $AR1,    #0x90d5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37078 (0x90d6)

lri $AR1,    #0x90d6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37079 (0x90d7)

lri $AR1,    #0x90d7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37080 (0x90d8)

lri $AR1,    #0x90d8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37081 (0x90d9)

lri $AR1,    #0x90d9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37082 (0x90da)

lri $AR1,    #0x90da
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37083 (0x90db)

lri $AR1,    #0x90db
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37084 (0x90dc)

lri $AR1,    #0x90dc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37085 (0x90dd)

lri $AR1,    #0x90dd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37086 (0x90de)

lri $AR1,    #0x90de
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37087 (0x90df)

lri $AR1,    #0x90df
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37088 (0x90e0)

lri $AR1,    #0x90e0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37089 (0x90e1)

lri $AR1,    #0x90e1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37090 (0x90e2)

lri $AR1,    #0x90e2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37091 (0x90e3)

lri $AR1,    #0x90e3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37092 (0x90e4)

lri $AR1,    #0x90e4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37093 (0x90e5)

lri $AR1,    #0x90e5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37094 (0x90e6)

lri $AR1,    #0x90e6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37095 (0x90e7)

lri $AR1,    #0x90e7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37096 (0x90e8)

lri $AR1,    #0x90e8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37097 (0x90e9)

lri $AR1,    #0x90e9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37098 (0x90ea)

lri $AR1,    #0x90ea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37099 (0x90eb)

lri $AR1,    #0x90eb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37100 (0x90ec)

lri $AR1,    #0x90ec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37101 (0x90ed)

lri $AR1,    #0x90ed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37102 (0x90ee)

lri $AR1,    #0x90ee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37103 (0x90ef)

lri $AR1,    #0x90ef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37104 (0x90f0)

lri $AR1,    #0x90f0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37105 (0x90f1)

lri $AR1,    #0x90f1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37106 (0x90f2)

lri $AR1,    #0x90f2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37107 (0x90f3)

lri $AR1,    #0x90f3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37108 (0x90f4)

lri $AR1,    #0x90f4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37109 (0x90f5)

lri $AR1,    #0x90f5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37110 (0x90f6)

lri $AR1,    #0x90f6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37111 (0x90f7)

lri $AR1,    #0x90f7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37112 (0x90f8)

lri $AR1,    #0x90f8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37113 (0x90f9)

lri $AR1,    #0x90f9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37114 (0x90fa)

lri $AR1,    #0x90fa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37115 (0x90fb)

lri $AR1,    #0x90fb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37116 (0x90fc)

lri $AR1,    #0x90fc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37117 (0x90fd)

lri $AR1,    #0x90fd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37118 (0x90fe)

lri $AR1,    #0x90fe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37119 (0x90ff)

lri $AR1,    #0x90ff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 37120 (0x9100)

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

