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

lri $AR1,    #0x0040
lri $IX1,    #0xbb4e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47951 (0xbb4f)

lri $AR1,    #0x0040
lri $IX1,    #0xbb4f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47952 (0xbb50)

lri $AR1,    #0x0040
lri $IX1,    #0xbb50
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47953 (0xbb51)

lri $AR1,    #0x0040
lri $IX1,    #0xbb51
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47954 (0xbb52)

lri $AR1,    #0x0040
lri $IX1,    #0xbb52
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47955 (0xbb53)

lri $AR1,    #0x0040
lri $IX1,    #0xbb53
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47956 (0xbb54)

lri $AR1,    #0x0040
lri $IX1,    #0xbb54
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47957 (0xbb55)

lri $AR1,    #0x0040
lri $IX1,    #0xbb55
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47958 (0xbb56)

lri $AR1,    #0x0040
lri $IX1,    #0xbb56
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47959 (0xbb57)

lri $AR1,    #0x0040
lri $IX1,    #0xbb57
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47960 (0xbb58)

lri $AR1,    #0x0040
lri $IX1,    #0xbb58
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47961 (0xbb59)

lri $AR1,    #0x0040
lri $IX1,    #0xbb59
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47962 (0xbb5a)

lri $AR1,    #0x0040
lri $IX1,    #0xbb5a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47963 (0xbb5b)

lri $AR1,    #0x0040
lri $IX1,    #0xbb5b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47964 (0xbb5c)

lri $AR1,    #0x0040
lri $IX1,    #0xbb5c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47965 (0xbb5d)

lri $AR1,    #0x0040
lri $IX1,    #0xbb5d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47966 (0xbb5e)

lri $AR1,    #0x0040
lri $IX1,    #0xbb5e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47967 (0xbb5f)

lri $AR1,    #0x0040
lri $IX1,    #0xbb5f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47968 (0xbb60)

lri $AR1,    #0x0040
lri $IX1,    #0xbb60
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47969 (0xbb61)

lri $AR1,    #0x0040
lri $IX1,    #0xbb61
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47970 (0xbb62)

lri $AR1,    #0x0040
lri $IX1,    #0xbb62
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47971 (0xbb63)

lri $AR1,    #0x0040
lri $IX1,    #0xbb63
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47972 (0xbb64)

lri $AR1,    #0x0040
lri $IX1,    #0xbb64
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47973 (0xbb65)

lri $AR1,    #0x0040
lri $IX1,    #0xbb65
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47974 (0xbb66)

lri $AR1,    #0x0040
lri $IX1,    #0xbb66
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47975 (0xbb67)

lri $AR1,    #0x0040
lri $IX1,    #0xbb67
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47976 (0xbb68)

lri $AR1,    #0x0040
lri $IX1,    #0xbb68
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47977 (0xbb69)

lri $AR1,    #0x0040
lri $IX1,    #0xbb69
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47978 (0xbb6a)

lri $AR1,    #0x0040
lri $IX1,    #0xbb6a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47979 (0xbb6b)

lri $AR1,    #0x0040
lri $IX1,    #0xbb6b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47980 (0xbb6c)

lri $AR1,    #0x0040
lri $IX1,    #0xbb6c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47981 (0xbb6d)

lri $AR1,    #0x0040
lri $IX1,    #0xbb6d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47982 (0xbb6e)

lri $AR1,    #0x0040
lri $IX1,    #0xbb6e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47983 (0xbb6f)

lri $AR1,    #0x0040
lri $IX1,    #0xbb6f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47984 (0xbb70)

lri $AR1,    #0x0040
lri $IX1,    #0xbb70
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47985 (0xbb71)

lri $AR1,    #0x0040
lri $IX1,    #0xbb71
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47986 (0xbb72)

lri $AR1,    #0x0040
lri $IX1,    #0xbb72
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47987 (0xbb73)

lri $AR1,    #0x0040
lri $IX1,    #0xbb73
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47988 (0xbb74)

lri $AR1,    #0x0040
lri $IX1,    #0xbb74
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47989 (0xbb75)

lri $AR1,    #0x0040
lri $IX1,    #0xbb75
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47990 (0xbb76)

lri $AR1,    #0x0040
lri $IX1,    #0xbb76
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47991 (0xbb77)

lri $AR1,    #0x0040
lri $IX1,    #0xbb77
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47992 (0xbb78)

lri $AR1,    #0x0040
lri $IX1,    #0xbb78
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47993 (0xbb79)

lri $AR1,    #0x0040
lri $IX1,    #0xbb79
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47994 (0xbb7a)

lri $AR1,    #0x0040
lri $IX1,    #0xbb7a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47995 (0xbb7b)

lri $AR1,    #0x0040
lri $IX1,    #0xbb7b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47996 (0xbb7c)

lri $AR1,    #0x0040
lri $IX1,    #0xbb7c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47997 (0xbb7d)

lri $AR1,    #0x0040
lri $IX1,    #0xbb7d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47998 (0xbb7e)

lri $AR1,    #0x0040
lri $IX1,    #0xbb7e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 47999 (0xbb7f)

lri $AR1,    #0x0040
lri $IX1,    #0xbb7f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48000 (0xbb80)

lri $AR1,    #0x0040
lri $IX1,    #0xbb80
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48001 (0xbb81)

