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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43777 (0xab01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43778 (0xab02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43779 (0xab03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43780 (0xab04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43781 (0xab05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43782 (0xab06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43783 (0xab07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43784 (0xab08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43785 (0xab09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43786 (0xab0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43787 (0xab0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43788 (0xab0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43789 (0xab0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43790 (0xab0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43791 (0xab0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43792 (0xab10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43793 (0xab11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43794 (0xab12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43795 (0xab13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43796 (0xab14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43797 (0xab15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43798 (0xab16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43799 (0xab17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43800 (0xab18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43801 (0xab19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43802 (0xab1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43803 (0xab1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43804 (0xab1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43805 (0xab1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43806 (0xab1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43807 (0xab1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43808 (0xab20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43809 (0xab21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43810 (0xab22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43811 (0xab23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43812 (0xab24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43813 (0xab25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43814 (0xab26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43815 (0xab27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43816 (0xab28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43817 (0xab29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43818 (0xab2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43819 (0xab2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43820 (0xab2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43821 (0xab2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43822 (0xab2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43823 (0xab2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43824 (0xab30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43825 (0xab31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43826 (0xab32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43827 (0xab33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43828 (0xab34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43829 (0xab35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43830 (0xab36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43831 (0xab37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43832 (0xab38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43833 (0xab39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43834 (0xab3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43835 (0xab3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43836 (0xab3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43837 (0xab3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43838 (0xab3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43839 (0xab3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43840 (0xab40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43841 (0xab41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43842 (0xab42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43843 (0xab43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43844 (0xab44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43845 (0xab45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43846 (0xab46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43847 (0xab47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43848 (0xab48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43849 (0xab49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43850 (0xab4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43851 (0xab4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43852 (0xab4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43853 (0xab4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43854 (0xab4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43855 (0xab4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43856 (0xab50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43857 (0xab51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43858 (0xab52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43859 (0xab53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43860 (0xab54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43861 (0xab55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43862 (0xab56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43863 (0xab57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43864 (0xab58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43865 (0xab59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43866 (0xab5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43867 (0xab5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43868 (0xab5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43869 (0xab5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43870 (0xab5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43871 (0xab5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43872 (0xab60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43873 (0xab61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43874 (0xab62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43875 (0xab63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43876 (0xab64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43877 (0xab65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43878 (0xab66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43879 (0xab67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43880 (0xab68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43881 (0xab69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43882 (0xab6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43883 (0xab6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43884 (0xab6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43885 (0xab6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43886 (0xab6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43887 (0xab6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43888 (0xab70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43889 (0xab71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43890 (0xab72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43891 (0xab73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43892 (0xab74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43893 (0xab75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43894 (0xab76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43895 (0xab77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43896 (0xab78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43897 (0xab79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43898 (0xab7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43899 (0xab7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43900 (0xab7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43901 (0xab7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43902 (0xab7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43903 (0xab7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43904 (0xab80)

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