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

lri $AR1,    #0x2f00
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12033 (0x2f01)

lri $AR1,    #0x2f01
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12034 (0x2f02)

lri $AR1,    #0x2f02
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12035 (0x2f03)

lri $AR1,    #0x2f03
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12036 (0x2f04)

lri $AR1,    #0x2f04
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12037 (0x2f05)

lri $AR1,    #0x2f05
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12038 (0x2f06)

lri $AR1,    #0x2f06
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12039 (0x2f07)

lri $AR1,    #0x2f07
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12040 (0x2f08)

lri $AR1,    #0x2f08
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12041 (0x2f09)

lri $AR1,    #0x2f09
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12042 (0x2f0a)

lri $AR1,    #0x2f0a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12043 (0x2f0b)

lri $AR1,    #0x2f0b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12044 (0x2f0c)

lri $AR1,    #0x2f0c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12045 (0x2f0d)

lri $AR1,    #0x2f0d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12046 (0x2f0e)

lri $AR1,    #0x2f0e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12047 (0x2f0f)

lri $AR1,    #0x2f0f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12048 (0x2f10)

lri $AR1,    #0x2f10
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12049 (0x2f11)

lri $AR1,    #0x2f11
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12050 (0x2f12)

lri $AR1,    #0x2f12
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12051 (0x2f13)

lri $AR1,    #0x2f13
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12052 (0x2f14)

lri $AR1,    #0x2f14
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12053 (0x2f15)

lri $AR1,    #0x2f15
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12054 (0x2f16)

lri $AR1,    #0x2f16
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12055 (0x2f17)

lri $AR1,    #0x2f17
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12056 (0x2f18)

lri $AR1,    #0x2f18
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12057 (0x2f19)

lri $AR1,    #0x2f19
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12058 (0x2f1a)

lri $AR1,    #0x2f1a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12059 (0x2f1b)

lri $AR1,    #0x2f1b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12060 (0x2f1c)

lri $AR1,    #0x2f1c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12061 (0x2f1d)

lri $AR1,    #0x2f1d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12062 (0x2f1e)

lri $AR1,    #0x2f1e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12063 (0x2f1f)

lri $AR1,    #0x2f1f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12064 (0x2f20)

lri $AR1,    #0x2f20
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12065 (0x2f21)

lri $AR1,    #0x2f21
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12066 (0x2f22)

lri $AR1,    #0x2f22
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12067 (0x2f23)

lri $AR1,    #0x2f23
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12068 (0x2f24)

lri $AR1,    #0x2f24
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12069 (0x2f25)

lri $AR1,    #0x2f25
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12070 (0x2f26)

lri $AR1,    #0x2f26
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12071 (0x2f27)

lri $AR1,    #0x2f27
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12072 (0x2f28)

lri $AR1,    #0x2f28
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12073 (0x2f29)

lri $AR1,    #0x2f29
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12074 (0x2f2a)

lri $AR1,    #0x2f2a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12075 (0x2f2b)

lri $AR1,    #0x2f2b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12076 (0x2f2c)

lri $AR1,    #0x2f2c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12077 (0x2f2d)

lri $AR1,    #0x2f2d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12078 (0x2f2e)

lri $AR1,    #0x2f2e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12079 (0x2f2f)

lri $AR1,    #0x2f2f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12080 (0x2f30)

lri $AR1,    #0x2f30
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12081 (0x2f31)

lri $AR1,    #0x2f31
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12082 (0x2f32)

lri $AR1,    #0x2f32
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12083 (0x2f33)

lri $AR1,    #0x2f33
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12084 (0x2f34)

lri $AR1,    #0x2f34
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12085 (0x2f35)

lri $AR1,    #0x2f35
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12086 (0x2f36)

lri $AR1,    #0x2f36
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12087 (0x2f37)

lri $AR1,    #0x2f37
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12088 (0x2f38)

lri $AR1,    #0x2f38
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12089 (0x2f39)

lri $AR1,    #0x2f39
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12090 (0x2f3a)

lri $AR1,    #0x2f3a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12091 (0x2f3b)

lri $AR1,    #0x2f3b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12092 (0x2f3c)

lri $AR1,    #0x2f3c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12093 (0x2f3d)

lri $AR1,    #0x2f3d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12094 (0x2f3e)

lri $AR1,    #0x2f3e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12095 (0x2f3f)

lri $AR1,    #0x2f3f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12096 (0x2f40)

