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

lri $AR1,    #0x0040
lri $IX1,    #0xceef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52976 (0xcef0)

lri $AR1,    #0x0040
lri $IX1,    #0xcef0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52977 (0xcef1)

lri $AR1,    #0x0040
lri $IX1,    #0xcef1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52978 (0xcef2)

lri $AR1,    #0x0040
lri $IX1,    #0xcef2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52979 (0xcef3)

lri $AR1,    #0x0040
lri $IX1,    #0xcef3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52980 (0xcef4)

lri $AR1,    #0x0040
lri $IX1,    #0xcef4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52981 (0xcef5)

lri $AR1,    #0x0040
lri $IX1,    #0xcef5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52982 (0xcef6)

lri $AR1,    #0x0040
lri $IX1,    #0xcef6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52983 (0xcef7)

lri $AR1,    #0x0040
lri $IX1,    #0xcef7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52984 (0xcef8)

lri $AR1,    #0x0040
lri $IX1,    #0xcef8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52985 (0xcef9)

lri $AR1,    #0x0040
lri $IX1,    #0xcef9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52986 (0xcefa)

lri $AR1,    #0x0040
lri $IX1,    #0xcefa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52987 (0xcefb)

lri $AR1,    #0x0040
lri $IX1,    #0xcefb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52988 (0xcefc)

lri $AR1,    #0x0040
lri $IX1,    #0xcefc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52989 (0xcefd)

lri $AR1,    #0x0040
lri $IX1,    #0xcefd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52990 (0xcefe)

lri $AR1,    #0x0040
lri $IX1,    #0xcefe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52991 (0xceff)

lri $AR1,    #0x0040
lri $IX1,    #0xceff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52992 (0xcf00)

lri $AR1,    #0x0040
lri $IX1,    #0xcf00
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52993 (0xcf01)

lri $AR1,    #0x0040
lri $IX1,    #0xcf01
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52994 (0xcf02)

lri $AR1,    #0x0040
lri $IX1,    #0xcf02
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52995 (0xcf03)

lri $AR1,    #0x0040
lri $IX1,    #0xcf03
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52996 (0xcf04)

lri $AR1,    #0x0040
lri $IX1,    #0xcf04
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52997 (0xcf05)

lri $AR1,    #0x0040
lri $IX1,    #0xcf05
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52998 (0xcf06)

lri $AR1,    #0x0040
lri $IX1,    #0xcf06
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 52999 (0xcf07)

lri $AR1,    #0x0040
lri $IX1,    #0xcf07
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53000 (0xcf08)

lri $AR1,    #0x0040
lri $IX1,    #0xcf08
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53001 (0xcf09)

lri $AR1,    #0x0040
lri $IX1,    #0xcf09
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53002 (0xcf0a)

lri $AR1,    #0x0040
lri $IX1,    #0xcf0a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53003 (0xcf0b)

lri $AR1,    #0x0040
lri $IX1,    #0xcf0b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53004 (0xcf0c)

lri $AR1,    #0x0040
lri $IX1,    #0xcf0c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53005 (0xcf0d)

lri $AR1,    #0x0040
lri $IX1,    #0xcf0d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53006 (0xcf0e)

lri $AR1,    #0x0040
lri $IX1,    #0xcf0e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53007 (0xcf0f)

lri $AR1,    #0x0040
lri $IX1,    #0xcf0f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53008 (0xcf10)

lri $AR1,    #0x0040
lri $IX1,    #0xcf10
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53009 (0xcf11)

lri $AR1,    #0x0040
lri $IX1,    #0xcf11
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53010 (0xcf12)

lri $AR1,    #0x0040
lri $IX1,    #0xcf12
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53011 (0xcf13)

lri $AR1,    #0x0040
lri $IX1,    #0xcf13
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53012 (0xcf14)

lri $AR1,    #0x0040
lri $IX1,    #0xcf14
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53013 (0xcf15)

lri $AR1,    #0x0040
lri $IX1,    #0xcf15
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53014 (0xcf16)

lri $AR1,    #0x0040
lri $IX1,    #0xcf16
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53015 (0xcf17)

lri $AR1,    #0x0040
lri $IX1,    #0xcf17
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53016 (0xcf18)

lri $AR1,    #0x0040
lri $IX1,    #0xcf18
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53017 (0xcf19)

lri $AR1,    #0x0040
lri $IX1,    #0xcf19
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53018 (0xcf1a)

lri $AR1,    #0x0040
lri $IX1,    #0xcf1a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53019 (0xcf1b)

lri $AR1,    #0x0040
lri $IX1,    #0xcf1b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53020 (0xcf1c)

lri $AR1,    #0x0040
lri $IX1,    #0xcf1c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53021 (0xcf1d)

lri $AR1,    #0x0040
lri $IX1,    #0xcf1d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53022 (0xcf1e)

lri $AR1,    #0x0040
lri $IX1,    #0xcf1e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53023 (0xcf1f)

lri $AR1,    #0x0040
lri $IX1,    #0xcf1f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53024 (0xcf20)

lri $AR1,    #0x0040
lri $IX1,    #0xcf20
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53025 (0xcf21)

lri $AR1,    #0x0040
lri $IX1,    #0xcf21
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53026 (0xcf22)

lri $AR1,    #0x0040
lri $IX1,    #0xcf22
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53027 (0xcf23)

lri $AR1,    #0x0040
lri $IX1,    #0xcf23
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53028 (0xcf24)

lri $AR1,    #0x0040
lri $IX1,    #0xcf24
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53029 (0xcf25)

