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

lri $AR1,    #0x0000
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 52993 (0xcf01)

lri $AR1,    #0x0001
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 52994 (0xcf02)

lri $AR1,    #0x0002
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 52995 (0xcf03)

lri $AR1,    #0x0003
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 52996 (0xcf04)

lri $AR1,    #0x0004
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 52997 (0xcf05)

lri $AR1,    #0x0005
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 52998 (0xcf06)

lri $AR1,    #0x0006
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 52999 (0xcf07)

lri $AR1,    #0x0007
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53000 (0xcf08)

lri $AR1,    #0x0008
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53001 (0xcf09)

lri $AR1,    #0x0009
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53002 (0xcf0a)

lri $AR1,    #0x000a
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53003 (0xcf0b)

lri $AR1,    #0x000b
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53004 (0xcf0c)

lri $AR1,    #0x000c
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53005 (0xcf0d)

lri $AR1,    #0x000d
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53006 (0xcf0e)

lri $AR1,    #0x000e
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53007 (0xcf0f)

lri $AR1,    #0x000f
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53008 (0xcf10)

lri $AR1,    #0x0010
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53009 (0xcf11)

lri $AR1,    #0x0011
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53010 (0xcf12)

lri $AR1,    #0x0012
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53011 (0xcf13)

lri $AR1,    #0x0013
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53012 (0xcf14)

lri $AR1,    #0x0014
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53013 (0xcf15)

lri $AR1,    #0x0015
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53014 (0xcf16)

lri $AR1,    #0x0016
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53015 (0xcf17)

lri $AR1,    #0x0017
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53016 (0xcf18)

lri $AR1,    #0x0018
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53017 (0xcf19)

lri $AR1,    #0x0019
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53018 (0xcf1a)

lri $AR1,    #0x001a
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53019 (0xcf1b)

lri $AR1,    #0x001b
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53020 (0xcf1c)

lri $AR1,    #0x001c
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53021 (0xcf1d)

lri $AR1,    #0x001d
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53022 (0xcf1e)

lri $AR1,    #0x001e
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53023 (0xcf1f)

lri $AR1,    #0x001f
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53024 (0xcf20)

lri $AR1,    #0x0020
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53025 (0xcf21)

lri $AR1,    #0x0021
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53026 (0xcf22)

lri $AR1,    #0x0022
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53027 (0xcf23)

lri $AR1,    #0x0023
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53028 (0xcf24)

lri $AR1,    #0x0024
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53029 (0xcf25)

lri $AR1,    #0x0025
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53030 (0xcf26)

lri $AR1,    #0x0026
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53031 (0xcf27)

lri $AR1,    #0x0027
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53032 (0xcf28)

lri $AR1,    #0x0028
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53033 (0xcf29)

lri $AR1,    #0x0029
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53034 (0xcf2a)

lri $AR1,    #0x002a
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53035 (0xcf2b)

lri $AR1,    #0x002b
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53036 (0xcf2c)

lri $AR1,    #0x002c
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53037 (0xcf2d)

lri $AR1,    #0x002d
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53038 (0xcf2e)

lri $AR1,    #0x002e
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53039 (0xcf2f)

lri $AR1,    #0x002f
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53040 (0xcf30)

lri $AR1,    #0x0030
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53041 (0xcf31)

lri $AR1,    #0x0031
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53042 (0xcf32)

lri $AR1,    #0x0032
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53043 (0xcf33)

lri $AR1,    #0x0033
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53044 (0xcf34)

lri $AR1,    #0x0034
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53045 (0xcf35)

lri $AR1,    #0x0035
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53046 (0xcf36)

lri $AR1,    #0x0036
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53047 (0xcf37)

lri $AR1,    #0x0037
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53048 (0xcf38)

lri $AR1,    #0x0038
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53049 (0xcf39)

lri $AR1,    #0x0039
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53050 (0xcf3a)

lri $AR1,    #0x003a
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53051 (0xcf3b)

lri $AR1,    #0x003b
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53052 (0xcf3c)

lri $AR1,    #0x003c
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53053 (0xcf3d)

lri $AR1,    #0x003d
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53054 (0xcf3e)

lri $AR1,    #0x003e
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53055 (0xcf3f)

lri $AR1,    #0x003f
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53056 (0xcf40)

lri $AR1,    #0x0040
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53057 (0xcf41)