lri $AR1,    #0x2f40
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12097 (0x2f41)

lri $AR1,    #0x2f41
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12098 (0x2f42)

lri $AR1,    #0x2f42
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12099 (0x2f43)

lri $AR1,    #0x2f43
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12100 (0x2f44)

lri $AR1,    #0x2f44
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12101 (0x2f45)

lri $AR1,    #0x2f45
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12102 (0x2f46)

lri $AR1,    #0x2f46
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12103 (0x2f47)

lri $AR1,    #0x2f47
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12104 (0x2f48)

lri $AR1,    #0x2f48
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12105 (0x2f49)

lri $AR1,    #0x2f49
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12106 (0x2f4a)

lri $AR1,    #0x2f4a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12107 (0x2f4b)

lri $AR1,    #0x2f4b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12108 (0x2f4c)

lri $AR1,    #0x2f4c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12109 (0x2f4d)

lri $AR1,    #0x2f4d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12110 (0x2f4e)

lri $AR1,    #0x2f4e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12111 (0x2f4f)

lri $AR1,    #0x2f4f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12112 (0x2f50)

lri $AR1,    #0x2f50
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12113 (0x2f51)

lri $AR1,    #0x2f51
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12114 (0x2f52)

lri $AR1,    #0x2f52
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12115 (0x2f53)

lri $AR1,    #0x2f53
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12116 (0x2f54)

lri $AR1,    #0x2f54
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12117 (0x2f55)

lri $AR1,    #0x2f55
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12118 (0x2f56)

lri $AR1,    #0x2f56
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12119 (0x2f57)

lri $AR1,    #0x2f57
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12120 (0x2f58)

lri $AR1,    #0x2f58
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12121 (0x2f59)

lri $AR1,    #0x2f59
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12122 (0x2f5a)

lri $AR1,    #0x2f5a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12123 (0x2f5b)

lri $AR1,    #0x2f5b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12124 (0x2f5c)

lri $AR1,    #0x2f5c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12125 (0x2f5d)

lri $AR1,    #0x2f5d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12126 (0x2f5e)

lri $AR1,    #0x2f5e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12127 (0x2f5f)

lri $AR1,    #0x2f5f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12128 (0x2f60)

lri $AR1,    #0x2f60
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12129 (0x2f61)

lri $AR1,    #0x2f61
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12130 (0x2f62)

lri $AR1,    #0x2f62
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12131 (0x2f63)

lri $AR1,    #0x2f63
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12132 (0x2f64)

lri $AR1,    #0x2f64
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12133 (0x2f65)

lri $AR1,    #0x2f65
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12134 (0x2f66)

lri $AR1,    #0x2f66
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12135 (0x2f67)

lri $AR1,    #0x2f67
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12136 (0x2f68)

lri $AR1,    #0x2f68
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12137 (0x2f69)

lri $AR1,    #0x2f69
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12138 (0x2f6a)

lri $AR1,    #0x2f6a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12139 (0x2f6b)

lri $AR1,    #0x2f6b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12140 (0x2f6c)

lri $AR1,    #0x2f6c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12141 (0x2f6d)

lri $AR1,    #0x2f6d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12142 (0x2f6e)

lri $AR1,    #0x2f6e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12143 (0x2f6f)

lri $AR1,    #0x2f6f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12144 (0x2f70)

lri $AR1,    #0x2f70
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12145 (0x2f71)

lri $AR1,    #0x2f71
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12146 (0x2f72)

lri $AR1,    #0x2f72
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12147 (0x2f73)

lri $AR1,    #0x2f73
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12148 (0x2f74)

lri $AR1,    #0x2f74
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12149 (0x2f75)

lri $AR1,    #0x2f75
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12150 (0x2f76)

lri $AR1,    #0x2f76
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12151 (0x2f77)

lri $AR1,    #0x2f77
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12152 (0x2f78)

lri $AR1,    #0x2f78
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12153 (0x2f79)

lri $AR1,    #0x2f79
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12154 (0x2f7a)

lri $AR1,    #0x2f7a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12155 (0x2f7b)

lri $AR1,    #0x2f7b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12156 (0x2f7c)

lri $AR1,    #0x2f7c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12157 (0x2f7d)

lri $AR1,    #0x2f7d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12158 (0x2f7e)

lri $AR1,    #0x2f7e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12159 (0x2f7f)

lri $AR1,    #0x2f7f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 12160 (0x2f80)

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

