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

lri $AR1,    #0x4000
lri $IX1,    #0x7d00
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32001 (0x7d01)

lri $AR1,    #0x4000
lri $IX1,    #0x7d01
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32002 (0x7d02)

lri $AR1,    #0x4000
lri $IX1,    #0x7d02
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32003 (0x7d03)

lri $AR1,    #0x4000
lri $IX1,    #0x7d03
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32004 (0x7d04)

lri $AR1,    #0x4000
lri $IX1,    #0x7d04
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32005 (0x7d05)

lri $AR1,    #0x4000
lri $IX1,    #0x7d05
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32006 (0x7d06)

lri $AR1,    #0x4000
lri $IX1,    #0x7d06
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32007 (0x7d07)

lri $AR1,    #0x4000
lri $IX1,    #0x7d07
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32008 (0x7d08)

lri $AR1,    #0x4000
lri $IX1,    #0x7d08
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32009 (0x7d09)

lri $AR1,    #0x4000
lri $IX1,    #0x7d09
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32010 (0x7d0a)

lri $AR1,    #0x4000
lri $IX1,    #0x7d0a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32011 (0x7d0b)

lri $AR1,    #0x4000
lri $IX1,    #0x7d0b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32012 (0x7d0c)

lri $AR1,    #0x4000
lri $IX1,    #0x7d0c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32013 (0x7d0d)

lri $AR1,    #0x4000
lri $IX1,    #0x7d0d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32014 (0x7d0e)

lri $AR1,    #0x4000
lri $IX1,    #0x7d0e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32015 (0x7d0f)

lri $AR1,    #0x4000
lri $IX1,    #0x7d0f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32016 (0x7d10)

lri $AR1,    #0x4000
lri $IX1,    #0x7d10
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32017 (0x7d11)

lri $AR1,    #0x4000
lri $IX1,    #0x7d11
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32018 (0x7d12)

lri $AR1,    #0x4000
lri $IX1,    #0x7d12
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32019 (0x7d13)

lri $AR1,    #0x4000
lri $IX1,    #0x7d13
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32020 (0x7d14)

lri $AR1,    #0x4000
lri $IX1,    #0x7d14
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32021 (0x7d15)

lri $AR1,    #0x4000
lri $IX1,    #0x7d15
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32022 (0x7d16)

lri $AR1,    #0x4000
lri $IX1,    #0x7d16
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32023 (0x7d17)

lri $AR1,    #0x4000
lri $IX1,    #0x7d17
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32024 (0x7d18)

lri $AR1,    #0x4000
lri $IX1,    #0x7d18
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32025 (0x7d19)

lri $AR1,    #0x4000
lri $IX1,    #0x7d19
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32026 (0x7d1a)

lri $AR1,    #0x4000
lri $IX1,    #0x7d1a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32027 (0x7d1b)

lri $AR1,    #0x4000
lri $IX1,    #0x7d1b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32028 (0x7d1c)

lri $AR1,    #0x4000
lri $IX1,    #0x7d1c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32029 (0x7d1d)

lri $AR1,    #0x4000
lri $IX1,    #0x7d1d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32030 (0x7d1e)

lri $AR1,    #0x4000
lri $IX1,    #0x7d1e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32031 (0x7d1f)

lri $AR1,    #0x4000
lri $IX1,    #0x7d1f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32032 (0x7d20)

lri $AR1,    #0x4000
lri $IX1,    #0x7d20
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32033 (0x7d21)

lri $AR1,    #0x4000
lri $IX1,    #0x7d21
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32034 (0x7d22)

lri $AR1,    #0x4000
lri $IX1,    #0x7d22
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32035 (0x7d23)

lri $AR1,    #0x4000
lri $IX1,    #0x7d23
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32036 (0x7d24)

lri $AR1,    #0x4000
lri $IX1,    #0x7d24
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32037 (0x7d25)

lri $AR1,    #0x4000
lri $IX1,    #0x7d25
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32038 (0x7d26)

lri $AR1,    #0x4000
lri $IX1,    #0x7d26
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32039 (0x7d27)

lri $AR1,    #0x4000
lri $IX1,    #0x7d27
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32040 (0x7d28)

lri $AR1,    #0x4000
lri $IX1,    #0x7d28
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32041 (0x7d29)

lri $AR1,    #0x4000
lri $IX1,    #0x7d29
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32042 (0x7d2a)

lri $AR1,    #0x4000
lri $IX1,    #0x7d2a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32043 (0x7d2b)