lri $AR1,    #0x0041
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53058 (0xcf42)

lri $AR1,    #0x0042
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53059 (0xcf43)

lri $AR1,    #0x0043
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53060 (0xcf44)

lri $AR1,    #0x0044
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53061 (0xcf45)

lri $AR1,    #0x0045
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53062 (0xcf46)

lri $AR1,    #0x0046
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53063 (0xcf47)

lri $AR1,    #0x0047
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53064 (0xcf48)

lri $AR1,    #0x0048
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53065 (0xcf49)

lri $AR1,    #0x0049
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53066 (0xcf4a)

lri $AR1,    #0x004a
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53067 (0xcf4b)

lri $AR1,    #0x004b
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53068 (0xcf4c)

lri $AR1,    #0x004c
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53069 (0xcf4d)

lri $AR1,    #0x004d
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53070 (0xcf4e)

lri $AR1,    #0x004e
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53071 (0xcf4f)

lri $AR1,    #0x004f
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53072 (0xcf50)

lri $AR1,    #0x0050
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53073 (0xcf51)

lri $AR1,    #0x0051
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53074 (0xcf52)

lri $AR1,    #0x0052
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53075 (0xcf53)

lri $AR1,    #0x0053
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53076 (0xcf54)

lri $AR1,    #0x0054
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53077 (0xcf55)

lri $AR1,    #0x0055
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53078 (0xcf56)

lri $AR1,    #0x0056
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53079 (0xcf57)

lri $AR1,    #0x0057
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53080 (0xcf58)

lri $AR1,    #0x0058
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53081 (0xcf59)

lri $AR1,    #0x0059
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53082 (0xcf5a)

lri $AR1,    #0x005a
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53083 (0xcf5b)

lri $AR1,    #0x005b
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53084 (0xcf5c)

lri $AR1,    #0x005c
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53085 (0xcf5d)

lri $AR1,    #0x005d
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53086 (0xcf5e)

lri $AR1,    #0x005e
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53087 (0xcf5f)

lri $AR1,    #0x005f
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53088 (0xcf60)

lri $AR1,    #0x0060
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53089 (0xcf61)

lri $AR1,    #0x0061
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53090 (0xcf62)

lri $AR1,    #0x0062
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53091 (0xcf63)

lri $AR1,    #0x0063
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53092 (0xcf64)

lri $AR1,    #0x0064
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53093 (0xcf65)

lri $AR1,    #0x0065
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53094 (0xcf66)

lri $AR1,    #0x0066
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53095 (0xcf67)

lri $AR1,    #0x0067
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53096 (0xcf68)

lri $AR1,    #0x0068
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53097 (0xcf69)

lri $AR1,    #0x0069
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53098 (0xcf6a)

lri $AR1,    #0x006a
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53099 (0xcf6b)

lri $AR1,    #0x006b
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53100 (0xcf6c)

lri $AR1,    #0x006c
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53101 (0xcf6d)

lri $AR1,    #0x006d
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53102 (0xcf6e)

lri $AR1,    #0x006e
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53103 (0xcf6f)

lri $AR1,    #0x006f
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53104 (0xcf70)

lri $AR1,    #0x0070
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53105 (0xcf71)

lri $AR1,    #0x0071
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53106 (0xcf72)

lri $AR1,    #0x0072
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53107 (0xcf73)

lri $AR1,    #0x0073
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53108 (0xcf74)

lri $AR1,    #0x0074
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53109 (0xcf75)

lri $AR1,    #0x0075
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53110 (0xcf76)

lri $AR1,    #0x0076
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53111 (0xcf77)

lri $AR1,    #0x0077
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53112 (0xcf78)

lri $AR1,    #0x0078
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53113 (0xcf79)

lri $AR1,    #0x0079
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53114 (0xcf7a)

lri $AR1,    #0x007a
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53115 (0xcf7b)

lri $AR1,    #0x007b
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53116 (0xcf7c)

lri $AR1,    #0x007c
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53117 (0xcf7d)

lri $AR1,    #0x007d
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53118 (0xcf7e)

lri $AR1,    #0x007e
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53119 (0xcf7f)

lri $AR1,    #0x007f
lri $IX1,    #0x0000
lri $WR1,    #0x00cf
cw 0x5
call send_back  ; 53120 (0xcf80)

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