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

lri $AR1,    #0xa000
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40961 (0xa001)

lri $AR1,    #0xa001
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40962 (0xa002)

lri $AR1,    #0xa002
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40963 (0xa003)

lri $AR1,    #0xa003
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40964 (0xa004)

lri $AR1,    #0xa004
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40965 (0xa005)

lri $AR1,    #0xa005
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40966 (0xa006)

lri $AR1,    #0xa006
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40967 (0xa007)

lri $AR1,    #0xa007
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40968 (0xa008)

lri $AR1,    #0xa008
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40969 (0xa009)

lri $AR1,    #0xa009
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40970 (0xa00a)

lri $AR1,    #0xa00a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40971 (0xa00b)

lri $AR1,    #0xa00b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40972 (0xa00c)

lri $AR1,    #0xa00c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40973 (0xa00d)

lri $AR1,    #0xa00d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40974 (0xa00e)

lri $AR1,    #0xa00e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40975 (0xa00f)

lri $AR1,    #0xa00f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40976 (0xa010)

lri $AR1,    #0xa010
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40977 (0xa011)

lri $AR1,    #0xa011
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40978 (0xa012)

lri $AR1,    #0xa012
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40979 (0xa013)

lri $AR1,    #0xa013
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40980 (0xa014)

lri $AR1,    #0xa014
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40981 (0xa015)

lri $AR1,    #0xa015
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40982 (0xa016)

lri $AR1,    #0xa016
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40983 (0xa017)

lri $AR1,    #0xa017
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40984 (0xa018)

lri $AR1,    #0xa018
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40985 (0xa019)

lri $AR1,    #0xa019
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40986 (0xa01a)

lri $AR1,    #0xa01a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40987 (0xa01b)

lri $AR1,    #0xa01b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40988 (0xa01c)

lri $AR1,    #0xa01c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40989 (0xa01d)

lri $AR1,    #0xa01d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40990 (0xa01e)

lri $AR1,    #0xa01e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40991 (0xa01f)

lri $AR1,    #0xa01f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40992 (0xa020)

lri $AR1,    #0xa020
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40993 (0xa021)

lri $AR1,    #0xa021
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40994 (0xa022)

lri $AR1,    #0xa022
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40995 (0xa023)

lri $AR1,    #0xa023
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40996 (0xa024)

lri $AR1,    #0xa024
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40997 (0xa025)

lri $AR1,    #0xa025
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40998 (0xa026)

lri $AR1,    #0xa026
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 40999 (0xa027)

lri $AR1,    #0xa027
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41000 (0xa028)

lri $AR1,    #0xa028
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41001 (0xa029)

lri $AR1,    #0xa029
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41002 (0xa02a)

lri $AR1,    #0xa02a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41003 (0xa02b)

lri $AR1,    #0xa02b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41004 (0xa02c)

lri $AR1,    #0xa02c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41005 (0xa02d)

lri $AR1,    #0xa02d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41006 (0xa02e)

lri $AR1,    #0xa02e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41007 (0xa02f)

lri $AR1,    #0xa02f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41008 (0xa030)

lri $AR1,    #0xa030
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41009 (0xa031)

lri $AR1,    #0xa031
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41010 (0xa032)

lri $AR1,    #0xa032
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41011 (0xa033)

lri $AR1,    #0xa033
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41012 (0xa034)

lri $AR1,    #0xa034
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41013 (0xa035)

lri $AR1,    #0xa035
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41014 (0xa036)

lri $AR1,    #0xa036
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41015 (0xa037)

lri $AR1,    #0xa037
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41016 (0xa038)

lri $AR1,    #0xa038
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41017 (0xa039)

lri $AR1,    #0xa039
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41018 (0xa03a)

lri $AR1,    #0xa03a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41019 (0xa03b)

lri $AR1,    #0xa03b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41020 (0xa03c)

lri $AR1,    #0xa03c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41021 (0xa03d)

lri $AR1,    #0xa03d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41022 (0xa03e)

lri $AR1,    #0xa03e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41023 (0xa03f)

lri $AR1,    #0xa03f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41024 (0xa040)

