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

lri $AR1,    #0x4000
lri $IX1,    #0xac00
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44033 (0xac01)

lri $AR1,    #0x4000
lri $IX1,    #0xac01
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44034 (0xac02)

lri $AR1,    #0x4000
lri $IX1,    #0xac02
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44035 (0xac03)

lri $AR1,    #0x4000
lri $IX1,    #0xac03
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44036 (0xac04)

lri $AR1,    #0x4000
lri $IX1,    #0xac04
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44037 (0xac05)

lri $AR1,    #0x4000
lri $IX1,    #0xac05
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44038 (0xac06)

lri $AR1,    #0x4000
lri $IX1,    #0xac06
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44039 (0xac07)

lri $AR1,    #0x4000
lri $IX1,    #0xac07
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44040 (0xac08)

lri $AR1,    #0x4000
lri $IX1,    #0xac08
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44041 (0xac09)

lri $AR1,    #0x4000
lri $IX1,    #0xac09
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44042 (0xac0a)

lri $AR1,    #0x4000
lri $IX1,    #0xac0a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44043 (0xac0b)

lri $AR1,    #0x4000
lri $IX1,    #0xac0b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44044 (0xac0c)

lri $AR1,    #0x4000
lri $IX1,    #0xac0c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44045 (0xac0d)

lri $AR1,    #0x4000
lri $IX1,    #0xac0d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44046 (0xac0e)

lri $AR1,    #0x4000
lri $IX1,    #0xac0e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44047 (0xac0f)

lri $AR1,    #0x4000
lri $IX1,    #0xac0f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44048 (0xac10)

lri $AR1,    #0x4000
lri $IX1,    #0xac10
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44049 (0xac11)

lri $AR1,    #0x4000
lri $IX1,    #0xac11
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44050 (0xac12)

lri $AR1,    #0x4000
lri $IX1,    #0xac12
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44051 (0xac13)

lri $AR1,    #0x4000
lri $IX1,    #0xac13
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44052 (0xac14)

lri $AR1,    #0x4000
lri $IX1,    #0xac14
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44053 (0xac15)

lri $AR1,    #0x4000
lri $IX1,    #0xac15
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44054 (0xac16)

lri $AR1,    #0x4000
lri $IX1,    #0xac16
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44055 (0xac17)

lri $AR1,    #0x4000
lri $IX1,    #0xac17
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44056 (0xac18)

lri $AR1,    #0x4000
lri $IX1,    #0xac18
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44057 (0xac19)

lri $AR1,    #0x4000
lri $IX1,    #0xac19
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44058 (0xac1a)

lri $AR1,    #0x4000
lri $IX1,    #0xac1a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44059 (0xac1b)

lri $AR1,    #0x4000
lri $IX1,    #0xac1b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44060 (0xac1c)

lri $AR1,    #0x4000
lri $IX1,    #0xac1c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44061 (0xac1d)

lri $AR1,    #0x4000
lri $IX1,    #0xac1d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44062 (0xac1e)

lri $AR1,    #0x4000
lri $IX1,    #0xac1e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44063 (0xac1f)

lri $AR1,    #0x4000
lri $IX1,    #0xac1f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44064 (0xac20)

lri $AR1,    #0x4000
lri $IX1,    #0xac20
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44065 (0xac21)

lri $AR1,    #0x4000
lri $IX1,    #0xac21
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44066 (0xac22)

lri $AR1,    #0x4000
lri $IX1,    #0xac22
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44067 (0xac23)

lri $AR1,    #0x4000
lri $IX1,    #0xac23
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44068 (0xac24)

lri $AR1,    #0x4000
lri $IX1,    #0xac24
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44069 (0xac25)

lri $AR1,    #0x4000
lri $IX1,    #0xac25
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44070 (0xac26)

lri $AR1,    #0x4000
lri $IX1,    #0xac26
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44071 (0xac27)

lri $AR1,    #0x4000
lri $IX1,    #0xac27
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44072 (0xac28)

lri $AR1,    #0x4000
lri $IX1,    #0xac28
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44073 (0xac29)

lri $AR1,    #0x4000
lri $IX1,    #0xac29
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44074 (0xac2a)

lri $AR1,    #0x4000
lri $IX1,    #0xac2a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44075 (0xac2b)

