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

lri $AR1,    #0x4000
lri $IX1,    #0xa800
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43009 (0xa801)

lri $AR1,    #0x4000
lri $IX1,    #0xa801
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43010 (0xa802)

lri $AR1,    #0x4000
lri $IX1,    #0xa802
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43011 (0xa803)

lri $AR1,    #0x4000
lri $IX1,    #0xa803
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43012 (0xa804)

lri $AR1,    #0x4000
lri $IX1,    #0xa804
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43013 (0xa805)

lri $AR1,    #0x4000
lri $IX1,    #0xa805
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43014 (0xa806)

lri $AR1,    #0x4000
lri $IX1,    #0xa806
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43015 (0xa807)

lri $AR1,    #0x4000
lri $IX1,    #0xa807
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43016 (0xa808)

lri $AR1,    #0x4000
lri $IX1,    #0xa808
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43017 (0xa809)

lri $AR1,    #0x4000
lri $IX1,    #0xa809
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43018 (0xa80a)

lri $AR1,    #0x4000
lri $IX1,    #0xa80a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43019 (0xa80b)

lri $AR1,    #0x4000
lri $IX1,    #0xa80b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43020 (0xa80c)

lri $AR1,    #0x4000
lri $IX1,    #0xa80c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43021 (0xa80d)

lri $AR1,    #0x4000
lri $IX1,    #0xa80d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43022 (0xa80e)

lri $AR1,    #0x4000
lri $IX1,    #0xa80e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43023 (0xa80f)

lri $AR1,    #0x4000
lri $IX1,    #0xa80f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43024 (0xa810)

lri $AR1,    #0x4000
lri $IX1,    #0xa810
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43025 (0xa811)

lri $AR1,    #0x4000
lri $IX1,    #0xa811
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43026 (0xa812)

lri $AR1,    #0x4000
lri $IX1,    #0xa812
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43027 (0xa813)

lri $AR1,    #0x4000
lri $IX1,    #0xa813
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43028 (0xa814)

lri $AR1,    #0x4000
lri $IX1,    #0xa814
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43029 (0xa815)

lri $AR1,    #0x4000
lri $IX1,    #0xa815
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43030 (0xa816)

lri $AR1,    #0x4000
lri $IX1,    #0xa816
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43031 (0xa817)

lri $AR1,    #0x4000
lri $IX1,    #0xa817
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43032 (0xa818)

lri $AR1,    #0x4000
lri $IX1,    #0xa818
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43033 (0xa819)

lri $AR1,    #0x4000
lri $IX1,    #0xa819
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43034 (0xa81a)

lri $AR1,    #0x4000
lri $IX1,    #0xa81a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43035 (0xa81b)

lri $AR1,    #0x4000
lri $IX1,    #0xa81b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43036 (0xa81c)

lri $AR1,    #0x4000
lri $IX1,    #0xa81c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43037 (0xa81d)

lri $AR1,    #0x4000
lri $IX1,    #0xa81d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43038 (0xa81e)

lri $AR1,    #0x4000
lri $IX1,    #0xa81e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43039 (0xa81f)

lri $AR1,    #0x4000
lri $IX1,    #0xa81f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43040 (0xa820)

lri $AR1,    #0x4000
lri $IX1,    #0xa820
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43041 (0xa821)

lri $AR1,    #0x4000
lri $IX1,    #0xa821
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43042 (0xa822)

lri $AR1,    #0x4000
lri $IX1,    #0xa822
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43043 (0xa823)

lri $AR1,    #0x4000
lri $IX1,    #0xa823
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43044 (0xa824)

lri $AR1,    #0x4000
lri $IX1,    #0xa824
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43045 (0xa825)

lri $AR1,    #0x4000
lri $IX1,    #0xa825
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43046 (0xa826)

lri $AR1,    #0x4000
lri $IX1,    #0xa826
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43047 (0xa827)

lri $AR1,    #0x4000
lri $IX1,    #0xa827
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43048 (0xa828)

lri $AR1,    #0x4000
lri $IX1,    #0xa828
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43049 (0xa829)

lri $AR1,    #0x4000
lri $IX1,    #0xa829
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43050 (0xa82a)

lri $AR1,    #0x4000
lri $IX1,    #0xa82a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43051 (0xa82b)