lri $AR1,    #0x4000
lri $IX1,    #0x7d2b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32044 (0x7d2c)

lri $AR1,    #0x4000
lri $IX1,    #0x7d2c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32045 (0x7d2d)

lri $AR1,    #0x4000
lri $IX1,    #0x7d2d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32046 (0x7d2e)

lri $AR1,    #0x4000
lri $IX1,    #0x7d2e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32047 (0x7d2f)

lri $AR1,    #0x4000
lri $IX1,    #0x7d2f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32048 (0x7d30)

lri $AR1,    #0x4000
lri $IX1,    #0x7d30
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32049 (0x7d31)

lri $AR1,    #0x4000
lri $IX1,    #0x7d31
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32050 (0x7d32)

lri $AR1,    #0x4000
lri $IX1,    #0x7d32
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32051 (0x7d33)

lri $AR1,    #0x4000
lri $IX1,    #0x7d33
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32052 (0x7d34)

lri $AR1,    #0x4000
lri $IX1,    #0x7d34
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32053 (0x7d35)

lri $AR1,    #0x4000
lri $IX1,    #0x7d35
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32054 (0x7d36)

lri $AR1,    #0x4000
lri $IX1,    #0x7d36
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32055 (0x7d37)

lri $AR1,    #0x4000
lri $IX1,    #0x7d37
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32056 (0x7d38)

lri $AR1,    #0x4000
lri $IX1,    #0x7d38
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32057 (0x7d39)

lri $AR1,    #0x4000
lri $IX1,    #0x7d39
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32058 (0x7d3a)

lri $AR1,    #0x4000
lri $IX1,    #0x7d3a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32059 (0x7d3b)

lri $AR1,    #0x4000
lri $IX1,    #0x7d3b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32060 (0x7d3c)

lri $AR1,    #0x4000
lri $IX1,    #0x7d3c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32061 (0x7d3d)

lri $AR1,    #0x4000
lri $IX1,    #0x7d3d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32062 (0x7d3e)

lri $AR1,    #0x4000
lri $IX1,    #0x7d3e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32063 (0x7d3f)

lri $AR1,    #0x4000
lri $IX1,    #0x7d3f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32064 (0x7d40)

lri $AR1,    #0x4000
lri $IX1,    #0x7d40
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32065 (0x7d41)

lri $AR1,    #0x4000
lri $IX1,    #0x7d41
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32066 (0x7d42)

lri $AR1,    #0x4000
lri $IX1,    #0x7d42
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32067 (0x7d43)

lri $AR1,    #0x4000
lri $IX1,    #0x7d43
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32068 (0x7d44)

lri $AR1,    #0x4000
lri $IX1,    #0x7d44
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32069 (0x7d45)

lri $AR1,    #0x4000
lri $IX1,    #0x7d45
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32070 (0x7d46)

lri $AR1,    #0x4000
lri $IX1,    #0x7d46
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32071 (0x7d47)

lri $AR1,    #0x4000
lri $IX1,    #0x7d47
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32072 (0x7d48)

lri $AR1,    #0x4000
lri $IX1,    #0x7d48
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32073 (0x7d49)

lri $AR1,    #0x4000
lri $IX1,    #0x7d49
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32074 (0x7d4a)

lri $AR1,    #0x4000
lri $IX1,    #0x7d4a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32075 (0x7d4b)

lri $AR1,    #0x4000
lri $IX1,    #0x7d4b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32076 (0x7d4c)

lri $AR1,    #0x4000
lri $IX1,    #0x7d4c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32077 (0x7d4d)

lri $AR1,    #0x4000
lri $IX1,    #0x7d4d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32078 (0x7d4e)

lri $AR1,    #0x4000
lri $IX1,    #0x7d4e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32079 (0x7d4f)

lri $AR1,    #0x4000
lri $IX1,    #0x7d4f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32080 (0x7d50)

lri $AR1,    #0x4000
lri $IX1,    #0x7d50
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32081 (0x7d51)

lri $AR1,    #0x4000
lri $IX1,    #0x7d51
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32082 (0x7d52)

lri $AR1,    #0x4000
lri $IX1,    #0x7d52
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32083 (0x7d53)

lri $AR1,    #0x4000
lri $IX1,    #0x7d53
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32084 (0x7d54)

lri $AR1,    #0x4000
lri $IX1,    #0x7d54
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32085 (0x7d55)

