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

lri $AR1,    #0x0080
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43905 (0xab81)

lri $AR1,    #0x0081
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43906 (0xab82)

lri $AR1,    #0x0082
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43907 (0xab83)

lri $AR1,    #0x0083
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43908 (0xab84)

lri $AR1,    #0x0084
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43909 (0xab85)

lri $AR1,    #0x0085
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43910 (0xab86)

lri $AR1,    #0x0086
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43911 (0xab87)

lri $AR1,    #0x0087
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43912 (0xab88)

lri $AR1,    #0x0088
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43913 (0xab89)

lri $AR1,    #0x0089
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43914 (0xab8a)

lri $AR1,    #0x008a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43915 (0xab8b)

lri $AR1,    #0x008b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43916 (0xab8c)

lri $AR1,    #0x008c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43917 (0xab8d)

lri $AR1,    #0x008d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43918 (0xab8e)

lri $AR1,    #0x008e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43919 (0xab8f)

lri $AR1,    #0x008f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43920 (0xab90)

lri $AR1,    #0x0090
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43921 (0xab91)

lri $AR1,    #0x0091
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43922 (0xab92)

lri $AR1,    #0x0092
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43923 (0xab93)

lri $AR1,    #0x0093
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43924 (0xab94)

lri $AR1,    #0x0094
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43925 (0xab95)

lri $AR1,    #0x0095
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43926 (0xab96)

lri $AR1,    #0x0096
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43927 (0xab97)

lri $AR1,    #0x0097
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43928 (0xab98)

lri $AR1,    #0x0098
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43929 (0xab99)

lri $AR1,    #0x0099
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43930 (0xab9a)

lri $AR1,    #0x009a
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43931 (0xab9b)

lri $AR1,    #0x009b
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43932 (0xab9c)

lri $AR1,    #0x009c
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43933 (0xab9d)

lri $AR1,    #0x009d
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43934 (0xab9e)

lri $AR1,    #0x009e
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43935 (0xab9f)

lri $AR1,    #0x009f
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43936 (0xaba0)

lri $AR1,    #0x00a0
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43937 (0xaba1)

lri $AR1,    #0x00a1
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43938 (0xaba2)

lri $AR1,    #0x00a2
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43939 (0xaba3)

lri $AR1,    #0x00a3
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43940 (0xaba4)

lri $AR1,    #0x00a4
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43941 (0xaba5)

lri $AR1,    #0x00a5
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43942 (0xaba6)

lri $AR1,    #0x00a6
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43943 (0xaba7)

lri $AR1,    #0x00a7
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43944 (0xaba8)

lri $AR1,    #0x00a8
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43945 (0xaba9)

lri $AR1,    #0x00a9
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43946 (0xabaa)

lri $AR1,    #0x00aa
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43947 (0xabab)

lri $AR1,    #0x00ab
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43948 (0xabac)

lri $AR1,    #0x00ac
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43949 (0xabad)

lri $AR1,    #0x00ad
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43950 (0xabae)

lri $AR1,    #0x00ae
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43951 (0xabaf)

lri $AR1,    #0x00af
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43952 (0xabb0)

lri $AR1,    #0x00b0
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43953 (0xabb1)

lri $AR1,    #0x00b1
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43954 (0xabb2)

lri $AR1,    #0x00b2
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43955 (0xabb3)

lri $AR1,    #0x00b3
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43956 (0xabb4)

lri $AR1,    #0x00b4
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43957 (0xabb5)

lri $AR1,    #0x00b5
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43958 (0xabb6)

lri $AR1,    #0x00b6
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43959 (0xabb7)

lri $AR1,    #0x00b7
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43960 (0xabb8)

lri $AR1,    #0x00b8
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43961 (0xabb9)

lri $AR1,    #0x00b9
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43962 (0xabba)

lri $AR1,    #0x00ba
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43963 (0xabbb)

lri $AR1,    #0x00bb
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43964 (0xabbc)

lri $AR1,    #0x00bc
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43965 (0xabbd)

lri $AR1,    #0x00bd
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43966 (0xabbe)

lri $AR1,    #0x00be
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43967 (0xabbf)

lri $AR1,    #0x00bf
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43968 (0xabc0)

lri $AR1,    #0x00c0
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43969 (0xabc1)

lri $AR1,    #0x00c1
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43970 (0xabc2)

