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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe00
cw 0x5
call send_back  ; 65025 (0xfe01)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe01
cw 0x5
call send_back  ; 65026 (0xfe02)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe02
cw 0x5
call send_back  ; 65027 (0xfe03)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe03
cw 0x5
call send_back  ; 65028 (0xfe04)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe04
cw 0x5
call send_back  ; 65029 (0xfe05)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe05
cw 0x5
call send_back  ; 65030 (0xfe06)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe06
cw 0x5
call send_back  ; 65031 (0xfe07)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe07
cw 0x5
call send_back  ; 65032 (0xfe08)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe08
cw 0x5
call send_back  ; 65033 (0xfe09)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe09
cw 0x5
call send_back  ; 65034 (0xfe0a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe0a
cw 0x5
call send_back  ; 65035 (0xfe0b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe0b
cw 0x5
call send_back  ; 65036 (0xfe0c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe0c
cw 0x5
call send_back  ; 65037 (0xfe0d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe0d
cw 0x5
call send_back  ; 65038 (0xfe0e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe0e
cw 0x5
call send_back  ; 65039 (0xfe0f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe0f
cw 0x5
call send_back  ; 65040 (0xfe10)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe10
cw 0x5
call send_back  ; 65041 (0xfe11)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe11
cw 0x5
call send_back  ; 65042 (0xfe12)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe12
cw 0x5
call send_back  ; 65043 (0xfe13)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe13
cw 0x5
call send_back  ; 65044 (0xfe14)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe14
cw 0x5
call send_back  ; 65045 (0xfe15)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe15
cw 0x5
call send_back  ; 65046 (0xfe16)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe16
cw 0x5
call send_back  ; 65047 (0xfe17)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe17
cw 0x5
call send_back  ; 65048 (0xfe18)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe18
cw 0x5
call send_back  ; 65049 (0xfe19)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe19
cw 0x5
call send_back  ; 65050 (0xfe1a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe1a
cw 0x5
call send_back  ; 65051 (0xfe1b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe1b
cw 0x5
call send_back  ; 65052 (0xfe1c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe1c
cw 0x5
call send_back  ; 65053 (0xfe1d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe1d
cw 0x5
call send_back  ; 65054 (0xfe1e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe1e
cw 0x5
call send_back  ; 65055 (0xfe1f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe1f
cw 0x5
call send_back  ; 65056 (0xfe20)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe20
cw 0x5
call send_back  ; 65057 (0xfe21)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe21
cw 0x5
call send_back  ; 65058 (0xfe22)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe22
cw 0x5
call send_back  ; 65059 (0xfe23)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe23
cw 0x5
call send_back  ; 65060 (0xfe24)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe24
cw 0x5
call send_back  ; 65061 (0xfe25)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe25
cw 0x5
call send_back  ; 65062 (0xfe26)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe26
cw 0x5
call send_back  ; 65063 (0xfe27)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe27
cw 0x5
call send_back  ; 65064 (0xfe28)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe28
cw 0x5
call send_back  ; 65065 (0xfe29)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe29
cw 0x5
call send_back  ; 65066 (0xfe2a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe2a
cw 0x5
call send_back  ; 65067 (0xfe2b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe2b
cw 0x5
call send_back  ; 65068 (0xfe2c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe2c
cw 0x5
call send_back  ; 65069 (0xfe2d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe2d
cw 0x5
call send_back  ; 65070 (0xfe2e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe2e
cw 0x5
call send_back  ; 65071 (0xfe2f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe2f
cw 0x5
call send_back  ; 65072 (0xfe30)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe30
cw 0x5
call send_back  ; 65073 (0xfe31)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe31
cw 0x5
call send_back  ; 65074 (0xfe32)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe32
cw 0x5
call send_back  ; 65075 (0xfe33)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe33
cw 0x5
call send_back  ; 65076 (0xfe34)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe34
cw 0x5
call send_back  ; 65077 (0xfe35)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe35
cw 0x5
call send_back  ; 65078 (0xfe36)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe36
cw 0x5
call send_back  ; 65079 (0xfe37)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe37
cw 0x5
call send_back  ; 65080 (0xfe38)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe38
cw 0x5
call send_back  ; 65081 (0xfe39)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe39
cw 0x5
call send_back  ; 65082 (0xfe3a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe3a
cw 0x5
call send_back  ; 65083 (0xfe3b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe3b
cw 0x5
call send_back  ; 65084 (0xfe3c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe3c
cw 0x5
call send_back  ; 65085 (0xfe3d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe3d
cw 0x5
call send_back  ; 65086 (0xfe3e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe3e
cw 0x5
call send_back  ; 65087 (0xfe3f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe3f
cw 0x5
call send_back  ; 65088 (0xfe40)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe40
cw 0x5
call send_back  ; 65089 (0xfe41)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe41
cw 0x5
call send_back  ; 65090 (0xfe42)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe42
cw 0x5
call send_back  ; 65091 (0xfe43)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe43
cw 0x5
call send_back  ; 65092 (0xfe44)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe44
cw 0x5
call send_back  ; 65093 (0xfe45)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe45
cw 0x5
call send_back  ; 65094 (0xfe46)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe46
cw 0x5
call send_back  ; 65095 (0xfe47)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe47
cw 0x5
call send_back  ; 65096 (0xfe48)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe48
cw 0x5
call send_back  ; 65097 (0xfe49)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe49
cw 0x5
call send_back  ; 65098 (0xfe4a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe4a
cw 0x5
call send_back  ; 65099 (0xfe4b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe4b
cw 0x5
call send_back  ; 65100 (0xfe4c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe4c
cw 0x5
call send_back  ; 65101 (0xfe4d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe4d
cw 0x5
call send_back  ; 65102 (0xfe4e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe4e
cw 0x5
call send_back  ; 65103 (0xfe4f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe4f
cw 0x5
call send_back  ; 65104 (0xfe50)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe50
cw 0x5
call send_back  ; 65105 (0xfe51)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe51
cw 0x5
call send_back  ; 65106 (0xfe52)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe52
cw 0x5
call send_back  ; 65107 (0xfe53)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe53
cw 0x5
call send_back  ; 65108 (0xfe54)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe54
cw 0x5
call send_back  ; 65109 (0xfe55)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe55
cw 0x5
call send_back  ; 65110 (0xfe56)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe56
cw 0x5
call send_back  ; 65111 (0xfe57)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe57
cw 0x5
call send_back  ; 65112 (0xfe58)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe58
cw 0x5
call send_back  ; 65113 (0xfe59)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe59
cw 0x5
call send_back  ; 65114 (0xfe5a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe5a
cw 0x5
call send_back  ; 65115 (0xfe5b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe5b
cw 0x5
call send_back  ; 65116 (0xfe5c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe5c
cw 0x5
call send_back  ; 65117 (0xfe5d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe5d
cw 0x5
call send_back  ; 65118 (0xfe5e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe5e
cw 0x5
call send_back  ; 65119 (0xfe5f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe5f
cw 0x5
call send_back  ; 65120 (0xfe60)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe60
cw 0x5
call send_back  ; 65121 (0xfe61)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe61
cw 0x5
call send_back  ; 65122 (0xfe62)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe62
cw 0x5
call send_back  ; 65123 (0xfe63)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe63
cw 0x5
call send_back  ; 65124 (0xfe64)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe64
cw 0x5
call send_back  ; 65125 (0xfe65)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe65
cw 0x5
call send_back  ; 65126 (0xfe66)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe66
cw 0x5
call send_back  ; 65127 (0xfe67)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe67
cw 0x5
call send_back  ; 65128 (0xfe68)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe68
cw 0x5
call send_back  ; 65129 (0xfe69)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe69
cw 0x5
call send_back  ; 65130 (0xfe6a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe6a
cw 0x5
call send_back  ; 65131 (0xfe6b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe6b
cw 0x5
call send_back  ; 65132 (0xfe6c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe6c
cw 0x5
call send_back  ; 65133 (0xfe6d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe6d
cw 0x5
call send_back  ; 65134 (0xfe6e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe6e
cw 0x5
call send_back  ; 65135 (0xfe6f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe6f
cw 0x5
call send_back  ; 65136 (0xfe70)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe70
cw 0x5
call send_back  ; 65137 (0xfe71)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe71
cw 0x5
call send_back  ; 65138 (0xfe72)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe72
cw 0x5
call send_back  ; 65139 (0xfe73)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe73
cw 0x5
call send_back  ; 65140 (0xfe74)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe74
cw 0x5
call send_back  ; 65141 (0xfe75)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe75
cw 0x5
call send_back  ; 65142 (0xfe76)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe76
cw 0x5
call send_back  ; 65143 (0xfe77)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe77
cw 0x5
call send_back  ; 65144 (0xfe78)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe78
cw 0x5
call send_back  ; 65145 (0xfe79)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe79
cw 0x5
call send_back  ; 65146 (0xfe7a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe7a
cw 0x5
call send_back  ; 65147 (0xfe7b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe7b
cw 0x5
call send_back  ; 65148 (0xfe7c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe7c
cw 0x5
call send_back  ; 65149 (0xfe7d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe7d
cw 0x5
call send_back  ; 65150 (0xfe7e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe7e
cw 0x5
call send_back  ; 65151 (0xfe7f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xfe7f
cw 0x5
call send_back  ; 65152 (0xfe80)

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