lri $AR1,    #0x4000
lri $IX1,    #0xa82b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43052 (0xa82c)

lri $AR1,    #0x4000
lri $IX1,    #0xa82c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43053 (0xa82d)

lri $AR1,    #0x4000
lri $IX1,    #0xa82d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43054 (0xa82e)

lri $AR1,    #0x4000
lri $IX1,    #0xa82e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43055 (0xa82f)

lri $AR1,    #0x4000
lri $IX1,    #0xa82f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43056 (0xa830)

lri $AR1,    #0x4000
lri $IX1,    #0xa830
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43057 (0xa831)

lri $AR1,    #0x4000
lri $IX1,    #0xa831
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43058 (0xa832)

lri $AR1,    #0x4000
lri $IX1,    #0xa832
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43059 (0xa833)

lri $AR1,    #0x4000
lri $IX1,    #0xa833
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43060 (0xa834)

lri $AR1,    #0x4000
lri $IX1,    #0xa834
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43061 (0xa835)

lri $AR1,    #0x4000
lri $IX1,    #0xa835
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43062 (0xa836)

lri $AR1,    #0x4000
lri $IX1,    #0xa836
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43063 (0xa837)

lri $AR1,    #0x4000
lri $IX1,    #0xa837
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43064 (0xa838)

lri $AR1,    #0x4000
lri $IX1,    #0xa838
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43065 (0xa839)

lri $AR1,    #0x4000
lri $IX1,    #0xa839
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43066 (0xa83a)

lri $AR1,    #0x4000
lri $IX1,    #0xa83a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43067 (0xa83b)

lri $AR1,    #0x4000
lri $IX1,    #0xa83b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43068 (0xa83c)

lri $AR1,    #0x4000
lri $IX1,    #0xa83c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43069 (0xa83d)

lri $AR1,    #0x4000
lri $IX1,    #0xa83d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43070 (0xa83e)

lri $AR1,    #0x4000
lri $IX1,    #0xa83e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43071 (0xa83f)

lri $AR1,    #0x4000
lri $IX1,    #0xa83f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43072 (0xa840)

lri $AR1,    #0x4000
lri $IX1,    #0xa840
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43073 (0xa841)

lri $AR1,    #0x4000
lri $IX1,    #0xa841
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43074 (0xa842)

lri $AR1,    #0x4000
lri $IX1,    #0xa842
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43075 (0xa843)

lri $AR1,    #0x4000
lri $IX1,    #0xa843
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43076 (0xa844)

lri $AR1,    #0x4000
lri $IX1,    #0xa844
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43077 (0xa845)

lri $AR1,    #0x4000
lri $IX1,    #0xa845
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43078 (0xa846)

lri $AR1,    #0x4000
lri $IX1,    #0xa846
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43079 (0xa847)

lri $AR1,    #0x4000
lri $IX1,    #0xa847
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43080 (0xa848)

lri $AR1,    #0x4000
lri $IX1,    #0xa848
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43081 (0xa849)

lri $AR1,    #0x4000
lri $IX1,    #0xa849
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43082 (0xa84a)

lri $AR1,    #0x4000
lri $IX1,    #0xa84a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43083 (0xa84b)

lri $AR1,    #0x4000
lri $IX1,    #0xa84b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43084 (0xa84c)

lri $AR1,    #0x4000
lri $IX1,    #0xa84c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43085 (0xa84d)

lri $AR1,    #0x4000
lri $IX1,    #0xa84d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43086 (0xa84e)

lri $AR1,    #0x4000
lri $IX1,    #0xa84e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43087 (0xa84f)

lri $AR1,    #0x4000
lri $IX1,    #0xa84f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43088 (0xa850)

lri $AR1,    #0x4000
lri $IX1,    #0xa850
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43089 (0xa851)

lri $AR1,    #0x4000
lri $IX1,    #0xa851
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43090 (0xa852)

lri $AR1,    #0x4000
lri $IX1,    #0xa852
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43091 (0xa853)

lri $AR1,    #0x4000
lri $IX1,    #0xa853
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43092 (0xa854)

lri $AR1,    #0x4000
lri $IX1,    #0xa854
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43093 (0xa855)

lri $AR1,    #0x4000
lri $IX1,    #0xa855
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43094 (0xa856)

