Flowcode_PIC24_dsPIC_V4 and asm code

Moderator: Benj

Post Reply
regisD
Flowcode V4 User
Posts: 16
Joined: Wed Apr 07, 2010 7:48 am
Location: France, Troyes
Contact:

Flowcode_PIC24_dsPIC_V4 and asm code

Post by regisD »

Hi,

I have a problem with asm code and dspic, when i include a C code in my project (PIC24H128GP504), i get 'error: syntax error before nop '.
I simply used the sample code asm nop.

Thanks for your help.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Flowcode_PIC24_dsPIC_V4 and asm code

Post by Benj »

Hello,

For the dsPIC version of Flowcode Assembler code needs to be entered like this.

asm("nop");

regisD
Flowcode V4 User
Posts: 16
Joined: Wed Apr 07, 2010 7:48 am
Location: France, Troyes
Contact:

Re: Flowcode_PIC24_dsPIC_V4 and asm code

Post by regisD »

Ok , it's working,
thanks again Benj

the french documentation (help file) must be update...

saschech@gmx.de
Posts: 714
Joined: Wed Jan 31, 2007 12:41 pm
Has thanked: 1 time
Been thanked: 26 times
Contact:

Re: Flowcode_PIC24_dsPIC_V4 and asm code

Post by saschech@gmx.de »

Hello

the french documentation (help file) must be update...all other also

Regards Wolfgang

Post Reply