lri $AR1,    #0x4000
lri $IX1,    #0xac2b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44076 (0xac2c)

lri $AR1,    #0x4000
lri $IX1,    #0xac2c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44077 (0xac2d)

lri $AR1,    #0x4000
lri $IX1,    #0xac2d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44078 (0xac2e)

lri $AR1,    #0x4000
lri $IX1,    #0xac2e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44079 (0xac2f)

lri $AR1,    #0x4000
lri $IX1,    #0xac2f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44080 (0xac30)

lri $AR1,    #0x4000
lri $IX1,    #0xac30
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44081 (0xac31)

lri $AR1,    #0x4000
lri $IX1,    #0xac31
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44082 (0xac32)

lri $AR1,    #0x4000
lri $IX1,    #0xac32
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44083 (0xac33)

lri $AR1,    #0x4000
lri $IX1,    #0xac33
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44084 (0xac34)

lri $AR1,    #0x4000
lri $IX1,    #0xac34
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44085 (0xac35)

lri $AR1,    #0x4000
lri $IX1,    #0xac35
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44086 (0xac36)

lri $AR1,    #0x4000
lri $IX1,    #0xac36
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44087 (0xac37)

lri $AR1,    #0x4000
lri $IX1,    #0xac37
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44088 (0xac38)

lri $AR1,    #0x4000
lri $IX1,    #0xac38
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44089 (0xac39)

lri $AR1,    #0x4000
lri $IX1,    #0xac39
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44090 (0xac3a)

lri $AR1,    #0x4000
lri $IX1,    #0xac3a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44091 (0xac3b)

lri $AR1,    #0x4000
lri $IX1,    #0xac3b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44092 (0xac3c)

lri $AR1,    #0x4000
lri $IX1,    #0xac3c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44093 (0xac3d)

lri $AR1,    #0x4000
lri $IX1,    #0xac3d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44094 (0xac3e)

lri $AR1,    #0x4000
lri $IX1,    #0xac3e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44095 (0xac3f)

lri $AR1,    #0x4000
lri $IX1,    #0xac3f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44096 (0xac40)

lri $AR1,    #0x4000
lri $IX1,    #0xac40
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44097 (0xac41)

lri $AR1,    #0x4000
lri $IX1,    #0xac41
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44098 (0xac42)

lri $AR1,    #0x4000
lri $IX1,    #0xac42
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44099 (0xac43)

lri $AR1,    #0x4000
lri $IX1,    #0xac43
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44100 (0xac44)

lri $AR1,    #0x4000
lri $IX1,    #0xac44
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44101 (0xac45)

lri $AR1,    #0x4000
lri $IX1,    #0xac45
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44102 (0xac46)

lri $AR1,    #0x4000
lri $IX1,    #0xac46
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44103 (0xac47)

lri $AR1,    #0x4000
lri $IX1,    #0xac47
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44104 (0xac48)

lri $AR1,    #0x4000
lri $IX1,    #0xac48
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44105 (0xac49)

lri $AR1,    #0x4000
lri $IX1,    #0xac49
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44106 (0xac4a)

lri $AR1,    #0x4000
lri $IX1,    #0xac4a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44107 (0xac4b)

lri $AR1,    #0x4000
lri $IX1,    #0xac4b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44108 (0xac4c)

lri $AR1,    #0x4000
lri $IX1,    #0xac4c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44109 (0xac4d)

lri $AR1,    #0x4000
lri $IX1,    #0xac4d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44110 (0xac4e)

lri $AR1,    #0x4000
lri $IX1,    #0xac4e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44111 (0xac4f)

lri $AR1,    #0x4000
lri $IX1,    #0xac4f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44112 (0xac50)

lri $AR1,    #0x4000
lri $IX1,    #0xac50
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44113 (0xac51)

lri $AR1,    #0x4000
lri $IX1,    #0xac51
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44114 (0xac52)

lri $AR1,    #0x4000
lri $IX1,    #0xac52
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44115 (0xac53)

lri $AR1,    #0x4000
lri $IX1,    #0xac53
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44116 (0xac54)

lri $AR1,    #0x4000
lri $IX1,    #0xac54
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44117 (0xac55)

