When I compile my code I am getting a unknown Opcode '.pword' error. The only line of code in my project that has .pword is:
do {
__asm__ volatile (" .pword 0xDA4000");
Nop();
} while(0)
Commenting the line out does nothing.
I searched .pword 0xDA4000
and know it is supported by the IDE MPLab for PICs.
In my case the IDE I am using is CrossStudio for a STMf32f2xx chip.
I have the updated CrossStudio which comes with binutils 2.21 and gcc 4.6.0
I initially had a problem with compiling unnamed structs and unions but adding -fms-extensions
into additional C compiler options fixed it.
I dont know if I need to do something similar to fix Opcode '.pword' error.
could it just be that .pword is only a PIC opcode?