lri $AR1,    #0x00c2
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43971 (0xabc3)

lri $AR1,    #0x00c3
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43972 (0xabc4)

lri $AR1,    #0x00c4
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43973 (0xabc5)

lri $AR1,    #0x00c5
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43974 (0xabc6)

lri $AR1,    #0x00c6
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43975 (0xabc7)

lri $AR1,    #0x00c7
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43976 (0xabc8)

lri $AR1,    #0x00c8
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43977 (0xabc9)

lri $AR1,    #0x00c9
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43978 (0xabca)

lri $AR1,    #0x00ca
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43979 (0xabcb)

lri $AR1,    #0x00cb
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43980 (0xabcc)

lri $AR1,    #0x00cc
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43981 (0xabcd)

lri $AR1,    #0x00cd
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43982 (0xabce)

lri $AR1,    #0x00ce
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43983 (0xabcf)

lri $AR1,    #0x00cf
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43984 (0xabd0)

lri $AR1,    #0x00d0
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43985 (0xabd1)

lri $AR1,    #0x00d1
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43986 (0xabd2)

lri $AR1,    #0x00d2
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43987 (0xabd3)

lri $AR1,    #0x00d3
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43988 (0xabd4)

lri $AR1,    #0x00d4
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43989 (0xabd5)

lri $AR1,    #0x00d5
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43990 (0xabd6)

lri $AR1,    #0x00d6
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43991 (0xabd7)

lri $AR1,    #0x00d7
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43992 (0xabd8)

lri $AR1,    #0x00d8
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43993 (0xabd9)

lri $AR1,    #0x00d9
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43994 (0xabda)

lri $AR1,    #0x00da
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43995 (0xabdb)

lri $AR1,    #0x00db
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43996 (0xabdc)

lri $AR1,    #0x00dc
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43997 (0xabdd)

lri $AR1,    #0x00dd
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43998 (0xabde)

lri $AR1,    #0x00de
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 43999 (0xabdf)

lri $AR1,    #0x00df
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44000 (0xabe0)

lri $AR1,    #0x00e0
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44001 (0xabe1)

lri $AR1,    #0x00e1
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44002 (0xabe2)

lri $AR1,    #0x00e2
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44003 (0xabe3)

lri $AR1,    #0x00e3
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44004 (0xabe4)

lri $AR1,    #0x00e4
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44005 (0xabe5)

lri $AR1,    #0x00e5
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44006 (0xabe6)

lri $AR1,    #0x00e6
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44007 (0xabe7)

lri $AR1,    #0x00e7
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44008 (0xabe8)

lri $AR1,    #0x00e8
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44009 (0xabe9)

lri $AR1,    #0x00e9
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44010 (0xabea)

lri $AR1,    #0x00ea
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44011 (0xabeb)

lri $AR1,    #0x00eb
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44012 (0xabec)

lri $AR1,    #0x00ec
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44013 (0xabed)

lri $AR1,    #0x00ed
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44014 (0xabee)

lri $AR1,    #0x00ee
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44015 (0xabef)

lri $AR1,    #0x00ef
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44016 (0xabf0)

lri $AR1,    #0x00f0
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44017 (0xabf1)

lri $AR1,    #0x00f1
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44018 (0xabf2)

lri $AR1,    #0x00f2
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44019 (0xabf3)

lri $AR1,    #0x00f3
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44020 (0xabf4)

lri $AR1,    #0x00f4
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44021 (0xabf5)

lri $AR1,    #0x00f5
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44022 (0xabf6)

lri $AR1,    #0x00f6
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44023 (0xabf7)

lri $AR1,    #0x00f7
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44024 (0xabf8)

lri $AR1,    #0x00f8
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44025 (0xabf9)

lri $AR1,    #0x00f9
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44026 (0xabfa)

lri $AR1,    #0x00fa
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44027 (0xabfb)

lri $AR1,    #0x00fb
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44028 (0xabfc)

lri $AR1,    #0x00fc
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44029 (0xabfd)

lri $AR1,    #0x00fd
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44030 (0xabfe)

lri $AR1,    #0x00fe
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44031 (0xabff)

lri $AR1,    #0x00ff
lri $IX1,    #0x0000
lri $WR1,    #0x00ab
cw 0x5
call send_back  ; 44032 (0xac00)

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