lri $AR1,    #0x0040
lri $IX1,    #0xcf25
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53030 (0xcf26)

lri $AR1,    #0x0040
lri $IX1,    #0xcf26
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53031 (0xcf27)

lri $AR1,    #0x0040
lri $IX1,    #0xcf27
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53032 (0xcf28)

lri $AR1,    #0x0040
lri $IX1,    #0xcf28
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53033 (0xcf29)

lri $AR1,    #0x0040
lri $IX1,    #0xcf29
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53034 (0xcf2a)

lri $AR1,    #0x0040
lri $IX1,    #0xcf2a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53035 (0xcf2b)

lri $AR1,    #0x0040
lri $IX1,    #0xcf2b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53036 (0xcf2c)

lri $AR1,    #0x0040
lri $IX1,    #0xcf2c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53037 (0xcf2d)

lri $AR1,    #0x0040
lri $IX1,    #0xcf2d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53038 (0xcf2e)

lri $AR1,    #0x0040
lri $IX1,    #0xcf2e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53039 (0xcf2f)

lri $AR1,    #0x0040
lri $IX1,    #0xcf2f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53040 (0xcf30)

lri $AR1,    #0x0040
lri $IX1,    #0xcf30
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53041 (0xcf31)

lri $AR1,    #0x0040
lri $IX1,    #0xcf31
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53042 (0xcf32)

lri $AR1,    #0x0040
lri $IX1,    #0xcf32
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53043 (0xcf33)

lri $AR1,    #0x0040
lri $IX1,    #0xcf33
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53044 (0xcf34)

lri $AR1,    #0x0040
lri $IX1,    #0xcf34
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53045 (0xcf35)

lri $AR1,    #0x0040
lri $IX1,    #0xcf35
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53046 (0xcf36)

lri $AR1,    #0x0040
lri $IX1,    #0xcf36
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53047 (0xcf37)

lri $AR1,    #0x0040
lri $IX1,    #0xcf37
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53048 (0xcf38)

lri $AR1,    #0x0040
lri $IX1,    #0xcf38
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53049 (0xcf39)

lri $AR1,    #0x0040
lri $IX1,    #0xcf39
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53050 (0xcf3a)

lri $AR1,    #0x0040
lri $IX1,    #0xcf3a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53051 (0xcf3b)

lri $AR1,    #0x0040
lri $IX1,    #0xcf3b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53052 (0xcf3c)

lri $AR1,    #0x0040
lri $IX1,    #0xcf3c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53053 (0xcf3d)

lri $AR1,    #0x0040
lri $IX1,    #0xcf3d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53054 (0xcf3e)

lri $AR1,    #0x0040
lri $IX1,    #0xcf3e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53055 (0xcf3f)

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

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

lri $AR1,    #0x0040
lri $IX1,    #0xcf41
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53058 (0xcf42)

lri $AR1,    #0x0040
lri $IX1,    #0xcf42
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53059 (0xcf43)

lri $AR1,    #0x0040
lri $IX1,    #0xcf43
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53060 (0xcf44)

lri $AR1,    #0x0040
lri $IX1,    #0xcf44
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53061 (0xcf45)

lri $AR1,    #0x0040
lri $IX1,    #0xcf45
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53062 (0xcf46)

lri $AR1,    #0x0040
lri $IX1,    #0xcf46
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53063 (0xcf47)

lri $AR1,    #0x0040
lri $IX1,    #0xcf47
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53064 (0xcf48)

lri $AR1,    #0x0040
lri $IX1,    #0xcf48
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53065 (0xcf49)

lri $AR1,    #0x0040
lri $IX1,    #0xcf49
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53066 (0xcf4a)

lri $AR1,    #0x0040
lri $IX1,    #0xcf4a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53067 (0xcf4b)

lri $AR1,    #0x0040
lri $IX1,    #0xcf4b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53068 (0xcf4c)

lri $AR1,    #0x0040
lri $IX1,    #0xcf4c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53069 (0xcf4d)

lri $AR1,    #0x0040
lri $IX1,    #0xcf4d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53070 (0xcf4e)

lri $AR1,    #0x0040
lri $IX1,    #0xcf4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53071 (0xcf4f)

lri $AR1,    #0x0040
lri $IX1,    #0xcf4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53072 (0xcf50)

lri $AR1,    #0x0040
lri $IX1,    #0xcf50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53073 (0xcf51)

lri $AR1,    #0x0040
lri $IX1,    #0xcf51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53074 (0xcf52)

lri $AR1,    #0x0040
lri $IX1,    #0xcf52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53075 (0xcf53)

lri $AR1,    #0x0040
lri $IX1,    #0xcf53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53076 (0xcf54)

lri $AR1,    #0x0040
lri $IX1,    #0xcf54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53077 (0xcf55)

lri $AR1,    #0x0040
lri $IX1,    #0xcf55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53078 (0xcf56)

lri $AR1,    #0x0040
lri $IX1,    #0xcf56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53079 (0xcf57)

lri $AR1,    #0x0040
lri $IX1,    #0xcf57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53080 (0xcf58)

lri $AR1,    #0x0040
lri $IX1,    #0xcf58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53081 (0xcf59)

lri $AR1,    #0x0040
lri $IX1,    #0xcf59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53082 (0xcf5a)

lri $AR1,    #0x0040
lri $IX1,    #0xcf5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53083 (0xcf5b)

lri $AR1,    #0x0040
lri $IX1,    #0xcf5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 53084 (0xcf5c)

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