Hello,
I am new to CCS linear assembly coding.
i started to write linear assembly code but got stuck.
this the standard example in linear assembly coding i got.
.def _dotp4clasmfunc
_dotp4clasmfunc: .cproc ap, bp, count
.reg a, b, prod, sum
zero sum
loop: ldh *ap++,a
ldh *bp++,b
mpy a,b,prod
add prod,sum,sum
sub count,1,count
[count] b loop
.return sum
.endproc
here .reg is used to declare local register to be used in the code.
so my question is what should i do to declare an local array in the code.
thanks,
Vinod