Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to define a local array in linear assembly program.

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