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

lri $AR1,    #0x0f80
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3969 (0x0f81)

lri $AR1,    #0x0f81
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3970 (0x0f82)

lri $AR1,    #0x0f82
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3971 (0x0f83)

lri $AR1,    #0x0f83
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3972 (0x0f84)

lri $AR1,    #0x0f84
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3973 (0x0f85)

lri $AR1,    #0x0f85
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3974 (0x0f86)

lri $AR1,    #0x0f86
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3975 (0x0f87)

lri $AR1,    #0x0f87
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3976 (0x0f88)

lri $AR1,    #0x0f88
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3977 (0x0f89)

lri $AR1,    #0x0f89
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3978 (0x0f8a)

lri $AR1,    #0x0f8a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3979 (0x0f8b)

lri $AR1,    #0x0f8b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3980 (0x0f8c)

lri $AR1,    #0x0f8c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3981 (0x0f8d)

lri $AR1,    #0x0f8d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3982 (0x0f8e)

lri $AR1,    #0x0f8e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3983 (0x0f8f)

lri $AR1,    #0x0f8f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3984 (0x0f90)

lri $AR1,    #0x0f90
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3985 (0x0f91)

lri $AR1,    #0x0f91
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3986 (0x0f92)

lri $AR1,    #0x0f92
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3987 (0x0f93)

lri $AR1,    #0x0f93
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3988 (0x0f94)

lri $AR1,    #0x0f94
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3989 (0x0f95)

lri $AR1,    #0x0f95
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3990 (0x0f96)

lri $AR1,    #0x0f96
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3991 (0x0f97)

lri $AR1,    #0x0f97
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3992 (0x0f98)

lri $AR1,    #0x0f98
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3993 (0x0f99)

lri $AR1,    #0x0f99
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3994 (0x0f9a)

lri $AR1,    #0x0f9a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3995 (0x0f9b)

lri $AR1,    #0x0f9b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3996 (0x0f9c)

lri $AR1,    #0x0f9c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3997 (0x0f9d)

lri $AR1,    #0x0f9d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3998 (0x0f9e)

lri $AR1,    #0x0f9e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 3999 (0x0f9f)

lri $AR1,    #0x0f9f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4000 (0x0fa0)

lri $AR1,    #0x0fa0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4001 (0x0fa1)

lri $AR1,    #0x0fa1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4002 (0x0fa2)

lri $AR1,    #0x0fa2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4003 (0x0fa3)

lri $AR1,    #0x0fa3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4004 (0x0fa4)

lri $AR1,    #0x0fa4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4005 (0x0fa5)

lri $AR1,    #0x0fa5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4006 (0x0fa6)

lri $AR1,    #0x0fa6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4007 (0x0fa7)

lri $AR1,    #0x0fa7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4008 (0x0fa8)

lri $AR1,    #0x0fa8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4009 (0x0fa9)

lri $AR1,    #0x0fa9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4010 (0x0faa)

lri $AR1,    #0x0faa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4011 (0x0fab)

lri $AR1,    #0x0fab
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4012 (0x0fac)

lri $AR1,    #0x0fac
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4013 (0x0fad)

lri $AR1,    #0x0fad
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4014 (0x0fae)

lri $AR1,    #0x0fae
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4015 (0x0faf)

lri $AR1,    #0x0faf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4016 (0x0fb0)

lri $AR1,    #0x0fb0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4017 (0x0fb1)

lri $AR1,    #0x0fb1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4018 (0x0fb2)

lri $AR1,    #0x0fb2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4019 (0x0fb3)

lri $AR1,    #0x0fb3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4020 (0x0fb4)

lri $AR1,    #0x0fb4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4021 (0x0fb5)

lri $AR1,    #0x0fb5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4022 (0x0fb6)

lri $AR1,    #0x0fb6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4023 (0x0fb7)

lri $AR1,    #0x0fb7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4024 (0x0fb8)

lri $AR1,    #0x0fb8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4025 (0x0fb9)

lri $AR1,    #0x0fb9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4026 (0x0fba)

lri $AR1,    #0x0fba
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4027 (0x0fbb)

lri $AR1,    #0x0fbb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4028 (0x0fbc)

lri $AR1,    #0x0fbc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4029 (0x0fbd)

lri $AR1,    #0x0fbd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4030 (0x0fbe)

lri $AR1,    #0x0fbe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4031 (0x0fbf)

lri $AR1,    #0x0fbf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4032 (0x0fc0)

lri $AR1,    #0x0fc0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4033 (0x0fc1)

