DSPRelated.com
Forums

ADSP21061 assembly syntax error

Started by Unknown May 29, 2003
Hi everybody

I am getting sytax error for the folloeing code

IF NOT SZ F7=-F7;

I am using VisualDSP++ simulator for ADSP21061.

I checked the instruction set in data book but does not find anything
wrong with the instruction above. I am not able to figure out why compiler
is giving error. If I remove this instruction compiler does not give any
error.

Help Please.

Vikas.



Hi,
I simulated code which uses the instruction exactly
that u specified ,but I am not getting any error.

I also use the same simulator.

Try again and and be sure whether u are getting the
error because of this instrucition only.

regards
Hemant vilas Ramdasi --- wrote:
> Hi everybody
>
> I am getting sytax error for the folloeing code
>
> IF NOT SZ F7=-F7;
>
> I am using VisualDSP++ simulator for ADSP21061.
>
> I checked the instruction set in data book but does
> not find anything
> wrong with the instruction above. I am not able to
> figure out why compiler
> is giving error. If I remove this instruction
> compiler does not give any
> error.
>
> Help Please.
>
> Vikas. > _____________________________________
> Note: If you do a simple "reply" with your email
> client, only the author of this message will receive
> your answer. You need to do a "reply all" if you
> want your answer to be distributed to the entire
> group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to > To Post: Send an email to
>
> To Leave: Send an email to > Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/


__________________________________


Hi Vikas,

There does not seem to be anything wrong with the instruction. Could you
list your required *.asm file. Visual DSP++ 3.0 successfully assembles the
instruction.

Regards,
Bhaskar Das

----- Original Message -----
From: <>
To: <>
Sent: Thursday, May 29, 2003 12:13 PM
Subject: [adsp] ADSP21061 assembly syntax error > Hi everybody
>
> I am getting sytax error for the folloeing code
>
> IF NOT SZ F7=-F7;
>
> I am using VisualDSP++ simulator for ADSP21061.
>
> I checked the instruction set in data book but does not find anything
> wrong with the instruction above. I am not able to figure out why compiler
> is giving error. If I remove this instruction compiler does not give any
> error.
>
> Help Please.
>
> Vikas. > _____________________________________
> Note: If you do a simple "reply" with your email client, only the author
of this message will receive your answer. You need to do a "reply all" if
you want your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/
>


______________________________________
Scanned and protected by Email scanner


Hi Vikas

Check that you haven't left the semi-colon off the
preceding instruction!

Andy Coles
-----Original Message-----
From: [mailto:]
Sent: Thursday, 29 May 2003 18:43
To:
Subject: [adsp] ADSP21061 assembly syntax error Hi everybody

I am getting sytax error for the folloeing code

IF NOT SZ F7=-F7;

I am using VisualDSP++ simulator for ADSP21061.

I checked the instruction set in data book but does not find anything
wrong with the instruction above. I am not able to figure out why compiler
is giving error. If I remove this instruction compiler does not give any
error.

Help Please.

Vikas. _____________________________________
Note: If you do a simple "reply" with your email client, only the author of this
message will receive your answer. You need to do a "reply all" if you want your
answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://groups.yahoo.com/group/adsp

Other Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/


--On Thursday, May 29, 2003 6:43 AM +0000 wrote:

> I am getting sytax error for the folloeing code
>
> IF NOT SZ F7=-F7;

I recall in the distant past getting an error because the assembler was
case-sensitive on the condition name? Try "sz" instead of "SZ".