lri $AR1,    #0x4000
lri $IX1,    #0xa856
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43095 (0xa857)

lri $AR1,    #0x4000
lri $IX1,    #0xa857
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43096 (0xa858)

lri $AR1,    #0x4000
lri $IX1,    #0xa858
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43097 (0xa859)

lri $AR1,    #0x4000
lri $IX1,    #0xa859
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43098 (0xa85a)

lri $AR1,    #0x4000
lri $IX1,    #0xa85a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43099 (0xa85b)

lri $AR1,    #0x4000
lri $IX1,    #0xa85b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43100 (0xa85c)

lri $AR1,    #0x4000
lri $IX1,    #0xa85c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43101 (0xa85d)

lri $AR1,    #0x4000
lri $IX1,    #0xa85d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43102 (0xa85e)

lri $AR1,    #0x4000
lri $IX1,    #0xa85e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43103 (0xa85f)

lri $AR1,    #0x4000
lri $IX1,    #0xa85f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43104 (0xa860)

lri $AR1,    #0x4000
lri $IX1,    #0xa860
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43105 (0xa861)

lri $AR1,    #0x4000
lri $IX1,    #0xa861
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43106 (0xa862)

lri $AR1,    #0x4000
lri $IX1,    #0xa862
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43107 (0xa863)

lri $AR1,    #0x4000
lri $IX1,    #0xa863
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43108 (0xa864)

lri $AR1,    #0x4000
lri $IX1,    #0xa864
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43109 (0xa865)

lri $AR1,    #0x4000
lri $IX1,    #0xa865
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43110 (0xa866)

lri $AR1,    #0x4000
lri $IX1,    #0xa866
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43111 (0xa867)

lri $AR1,    #0x4000
lri $IX1,    #0xa867
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43112 (0xa868)

lri $AR1,    #0x4000
lri $IX1,    #0xa868
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43113 (0xa869)

lri $AR1,    #0x4000
lri $IX1,    #0xa869
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43114 (0xa86a)

lri $AR1,    #0x4000
lri $IX1,    #0xa86a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43115 (0xa86b)

lri $AR1,    #0x4000
lri $IX1,    #0xa86b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43116 (0xa86c)

lri $AR1,    #0x4000
lri $IX1,    #0xa86c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43117 (0xa86d)

lri $AR1,    #0x4000
lri $IX1,    #0xa86d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43118 (0xa86e)

lri $AR1,    #0x4000
lri $IX1,    #0xa86e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43119 (0xa86f)

lri $AR1,    #0x4000
lri $IX1,    #0xa86f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43120 (0xa870)

lri $AR1,    #0x4000
lri $IX1,    #0xa870
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43121 (0xa871)

lri $AR1,    #0x4000
lri $IX1,    #0xa871
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43122 (0xa872)

lri $AR1,    #0x4000
lri $IX1,    #0xa872
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43123 (0xa873)

lri $AR1,    #0x4000
lri $IX1,    #0xa873
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43124 (0xa874)

lri $AR1,    #0x4000
lri $IX1,    #0xa874
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43125 (0xa875)

lri $AR1,    #0x4000
lri $IX1,    #0xa875
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43126 (0xa876)

lri $AR1,    #0x4000
lri $IX1,    #0xa876
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43127 (0xa877)

lri $AR1,    #0x4000
lri $IX1,    #0xa877
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43128 (0xa878)

lri $AR1,    #0x4000
lri $IX1,    #0xa878
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43129 (0xa879)

lri $AR1,    #0x4000
lri $IX1,    #0xa879
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43130 (0xa87a)

lri $AR1,    #0x4000
lri $IX1,    #0xa87a
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43131 (0xa87b)

lri $AR1,    #0x4000
lri $IX1,    #0xa87b
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43132 (0xa87c)

lri $AR1,    #0x4000
lri $IX1,    #0xa87c
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43133 (0xa87d)

lri $AR1,    #0x4000
lri $IX1,    #0xa87d
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43134 (0xa87e)

lri $AR1,    #0x4000
lri $IX1,    #0xa87e
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43135 (0xa87f)

lri $AR1,    #0x4000
lri $IX1,    #0xa87f
lri $WR1,    #0xffff
cw 0x15
call send_back  ; 43136 (0xa880)

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