lri $AR1,    #0x4000
lri $IX1,    #0x7d55
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32086 (0x7d56)

lri $AR1,    #0x4000
lri $IX1,    #0x7d56
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32087 (0x7d57)

lri $AR1,    #0x4000
lri $IX1,    #0x7d57
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32088 (0x7d58)

lri $AR1,    #0x4000
lri $IX1,    #0x7d58
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32089 (0x7d59)

lri $AR1,    #0x4000
lri $IX1,    #0x7d59
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32090 (0x7d5a)

lri $AR1,    #0x4000
lri $IX1,    #0x7d5a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32091 (0x7d5b)

lri $AR1,    #0x4000
lri $IX1,    #0x7d5b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32092 (0x7d5c)

lri $AR1,    #0x4000
lri $IX1,    #0x7d5c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32093 (0x7d5d)

lri $AR1,    #0x4000
lri $IX1,    #0x7d5d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32094 (0x7d5e)

lri $AR1,    #0x4000
lri $IX1,    #0x7d5e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32095 (0x7d5f)

lri $AR1,    #0x4000
lri $IX1,    #0x7d5f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32096 (0x7d60)

lri $AR1,    #0x4000
lri $IX1,    #0x7d60
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32097 (0x7d61)

lri $AR1,    #0x4000
lri $IX1,    #0x7d61
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32098 (0x7d62)

lri $AR1,    #0x4000
lri $IX1,    #0x7d62
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32099 (0x7d63)

lri $AR1,    #0x4000
lri $IX1,    #0x7d63
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32100 (0x7d64)

lri $AR1,    #0x4000
lri $IX1,    #0x7d64
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32101 (0x7d65)

lri $AR1,    #0x4000
lri $IX1,    #0x7d65
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32102 (0x7d66)

lri $AR1,    #0x4000
lri $IX1,    #0x7d66
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32103 (0x7d67)

lri $AR1,    #0x4000
lri $IX1,    #0x7d67
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32104 (0x7d68)

lri $AR1,    #0x4000
lri $IX1,    #0x7d68
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32105 (0x7d69)

lri $AR1,    #0x4000
lri $IX1,    #0x7d69
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32106 (0x7d6a)

lri $AR1,    #0x4000
lri $IX1,    #0x7d6a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32107 (0x7d6b)

lri $AR1,    #0x4000
lri $IX1,    #0x7d6b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32108 (0x7d6c)

lri $AR1,    #0x4000
lri $IX1,    #0x7d6c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32109 (0x7d6d)

lri $AR1,    #0x4000
lri $IX1,    #0x7d6d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32110 (0x7d6e)

lri $AR1,    #0x4000
lri $IX1,    #0x7d6e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32111 (0x7d6f)

lri $AR1,    #0x4000
lri $IX1,    #0x7d6f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32112 (0x7d70)

lri $AR1,    #0x4000
lri $IX1,    #0x7d70
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32113 (0x7d71)

lri $AR1,    #0x4000
lri $IX1,    #0x7d71
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32114 (0x7d72)

lri $AR1,    #0x4000
lri $IX1,    #0x7d72
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32115 (0x7d73)

lri $AR1,    #0x4000
lri $IX1,    #0x7d73
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32116 (0x7d74)

lri $AR1,    #0x4000
lri $IX1,    #0x7d74
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32117 (0x7d75)

lri $AR1,    #0x4000
lri $IX1,    #0x7d75
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32118 (0x7d76)

lri $AR1,    #0x4000
lri $IX1,    #0x7d76
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32119 (0x7d77)

lri $AR1,    #0x4000
lri $IX1,    #0x7d77
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32120 (0x7d78)

lri $AR1,    #0x4000
lri $IX1,    #0x7d78
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32121 (0x7d79)

lri $AR1,    #0x4000
lri $IX1,    #0x7d79
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32122 (0x7d7a)

lri $AR1,    #0x4000
lri $IX1,    #0x7d7a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32123 (0x7d7b)

lri $AR1,    #0x4000
lri $IX1,    #0x7d7b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32124 (0x7d7c)

lri $AR1,    #0x4000
lri $IX1,    #0x7d7c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32125 (0x7d7d)

lri $AR1,    #0x4000
lri $IX1,    #0x7d7d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32126 (0x7d7e)

lri $AR1,    #0x4000
lri $IX1,    #0x7d7e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32127 (0x7d7f)

lri $AR1,    #0x4000
lri $IX1,    #0x7d7f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 32128 (0x7d80)

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