lri $AR1,    #0xa040
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41025 (0xa041)

lri $AR1,    #0xa041
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41026 (0xa042)

lri $AR1,    #0xa042
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41027 (0xa043)

lri $AR1,    #0xa043
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41028 (0xa044)

lri $AR1,    #0xa044
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41029 (0xa045)

lri $AR1,    #0xa045
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41030 (0xa046)

lri $AR1,    #0xa046
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41031 (0xa047)

lri $AR1,    #0xa047
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41032 (0xa048)

lri $AR1,    #0xa048
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41033 (0xa049)

lri $AR1,    #0xa049
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41034 (0xa04a)

lri $AR1,    #0xa04a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41035 (0xa04b)

lri $AR1,    #0xa04b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41036 (0xa04c)

lri $AR1,    #0xa04c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41037 (0xa04d)

lri $AR1,    #0xa04d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41038 (0xa04e)

lri $AR1,    #0xa04e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41039 (0xa04f)

lri $AR1,    #0xa04f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41040 (0xa050)

lri $AR1,    #0xa050
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41041 (0xa051)

lri $AR1,    #0xa051
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41042 (0xa052)

lri $AR1,    #0xa052
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41043 (0xa053)

lri $AR1,    #0xa053
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41044 (0xa054)

lri $AR1,    #0xa054
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41045 (0xa055)

lri $AR1,    #0xa055
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41046 (0xa056)

lri $AR1,    #0xa056
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41047 (0xa057)

lri $AR1,    #0xa057
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41048 (0xa058)

lri $AR1,    #0xa058
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41049 (0xa059)

lri $AR1,    #0xa059
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41050 (0xa05a)

lri $AR1,    #0xa05a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41051 (0xa05b)

lri $AR1,    #0xa05b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41052 (0xa05c)

lri $AR1,    #0xa05c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41053 (0xa05d)

lri $AR1,    #0xa05d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41054 (0xa05e)

lri $AR1,    #0xa05e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41055 (0xa05f)

lri $AR1,    #0xa05f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41056 (0xa060)

lri $AR1,    #0xa060
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41057 (0xa061)

lri $AR1,    #0xa061
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41058 (0xa062)

lri $AR1,    #0xa062
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41059 (0xa063)

lri $AR1,    #0xa063
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41060 (0xa064)

lri $AR1,    #0xa064
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41061 (0xa065)

lri $AR1,    #0xa065
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41062 (0xa066)

lri $AR1,    #0xa066
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41063 (0xa067)

lri $AR1,    #0xa067
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41064 (0xa068)

lri $AR1,    #0xa068
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41065 (0xa069)

lri $AR1,    #0xa069
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41066 (0xa06a)

lri $AR1,    #0xa06a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41067 (0xa06b)

lri $AR1,    #0xa06b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41068 (0xa06c)

lri $AR1,    #0xa06c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41069 (0xa06d)

lri $AR1,    #0xa06d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41070 (0xa06e)

lri $AR1,    #0xa06e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41071 (0xa06f)

lri $AR1,    #0xa06f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41072 (0xa070)

lri $AR1,    #0xa070
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41073 (0xa071)

lri $AR1,    #0xa071
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41074 (0xa072)

lri $AR1,    #0xa072
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41075 (0xa073)

lri $AR1,    #0xa073
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41076 (0xa074)

lri $AR1,    #0xa074
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41077 (0xa075)

lri $AR1,    #0xa075
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41078 (0xa076)

lri $AR1,    #0xa076
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41079 (0xa077)

lri $AR1,    #0xa077
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41080 (0xa078)

lri $AR1,    #0xa078
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41081 (0xa079)

lri $AR1,    #0xa079
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41082 (0xa07a)

lri $AR1,    #0xa07a
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41083 (0xa07b)

lri $AR1,    #0xa07b
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41084 (0xa07c)

lri $AR1,    #0xa07c
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41085 (0xa07d)

lri $AR1,    #0xa07d
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41086 (0xa07e)

lri $AR1,    #0xa07e
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41087 (0xa07f)

lri $AR1,    #0xa07f
lri $IX1,    #0x0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 41088 (0xa080)

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

