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

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf00
cw 0x9
call send_back  ; 44801 (0xaf01)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf01
cw 0x9
call send_back  ; 44802 (0xaf02)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf02
cw 0x9
call send_back  ; 44803 (0xaf03)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf03
cw 0x9
call send_back  ; 44804 (0xaf04)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf04
cw 0x9
call send_back  ; 44805 (0xaf05)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf05
cw 0x9
call send_back  ; 44806 (0xaf06)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf06
cw 0x9
call send_back  ; 44807 (0xaf07)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf07
cw 0x9
call send_back  ; 44808 (0xaf08)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf08
cw 0x9
call send_back  ; 44809 (0xaf09)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf09
cw 0x9
call send_back  ; 44810 (0xaf0a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf0a
cw 0x9
call send_back  ; 44811 (0xaf0b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf0b
cw 0x9
call send_back  ; 44812 (0xaf0c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf0c
cw 0x9
call send_back  ; 44813 (0xaf0d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf0d
cw 0x9
call send_back  ; 44814 (0xaf0e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf0e
cw 0x9
call send_back  ; 44815 (0xaf0f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf0f
cw 0x9
call send_back  ; 44816 (0xaf10)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf10
cw 0x9
call send_back  ; 44817 (0xaf11)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf11
cw 0x9
call send_back  ; 44818 (0xaf12)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf12
cw 0x9
call send_back  ; 44819 (0xaf13)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf13
cw 0x9
call send_back  ; 44820 (0xaf14)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf14
cw 0x9
call send_back  ; 44821 (0xaf15)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf15
cw 0x9
call send_back  ; 44822 (0xaf16)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf16
cw 0x9
call send_back  ; 44823 (0xaf17)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf17
cw 0x9
call send_back  ; 44824 (0xaf18)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf18
cw 0x9
call send_back  ; 44825 (0xaf19)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf19
cw 0x9
call send_back  ; 44826 (0xaf1a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf1a
cw 0x9
call send_back  ; 44827 (0xaf1b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf1b
cw 0x9
call send_back  ; 44828 (0xaf1c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf1c
cw 0x9
call send_back  ; 44829 (0xaf1d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf1d
cw 0x9
call send_back  ; 44830 (0xaf1e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf1e
cw 0x9
call send_back  ; 44831 (0xaf1f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf1f
cw 0x9
call send_back  ; 44832 (0xaf20)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf20
cw 0x9
call send_back  ; 44833 (0xaf21)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf21
cw 0x9
call send_back  ; 44834 (0xaf22)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf22
cw 0x9
call send_back  ; 44835 (0xaf23)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf23
cw 0x9
call send_back  ; 44836 (0xaf24)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf24
cw 0x9
call send_back  ; 44837 (0xaf25)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf25
cw 0x9
call send_back  ; 44838 (0xaf26)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf26
cw 0x9
call send_back  ; 44839 (0xaf27)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf27
cw 0x9
call send_back  ; 44840 (0xaf28)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf28
cw 0x9
call send_back  ; 44841 (0xaf29)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf29
cw 0x9
call send_back  ; 44842 (0xaf2a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf2a
cw 0x9
call send_back  ; 44843 (0xaf2b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf2b
cw 0x9
call send_back  ; 44844 (0xaf2c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf2c
cw 0x9
call send_back  ; 44845 (0xaf2d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf2d
cw 0x9
call send_back  ; 44846 (0xaf2e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf2e
cw 0x9
call send_back  ; 44847 (0xaf2f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf2f
cw 0x9
call send_back  ; 44848 (0xaf30)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf30
cw 0x9
call send_back  ; 44849 (0xaf31)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf31
cw 0x9
call send_back  ; 44850 (0xaf32)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf32
cw 0x9
call send_back  ; 44851 (0xaf33)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf33
cw 0x9
call send_back  ; 44852 (0xaf34)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf34
cw 0x9
call send_back  ; 44853 (0xaf35)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf35
cw 0x9
call send_back  ; 44854 (0xaf36)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf36
cw 0x9
call send_back  ; 44855 (0xaf37)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf37
cw 0x9
call send_back  ; 44856 (0xaf38)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf38
cw 0x9
call send_back  ; 44857 (0xaf39)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf39
cw 0x9
call send_back  ; 44858 (0xaf3a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf3a
cw 0x9
call send_back  ; 44859 (0xaf3b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf3b
cw 0x9
call send_back  ; 44860 (0xaf3c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf3c
cw 0x9
call send_back  ; 44861 (0xaf3d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf3d
cw 0x9
call send_back  ; 44862 (0xaf3e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf3e
cw 0x9
call send_back  ; 44863 (0xaf3f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf3f
cw 0x9
call send_back  ; 44864 (0xaf40)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf40
cw 0x9
call send_back  ; 44865 (0xaf41)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf41
cw 0x9
call send_back  ; 44866 (0xaf42)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf42
cw 0x9
call send_back  ; 44867 (0xaf43)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf43
cw 0x9
call send_back  ; 44868 (0xaf44)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf44
cw 0x9
call send_back  ; 44869 (0xaf45)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf45
cw 0x9
call send_back  ; 44870 (0xaf46)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf46
cw 0x9
call send_back  ; 44871 (0xaf47)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf47
cw 0x9
call send_back  ; 44872 (0xaf48)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf48
cw 0x9
call send_back  ; 44873 (0xaf49)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf49
cw 0x9
call send_back  ; 44874 (0xaf4a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf4a
cw 0x9
call send_back  ; 44875 (0xaf4b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf4b
cw 0x9
call send_back  ; 44876 (0xaf4c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf4c
cw 0x9
call send_back  ; 44877 (0xaf4d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf4d
cw 0x9
call send_back  ; 44878 (0xaf4e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf4e
cw 0x9
call send_back  ; 44879 (0xaf4f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf4f
cw 0x9
call send_back  ; 44880 (0xaf50)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf50
cw 0x9
call send_back  ; 44881 (0xaf51)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf51
cw 0x9
call send_back  ; 44882 (0xaf52)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf52
cw 0x9
call send_back  ; 44883 (0xaf53)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf53
cw 0x9
call send_back  ; 44884 (0xaf54)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf54
cw 0x9
call send_back  ; 44885 (0xaf55)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf55
cw 0x9
call send_back  ; 44886 (0xaf56)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf56
cw 0x9
call send_back  ; 44887 (0xaf57)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf57
cw 0x9
call send_back  ; 44888 (0xaf58)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf58
cw 0x9
call send_back  ; 44889 (0xaf59)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf59
cw 0x9
call send_back  ; 44890 (0xaf5a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf5a
cw 0x9
call send_back  ; 44891 (0xaf5b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf5b
cw 0x9
call send_back  ; 44892 (0xaf5c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf5c
cw 0x9
call send_back  ; 44893 (0xaf5d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf5d
cw 0x9
call send_back  ; 44894 (0xaf5e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf5e
cw 0x9
call send_back  ; 44895 (0xaf5f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf5f
cw 0x9
call send_back  ; 44896 (0xaf60)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf60
cw 0x9
call send_back  ; 44897 (0xaf61)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf61
cw 0x9
call send_back  ; 44898 (0xaf62)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf62
cw 0x9
call send_back  ; 44899 (0xaf63)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf63
cw 0x9
call send_back  ; 44900 (0xaf64)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf64
cw 0x9
call send_back  ; 44901 (0xaf65)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf65
cw 0x9
call send_back  ; 44902 (0xaf66)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf66
cw 0x9
call send_back  ; 44903 (0xaf67)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf67
cw 0x9
call send_back  ; 44904 (0xaf68)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf68
cw 0x9
call send_back  ; 44905 (0xaf69)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf69
cw 0x9
call send_back  ; 44906 (0xaf6a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf6a
cw 0x9
call send_back  ; 44907 (0xaf6b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf6b
cw 0x9
call send_back  ; 44908 (0xaf6c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf6c
cw 0x9
call send_back  ; 44909 (0xaf6d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf6d
cw 0x9
call send_back  ; 44910 (0xaf6e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf6e
cw 0x9
call send_back  ; 44911 (0xaf6f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf6f
cw 0x9
call send_back  ; 44912 (0xaf70)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf70
cw 0x9
call send_back  ; 44913 (0xaf71)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf71
cw 0x9
call send_back  ; 44914 (0xaf72)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf72
cw 0x9
call send_back  ; 44915 (0xaf73)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf73
cw 0x9
call send_back  ; 44916 (0xaf74)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf74
cw 0x9
call send_back  ; 44917 (0xaf75)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf75
cw 0x9
call send_back  ; 44918 (0xaf76)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf76
cw 0x9
call send_back  ; 44919 (0xaf77)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf77
cw 0x9
call send_back  ; 44920 (0xaf78)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf78
cw 0x9
call send_back  ; 44921 (0xaf79)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf79
cw 0x9
call send_back  ; 44922 (0xaf7a)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf7a
cw 0x9
call send_back  ; 44923 (0xaf7b)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf7b
cw 0x9
call send_back  ; 44924 (0xaf7c)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf7c
cw 0x9
call send_back  ; 44925 (0xaf7d)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf7d
cw 0x9
call send_back  ; 44926 (0xaf7e)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf7e
cw 0x9
call send_back  ; 44927 (0xaf7f)

lri $AR1,    #0x0052
lri $IX1,    #0x9046
lri $WR1,    #0xaf7f
cw 0x9
call send_back  ; 44928 (0xaf80)

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