lri $AR1,    #0x0fc1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4034 (0x0fc2)

lri $AR1,    #0x0fc2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4035 (0x0fc3)

lri $AR1,    #0x0fc3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4036 (0x0fc4)

lri $AR1,    #0x0fc4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4037 (0x0fc5)

lri $AR1,    #0x0fc5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4038 (0x0fc6)

lri $AR1,    #0x0fc6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4039 (0x0fc7)

lri $AR1,    #0x0fc7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4040 (0x0fc8)

lri $AR1,    #0x0fc8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4041 (0x0fc9)

lri $AR1,    #0x0fc9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4042 (0x0fca)

lri $AR1,    #0x0fca
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4043 (0x0fcb)

lri $AR1,    #0x0fcb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4044 (0x0fcc)

lri $AR1,    #0x0fcc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4045 (0x0fcd)

lri $AR1,    #0x0fcd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4046 (0x0fce)

lri $AR1,    #0x0fce
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4047 (0x0fcf)

lri $AR1,    #0x0fcf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4048 (0x0fd0)

lri $AR1,    #0x0fd0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4049 (0x0fd1)

lri $AR1,    #0x0fd1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4050 (0x0fd2)

lri $AR1,    #0x0fd2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4051 (0x0fd3)

lri $AR1,    #0x0fd3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4052 (0x0fd4)

lri $AR1,    #0x0fd4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4053 (0x0fd5)

lri $AR1,    #0x0fd5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4054 (0x0fd6)

lri $AR1,    #0x0fd6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4055 (0x0fd7)

lri $AR1,    #0x0fd7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4056 (0x0fd8)

lri $AR1,    #0x0fd8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4057 (0x0fd9)

lri $AR1,    #0x0fd9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4058 (0x0fda)

lri $AR1,    #0x0fda
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4059 (0x0fdb)

lri $AR1,    #0x0fdb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4060 (0x0fdc)

lri $AR1,    #0x0fdc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4061 (0x0fdd)

lri $AR1,    #0x0fdd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4062 (0x0fde)

lri $AR1,    #0x0fde
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4063 (0x0fdf)

lri $AR1,    #0x0fdf
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4064 (0x0fe0)

lri $AR1,    #0x0fe0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4065 (0x0fe1)

lri $AR1,    #0x0fe1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4066 (0x0fe2)

lri $AR1,    #0x0fe2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4067 (0x0fe3)

lri $AR1,    #0x0fe3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4068 (0x0fe4)

lri $AR1,    #0x0fe4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4069 (0x0fe5)

lri $AR1,    #0x0fe5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4070 (0x0fe6)

lri $AR1,    #0x0fe6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4071 (0x0fe7)

lri $AR1,    #0x0fe7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4072 (0x0fe8)

lri $AR1,    #0x0fe8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4073 (0x0fe9)

lri $AR1,    #0x0fe9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4074 (0x0fea)

lri $AR1,    #0x0fea
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4075 (0x0feb)

lri $AR1,    #0x0feb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4076 (0x0fec)

lri $AR1,    #0x0fec
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4077 (0x0fed)

lri $AR1,    #0x0fed
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4078 (0x0fee)

lri $AR1,    #0x0fee
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4079 (0x0fef)

lri $AR1,    #0x0fef
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4080 (0x0ff0)

lri $AR1,    #0x0ff0
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4081 (0x0ff1)

lri $AR1,    #0x0ff1
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4082 (0x0ff2)

lri $AR1,    #0x0ff2
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4083 (0x0ff3)

lri $AR1,    #0x0ff3
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4084 (0x0ff4)

lri $AR1,    #0x0ff4
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4085 (0x0ff5)

lri $AR1,    #0x0ff5
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4086 (0x0ff6)

lri $AR1,    #0x0ff6
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4087 (0x0ff7)

lri $AR1,    #0x0ff7
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4088 (0x0ff8)

lri $AR1,    #0x0ff8
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4089 (0x0ff9)

lri $AR1,    #0x0ff9
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4090 (0x0ffa)

lri $AR1,    #0x0ffa
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4091 (0x0ffb)

lri $AR1,    #0x0ffb
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4092 (0x0ffc)

lri $AR1,    #0x0ffc
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4093 (0x0ffd)

lri $AR1,    #0x0ffd
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4094 (0x0ffe)

lri $AR1,    #0x0ffe
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4095 (0x0fff)

lri $AR1,    #0x0fff
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 4096 (0x1000)

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

