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

lri $AR1,    #0x0040
lri $IX1,    #0xafc9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45002 (0xafca)

lri $AR1,    #0x0040
lri $IX1,    #0xafca
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45003 (0xafcb)

lri $AR1,    #0x0040
lri $IX1,    #0xafcb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45004 (0xafcc)

lri $AR1,    #0x0040
lri $IX1,    #0xafcc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45005 (0xafcd)

lri $AR1,    #0x0040
lri $IX1,    #0xafcd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45006 (0xafce)

lri $AR1,    #0x0040
lri $IX1,    #0xafce
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45007 (0xafcf)

lri $AR1,    #0x0040
lri $IX1,    #0xafcf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45008 (0xafd0)

lri $AR1,    #0x0040
lri $IX1,    #0xafd0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45009 (0xafd1)

lri $AR1,    #0x0040
lri $IX1,    #0xafd1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45010 (0xafd2)

lri $AR1,    #0x0040
lri $IX1,    #0xafd2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45011 (0xafd3)

lri $AR1,    #0x0040
lri $IX1,    #0xafd3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45012 (0xafd4)

lri $AR1,    #0x0040
lri $IX1,    #0xafd4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45013 (0xafd5)

lri $AR1,    #0x0040
lri $IX1,    #0xafd5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45014 (0xafd6)

lri $AR1,    #0x0040
lri $IX1,    #0xafd6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45015 (0xafd7)

lri $AR1,    #0x0040
lri $IX1,    #0xafd7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45016 (0xafd8)

lri $AR1,    #0x0040
lri $IX1,    #0xafd8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45017 (0xafd9)

lri $AR1,    #0x0040
lri $IX1,    #0xafd9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45018 (0xafda)

lri $AR1,    #0x0040
lri $IX1,    #0xafda
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45019 (0xafdb)

lri $AR1,    #0x0040
lri $IX1,    #0xafdb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45020 (0xafdc)

lri $AR1,    #0x0040
lri $IX1,    #0xafdc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45021 (0xafdd)

lri $AR1,    #0x0040
lri $IX1,    #0xafdd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45022 (0xafde)

lri $AR1,    #0x0040
lri $IX1,    #0xafde
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45023 (0xafdf)

lri $AR1,    #0x0040
lri $IX1,    #0xafdf
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45024 (0xafe0)

lri $AR1,    #0x0040
lri $IX1,    #0xafe0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45025 (0xafe1)

lri $AR1,    #0x0040
lri $IX1,    #0xafe1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45026 (0xafe2)

lri $AR1,    #0x0040
lri $IX1,    #0xafe2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45027 (0xafe3)

lri $AR1,    #0x0040
lri $IX1,    #0xafe3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45028 (0xafe4)

lri $AR1,    #0x0040
lri $IX1,    #0xafe4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45029 (0xafe5)

lri $AR1,    #0x0040
lri $IX1,    #0xafe5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45030 (0xafe6)

lri $AR1,    #0x0040
lri $IX1,    #0xafe6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45031 (0xafe7)

lri $AR1,    #0x0040
lri $IX1,    #0xafe7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45032 (0xafe8)

lri $AR1,    #0x0040
lri $IX1,    #0xafe8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45033 (0xafe9)

lri $AR1,    #0x0040
lri $IX1,    #0xafe9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45034 (0xafea)

lri $AR1,    #0x0040
lri $IX1,    #0xafea
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45035 (0xafeb)

lri $AR1,    #0x0040
lri $IX1,    #0xafeb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45036 (0xafec)

lri $AR1,    #0x0040
lri $IX1,    #0xafec
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45037 (0xafed)

lri $AR1,    #0x0040
lri $IX1,    #0xafed
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45038 (0xafee)

lri $AR1,    #0x0040
lri $IX1,    #0xafee
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45039 (0xafef)

lri $AR1,    #0x0040
lri $IX1,    #0xafef
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45040 (0xaff0)

lri $AR1,    #0x0040
lri $IX1,    #0xaff0
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45041 (0xaff1)

lri $AR1,    #0x0040
lri $IX1,    #0xaff1
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45042 (0xaff2)

lri $AR1,    #0x0040
lri $IX1,    #0xaff2
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45043 (0xaff3)

lri $AR1,    #0x0040
lri $IX1,    #0xaff3
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45044 (0xaff4)

lri $AR1,    #0x0040
lri $IX1,    #0xaff4
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45045 (0xaff5)

lri $AR1,    #0x0040
lri $IX1,    #0xaff5
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45046 (0xaff6)

lri $AR1,    #0x0040
lri $IX1,    #0xaff6
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45047 (0xaff7)

lri $AR1,    #0x0040
lri $IX1,    #0xaff7
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45048 (0xaff8)

lri $AR1,    #0x0040
lri $IX1,    #0xaff8
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45049 (0xaff9)

lri $AR1,    #0x0040
lri $IX1,    #0xaff9
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45050 (0xaffa)

lri $AR1,    #0x0040
lri $IX1,    #0xaffa
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45051 (0xaffb)

lri $AR1,    #0x0040
lri $IX1,    #0xaffb
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45052 (0xaffc)

lri $AR1,    #0x0040
lri $IX1,    #0xaffc
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45053 (0xaffd)

lri $AR1,    #0x0040
lri $IX1,    #0xaffd
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45054 (0xaffe)

lri $AR1,    #0x0040
lri $IX1,    #0xaffe
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45055 (0xafff)