lri $AR1,    #0x0040
lri $IX1,    #0xbb81
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48002 (0xbb82)

lri $AR1,    #0x0040
lri $IX1,    #0xbb82
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48003 (0xbb83)

lri $AR1,    #0x0040
lri $IX1,    #0xbb83
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48004 (0xbb84)

lri $AR1,    #0x0040
lri $IX1,    #0xbb84
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48005 (0xbb85)

lri $AR1,    #0x0040
lri $IX1,    #0xbb85
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48006 (0xbb86)

lri $AR1,    #0x0040
lri $IX1,    #0xbb86
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48007 (0xbb87)

lri $AR1,    #0x0040
lri $IX1,    #0xbb87
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48008 (0xbb88)

lri $AR1,    #0x0040
lri $IX1,    #0xbb88
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48009 (0xbb89)

lri $AR1,    #0x0040
lri $IX1,    #0xbb89
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48010 (0xbb8a)

lri $AR1,    #0x0040
lri $IX1,    #0xbb8a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48011 (0xbb8b)

lri $AR1,    #0x0040
lri $IX1,    #0xbb8b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48012 (0xbb8c)

lri $AR1,    #0x0040
lri $IX1,    #0xbb8c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48013 (0xbb8d)

lri $AR1,    #0x0040
lri $IX1,    #0xbb8d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48014 (0xbb8e)

lri $AR1,    #0x0040
lri $IX1,    #0xbb8e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48015 (0xbb8f)

lri $AR1,    #0x0040
lri $IX1,    #0xbb8f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48016 (0xbb90)

lri $AR1,    #0x0040
lri $IX1,    #0xbb90
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48017 (0xbb91)

lri $AR1,    #0x0040
lri $IX1,    #0xbb91
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48018 (0xbb92)

lri $AR1,    #0x0040
lri $IX1,    #0xbb92
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48019 (0xbb93)

lri $AR1,    #0x0040
lri $IX1,    #0xbb93
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48020 (0xbb94)

lri $AR1,    #0x0040
lri $IX1,    #0xbb94
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48021 (0xbb95)

lri $AR1,    #0x0040
lri $IX1,    #0xbb95
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48022 (0xbb96)

lri $AR1,    #0x0040
lri $IX1,    #0xbb96
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48023 (0xbb97)

lri $AR1,    #0x0040
lri $IX1,    #0xbb97
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48024 (0xbb98)

lri $AR1,    #0x0040
lri $IX1,    #0xbb98
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48025 (0xbb99)

lri $AR1,    #0x0040
lri $IX1,    #0xbb99
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48026 (0xbb9a)

lri $AR1,    #0x0040
lri $IX1,    #0xbb9a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48027 (0xbb9b)

lri $AR1,    #0x0040
lri $IX1,    #0xbb9b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48028 (0xbb9c)

lri $AR1,    #0x0040
lri $IX1,    #0xbb9c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48029 (0xbb9d)

lri $AR1,    #0x0040
lri $IX1,    #0xbb9d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48030 (0xbb9e)

lri $AR1,    #0x0040
lri $IX1,    #0xbb9e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48031 (0xbb9f)

lri $AR1,    #0x0040
lri $IX1,    #0xbb9f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48032 (0xbba0)

lri $AR1,    #0x0040
lri $IX1,    #0xbba0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48033 (0xbba1)

lri $AR1,    #0x0040
lri $IX1,    #0xbba1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48034 (0xbba2)

lri $AR1,    #0x0040
lri $IX1,    #0xbba2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48035 (0xbba3)

lri $AR1,    #0x0040
lri $IX1,    #0xbba3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48036 (0xbba4)

lri $AR1,    #0x0040
lri $IX1,    #0xbba4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48037 (0xbba5)

lri $AR1,    #0x0040
lri $IX1,    #0xbba5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48038 (0xbba6)

lri $AR1,    #0x0040
lri $IX1,    #0xbba6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48039 (0xbba7)

lri $AR1,    #0x0040
lri $IX1,    #0xbba7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48040 (0xbba8)

lri $AR1,    #0x0040
lri $IX1,    #0xbba8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48041 (0xbba9)

lri $AR1,    #0x0040
lri $IX1,    #0xbba9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48042 (0xbbaa)

lri $AR1,    #0x0040
lri $IX1,    #0xbbaa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48043 (0xbbab)

lri $AR1,    #0x0040
lri $IX1,    #0xbbab
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48044 (0xbbac)

lri $AR1,    #0x0040
lri $IX1,    #0xbbac
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48045 (0xbbad)

lri $AR1,    #0x0040
lri $IX1,    #0xbbad
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48046 (0xbbae)

lri $AR1,    #0x0040
lri $IX1,    #0xbbae
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48047 (0xbbaf)

lri $AR1,    #0x0040
lri $IX1,    #0xbbaf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48048 (0xbbb0)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48049 (0xbbb1)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48050 (0xbbb2)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48051 (0xbbb3)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48052 (0xbbb4)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48053 (0xbbb5)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48054 (0xbbb6)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48055 (0xbbb7)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48056 (0xbbb8)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48057 (0xbbb9)

lri $AR1,    #0x0040
lri $IX1,    #0xbbb9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48058 (0xbbba)

lri $AR1,    #0x0040
lri $IX1,    #0xbbba
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 48059 (0xbbbb)

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