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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44033 (0xac01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44034 (0xac02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44035 (0xac03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44036 (0xac04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44037 (0xac05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44038 (0xac06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44039 (0xac07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44040 (0xac08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44041 (0xac09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44042 (0xac0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44043 (0xac0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44044 (0xac0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44045 (0xac0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44046 (0xac0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44047 (0xac0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44048 (0xac10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44049 (0xac11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44050 (0xac12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44051 (0xac13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44052 (0xac14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44053 (0xac15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44054 (0xac16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44055 (0xac17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44056 (0xac18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44057 (0xac19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44058 (0xac1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44059 (0xac1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44060 (0xac1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44061 (0xac1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44062 (0xac1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44063 (0xac1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44064 (0xac20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44065 (0xac21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44066 (0xac22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44067 (0xac23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44068 (0xac24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44069 (0xac25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44070 (0xac26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44071 (0xac27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44072 (0xac28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44073 (0xac29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44074 (0xac2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44075 (0xac2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44076 (0xac2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44077 (0xac2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44078 (0xac2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44079 (0xac2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44080 (0xac30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44081 (0xac31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44082 (0xac32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44083 (0xac33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44084 (0xac34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44085 (0xac35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44086 (0xac36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44087 (0xac37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44088 (0xac38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44089 (0xac39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44090 (0xac3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44091 (0xac3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44092 (0xac3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44093 (0xac3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44094 (0xac3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44095 (0xac3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44096 (0xac40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44097 (0xac41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44098 (0xac42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44099 (0xac43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44100 (0xac44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44101 (0xac45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44102 (0xac46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44103 (0xac47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44104 (0xac48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44105 (0xac49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44106 (0xac4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44107 (0xac4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44108 (0xac4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44109 (0xac4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44110 (0xac4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44111 (0xac4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44112 (0xac50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44113 (0xac51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44114 (0xac52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44115 (0xac53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44116 (0xac54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44117 (0xac55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44118 (0xac56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44119 (0xac57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44120 (0xac58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44121 (0xac59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44122 (0xac5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44123 (0xac5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44124 (0xac5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44125 (0xac5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44126 (0xac5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44127 (0xac5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44128 (0xac60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44129 (0xac61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44130 (0xac62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44131 (0xac63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44132 (0xac64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44133 (0xac65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44134 (0xac66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44135 (0xac67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44136 (0xac68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44137 (0xac69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44138 (0xac6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44139 (0xac6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44140 (0xac6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44141 (0xac6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44142 (0xac6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44143 (0xac6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44144 (0xac70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44145 (0xac71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44146 (0xac72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44147 (0xac73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44148 (0xac74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44149 (0xac75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44150 (0xac76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44151 (0xac77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44152 (0xac78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44153 (0xac79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44154 (0xac7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44155 (0xac7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44156 (0xac7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44157 (0xac7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44158 (0xac7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44159 (0xac7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00ac
cw 0x5
call send_back  ; 44160 (0xac80)

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