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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60929 (0xee01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60930 (0xee02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60931 (0xee03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60932 (0xee04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60933 (0xee05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60934 (0xee06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60935 (0xee07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60936 (0xee08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60937 (0xee09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60938 (0xee0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60939 (0xee0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60940 (0xee0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60941 (0xee0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60942 (0xee0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60943 (0xee0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60944 (0xee10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60945 (0xee11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60946 (0xee12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60947 (0xee13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60948 (0xee14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60949 (0xee15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60950 (0xee16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60951 (0xee17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60952 (0xee18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60953 (0xee19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60954 (0xee1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60955 (0xee1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60956 (0xee1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60957 (0xee1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60958 (0xee1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60959 (0xee1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60960 (0xee20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60961 (0xee21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60962 (0xee22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60963 (0xee23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60964 (0xee24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60965 (0xee25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60966 (0xee26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60967 (0xee27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60968 (0xee28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60969 (0xee29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60970 (0xee2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60971 (0xee2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60972 (0xee2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60973 (0xee2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60974 (0xee2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60975 (0xee2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60976 (0xee30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60977 (0xee31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60978 (0xee32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60979 (0xee33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60980 (0xee34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60981 (0xee35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60982 (0xee36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60983 (0xee37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60984 (0xee38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60985 (0xee39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60986 (0xee3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60987 (0xee3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60988 (0xee3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60989 (0xee3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60990 (0xee3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60991 (0xee3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60992 (0xee40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60993 (0xee41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60994 (0xee42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60995 (0xee43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60996 (0xee44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60997 (0xee45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60998 (0xee46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 60999 (0xee47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61000 (0xee48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61001 (0xee49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61002 (0xee4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61003 (0xee4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61004 (0xee4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61005 (0xee4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61006 (0xee4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61007 (0xee4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61008 (0xee50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61009 (0xee51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61010 (0xee52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61011 (0xee53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61012 (0xee54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61013 (0xee55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61014 (0xee56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61015 (0xee57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61016 (0xee58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61017 (0xee59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61018 (0xee5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61019 (0xee5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61020 (0xee5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61021 (0xee5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61022 (0xee5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61023 (0xee5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61024 (0xee60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61025 (0xee61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61026 (0xee62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61027 (0xee63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61028 (0xee64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61029 (0xee65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61030 (0xee66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61031 (0xee67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61032 (0xee68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61033 (0xee69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61034 (0xee6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61035 (0xee6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61036 (0xee6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61037 (0xee6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61038 (0xee6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61039 (0xee6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61040 (0xee70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61041 (0xee71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61042 (0xee72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61043 (0xee73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61044 (0xee74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61045 (0xee75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61046 (0xee76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61047 (0xee77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61048 (0xee78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61049 (0xee79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61050 (0xee7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61051 (0xee7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61052 (0xee7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61053 (0xee7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61054 (0xee7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61055 (0xee7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00ee
cw 0x5
call send_back  ; 61056 (0xee80)

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