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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51969 (0xcb01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51970 (0xcb02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51971 (0xcb03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51972 (0xcb04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51973 (0xcb05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51974 (0xcb06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51975 (0xcb07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51976 (0xcb08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51977 (0xcb09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51978 (0xcb0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51979 (0xcb0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51980 (0xcb0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51981 (0xcb0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51982 (0xcb0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51983 (0xcb0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51984 (0xcb10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51985 (0xcb11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51986 (0xcb12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51987 (0xcb13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51988 (0xcb14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51989 (0xcb15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51990 (0xcb16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51991 (0xcb17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51992 (0xcb18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51993 (0xcb19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51994 (0xcb1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51995 (0xcb1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51996 (0xcb1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51997 (0xcb1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51998 (0xcb1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 51999 (0xcb1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52000 (0xcb20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52001 (0xcb21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52002 (0xcb22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52003 (0xcb23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52004 (0xcb24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52005 (0xcb25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52006 (0xcb26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52007 (0xcb27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52008 (0xcb28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52009 (0xcb29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52010 (0xcb2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52011 (0xcb2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52012 (0xcb2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52013 (0xcb2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52014 (0xcb2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52015 (0xcb2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52016 (0xcb30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52017 (0xcb31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52018 (0xcb32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52019 (0xcb33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52020 (0xcb34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52021 (0xcb35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52022 (0xcb36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52023 (0xcb37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52024 (0xcb38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52025 (0xcb39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52026 (0xcb3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52027 (0xcb3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52028 (0xcb3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52029 (0xcb3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52030 (0xcb3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52031 (0xcb3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52032 (0xcb40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52033 (0xcb41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52034 (0xcb42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52035 (0xcb43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52036 (0xcb44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52037 (0xcb45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52038 (0xcb46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52039 (0xcb47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52040 (0xcb48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52041 (0xcb49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52042 (0xcb4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52043 (0xcb4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52044 (0xcb4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52045 (0xcb4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52046 (0xcb4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52047 (0xcb4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52048 (0xcb50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52049 (0xcb51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52050 (0xcb52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52051 (0xcb53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52052 (0xcb54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52053 (0xcb55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52054 (0xcb56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52055 (0xcb57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52056 (0xcb58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52057 (0xcb59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52058 (0xcb5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52059 (0xcb5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52060 (0xcb5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52061 (0xcb5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52062 (0xcb5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52063 (0xcb5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52064 (0xcb60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52065 (0xcb61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52066 (0xcb62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52067 (0xcb63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52068 (0xcb64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52069 (0xcb65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52070 (0xcb66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52071 (0xcb67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52072 (0xcb68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52073 (0xcb69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52074 (0xcb6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52075 (0xcb6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52076 (0xcb6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52077 (0xcb6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52078 (0xcb6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52079 (0xcb6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52080 (0xcb70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52081 (0xcb71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52082 (0xcb72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52083 (0xcb73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52084 (0xcb74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52085 (0xcb75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52086 (0xcb76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52087 (0xcb77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52088 (0xcb78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52089 (0xcb79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52090 (0xcb7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52091 (0xcb7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52092 (0xcb7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52093 (0xcb7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52094 (0xcb7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52095 (0xcb7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00cb
cw 0x5
call send_back  ; 52096 (0xcb80)

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