DSPRelated.com
Forums

A doubt in ADSP 21060 Programming..

Started by Srinivas Andra October 25, 1999
Hi,

Do we have Boolean variables in 210xx Assembly language? Or I'll put it
this way.
Can I set a flag which is user-defined based on the result of a logical
expression? This flag I would like to use in the Instruction "DO label
UNTIL flag".

Thanks in advance,
Srinivas.



Hi,

yes, you can do it.

Ref: ADSP-2106x SHARC Users Manual (includes ADSP-21061)

Page A-3 and instruction 13. Look for termination details in Page A-5
You can give things like this

do (pc,10) until falg0_in;

The mentioned flag can be manipulated before it's usage in the do until
instruction.. Ref Page A-7 for some more examples. ....jk
www.mdc.net/~jkumar
Singaram.Jayakumar
phone: 080-5283788 On Mon, 25 Oct 1999, Srinivas Andra wrote:

> Hi,
>
> Do we have Boolean variables in 210xx Assembly language? Or I'll put it
> this way.
> Can I set a flag which is user-defined based on the result of a logical
> expression? This flag I would like to use in the Instruction "DO label
> UNTIL flag".
>
> Thanks in advance,
> Srinivas. > >
>