lri $AR1,    #0x4000
lri $IX1,    #0xac55
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44118 (0xac56)

lri $AR1,    #0x4000
lri $IX1,    #0xac56
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44119 (0xac57)

lri $AR1,    #0x4000
lri $IX1,    #0xac57
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44120 (0xac58)

lri $AR1,    #0x4000
lri $IX1,    #0xac58
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44121 (0xac59)

lri $AR1,    #0x4000
lri $IX1,    #0xac59
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44122 (0xac5a)

lri $AR1,    #0x4000
lri $IX1,    #0xac5a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44123 (0xac5b)

lri $AR1,    #0x4000
lri $IX1,    #0xac5b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44124 (0xac5c)

lri $AR1,    #0x4000
lri $IX1,    #0xac5c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44125 (0xac5d)

lri $AR1,    #0x4000
lri $IX1,    #0xac5d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44126 (0xac5e)

lri $AR1,    #0x4000
lri $IX1,    #0xac5e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44127 (0xac5f)

lri $AR1,    #0x4000
lri $IX1,    #0xac5f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44128 (0xac60)

lri $AR1,    #0x4000
lri $IX1,    #0xac60
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44129 (0xac61)

lri $AR1,    #0x4000
lri $IX1,    #0xac61
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44130 (0xac62)

lri $AR1,    #0x4000
lri $IX1,    #0xac62
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44131 (0xac63)

lri $AR1,    #0x4000
lri $IX1,    #0xac63
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44132 (0xac64)

lri $AR1,    #0x4000
lri $IX1,    #0xac64
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44133 (0xac65)

lri $AR1,    #0x4000
lri $IX1,    #0xac65
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44134 (0xac66)

lri $AR1,    #0x4000
lri $IX1,    #0xac66
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44135 (0xac67)

lri $AR1,    #0x4000
lri $IX1,    #0xac67
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44136 (0xac68)

lri $AR1,    #0x4000
lri $IX1,    #0xac68
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44137 (0xac69)

lri $AR1,    #0x4000
lri $IX1,    #0xac69
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44138 (0xac6a)

lri $AR1,    #0x4000
lri $IX1,    #0xac6a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44139 (0xac6b)

lri $AR1,    #0x4000
lri $IX1,    #0xac6b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44140 (0xac6c)

lri $AR1,    #0x4000
lri $IX1,    #0xac6c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44141 (0xac6d)

lri $AR1,    #0x4000
lri $IX1,    #0xac6d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44142 (0xac6e)

lri $AR1,    #0x4000
lri $IX1,    #0xac6e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44143 (0xac6f)

lri $AR1,    #0x4000
lri $IX1,    #0xac6f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44144 (0xac70)

lri $AR1,    #0x4000
lri $IX1,    #0xac70
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44145 (0xac71)

lri $AR1,    #0x4000
lri $IX1,    #0xac71
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44146 (0xac72)

lri $AR1,    #0x4000
lri $IX1,    #0xac72
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44147 (0xac73)

lri $AR1,    #0x4000
lri $IX1,    #0xac73
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44148 (0xac74)

lri $AR1,    #0x4000
lri $IX1,    #0xac74
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44149 (0xac75)

lri $AR1,    #0x4000
lri $IX1,    #0xac75
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44150 (0xac76)

lri $AR1,    #0x4000
lri $IX1,    #0xac76
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44151 (0xac77)

lri $AR1,    #0x4000
lri $IX1,    #0xac77
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44152 (0xac78)

lri $AR1,    #0x4000
lri $IX1,    #0xac78
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44153 (0xac79)

lri $AR1,    #0x4000
lri $IX1,    #0xac79
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44154 (0xac7a)

lri $AR1,    #0x4000
lri $IX1,    #0xac7a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44155 (0xac7b)

lri $AR1,    #0x4000
lri $IX1,    #0xac7b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44156 (0xac7c)

lri $AR1,    #0x4000
lri $IX1,    #0xac7c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44157 (0xac7d)

lri $AR1,    #0x4000
lri $IX1,    #0xac7d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44158 (0xac7e)

lri $AR1,    #0x4000
lri $IX1,    #0xac7e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44159 (0xac7f)

lri $AR1,    #0x4000
lri $IX1,    #0xac7f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 44160 (0xac80)

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