lri $AR1,    #0x0040
lri $IX1,    #0xafff
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45056 (0xb000)

lri $AR1,    #0x0040
lri $IX1,    #0xb000
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45057 (0xb001)

lri $AR1,    #0x0040
lri $IX1,    #0xb001
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45058 (0xb002)

lri $AR1,    #0x0040
lri $IX1,    #0xb002
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45059 (0xb003)

lri $AR1,    #0x0040
lri $IX1,    #0xb003
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45060 (0xb004)

lri $AR1,    #0x0040
lri $IX1,    #0xb004
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45061 (0xb005)

lri $AR1,    #0x0040
lri $IX1,    #0xb005
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45062 (0xb006)

lri $AR1,    #0x0040
lri $IX1,    #0xb006
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45063 (0xb007)

lri $AR1,    #0x0040
lri $IX1,    #0xb007
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45064 (0xb008)

lri $AR1,    #0x0040
lri $IX1,    #0xb008
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45065 (0xb009)

lri $AR1,    #0x0040
lri $IX1,    #0xb009
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45066 (0xb00a)

lri $AR1,    #0x0040
lri $IX1,    #0xb00a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45067 (0xb00b)

lri $AR1,    #0x0040
lri $IX1,    #0xb00b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45068 (0xb00c)

lri $AR1,    #0x0040
lri $IX1,    #0xb00c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45069 (0xb00d)

lri $AR1,    #0x0040
lri $IX1,    #0xb00d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45070 (0xb00e)

lri $AR1,    #0x0040
lri $IX1,    #0xb00e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45071 (0xb00f)

lri $AR1,    #0x0040
lri $IX1,    #0xb00f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45072 (0xb010)

lri $AR1,    #0x0040
lri $IX1,    #0xb010
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45073 (0xb011)

lri $AR1,    #0x0040
lri $IX1,    #0xb011
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45074 (0xb012)

lri $AR1,    #0x0040
lri $IX1,    #0xb012
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45075 (0xb013)

lri $AR1,    #0x0040
lri $IX1,    #0xb013
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45076 (0xb014)

lri $AR1,    #0x0040
lri $IX1,    #0xb014
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45077 (0xb015)

lri $AR1,    #0x0040
lri $IX1,    #0xb015
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45078 (0xb016)

lri $AR1,    #0x0040
lri $IX1,    #0xb016
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45079 (0xb017)

lri $AR1,    #0x0040
lri $IX1,    #0xb017
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45080 (0xb018)

lri $AR1,    #0x0040
lri $IX1,    #0xb018
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45081 (0xb019)

lri $AR1,    #0x0040
lri $IX1,    #0xb019
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45082 (0xb01a)

lri $AR1,    #0x0040
lri $IX1,    #0xb01a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45083 (0xb01b)

lri $AR1,    #0x0040
lri $IX1,    #0xb01b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45084 (0xb01c)

lri $AR1,    #0x0040
lri $IX1,    #0xb01c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45085 (0xb01d)

lri $AR1,    #0x0040
lri $IX1,    #0xb01d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45086 (0xb01e)

lri $AR1,    #0x0040
lri $IX1,    #0xb01e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45087 (0xb01f)

lri $AR1,    #0x0040
lri $IX1,    #0xb01f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45088 (0xb020)

lri $AR1,    #0x0040
lri $IX1,    #0xb020
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45089 (0xb021)

lri $AR1,    #0x0040
lri $IX1,    #0xb021
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45090 (0xb022)

lri $AR1,    #0x0040
lri $IX1,    #0xb022
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45091 (0xb023)

lri $AR1,    #0x0040
lri $IX1,    #0xb023
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45092 (0xb024)

lri $AR1,    #0x0040
lri $IX1,    #0xb024
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45093 (0xb025)

lri $AR1,    #0x0040
lri $IX1,    #0xb025
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45094 (0xb026)

lri $AR1,    #0x0040
lri $IX1,    #0xb026
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45095 (0xb027)

lri $AR1,    #0x0040
lri $IX1,    #0xb027
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45096 (0xb028)

lri $AR1,    #0x0040
lri $IX1,    #0xb028
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45097 (0xb029)

lri $AR1,    #0x0040
lri $IX1,    #0xb029
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45098 (0xb02a)

lri $AR1,    #0x0040
lri $IX1,    #0xb02a
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45099 (0xb02b)

lri $AR1,    #0x0040
lri $IX1,    #0xb02b
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45100 (0xb02c)

lri $AR1,    #0x0040
lri $IX1,    #0xb02c
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45101 (0xb02d)

lri $AR1,    #0x0040
lri $IX1,    #0xb02d
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45102 (0xb02e)

lri $AR1,    #0x0040
lri $IX1,    #0xb02e
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45103 (0xb02f)

lri $AR1,    #0x0040
lri $IX1,    #0xb02f
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45104 (0xb030)

lri $AR1,    #0x0040
lri $IX1,    #0xb030
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45105 (0xb031)

lri $AR1,    #0x0040
lri $IX1,    #0xb031
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45106 (0xb032)

lri $AR1,    #0x0040
lri $IX1,    #0xb032
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45107 (0xb033)

lri $AR1,    #0x0040
lri $IX1,    #0xb033
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45108 (0xb034)

lri $AR1,    #0x0040
lri $IX1,    #0xb034
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45109 (0xb035)

lri $AR1,    #0x0040
lri $IX1,    #0xb035
lri $WR1,    #0x003f
cw 0x5
call send_back  ; 45110 (0xb036)

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