#Pragma

From: Dirk Zechling (dirk.zechling_at_fh-furtwangen.de)
Date: 11/29/04


Date: Mon, 29 Nov 2004 13:30:34 +0100

Hello out There,

i've got some Problems by moving an example code with #pragma directives to
a new Microcontroller, where the C-Compiler don't know anything about
pragmas.

Code:
#########################################
#define CALL_FROM_ISR #pragma interrupt_level 1

#pragma interrupt_level 1
void AddressingSoccom( WORD Address, BYTE Command )
{...}
#########################################

The Example Code was written on a Microchip pic18f452.

Can anyone help me?

Best regards

Dirk Zechling



Relevant Pages

  • Re: #Pragma
    ... > directives to a new Microcontroller, ... #pragma is by definition compiler-specific. ... have to contact the compiler vendor directly. ...
    (comp.lang.cpp)
  • Re: What is use the of Pragma directives!!!
    ... There is no Pragma directive in C. ... there are several language-defined #pragma directives: ... See the C99 standard (google ...
    (comp.lang.c)
  • Re: What is use the of Pragma directives!!!
    ... There is no Pragma directive in C. ... there are several language-defined #pragma directives: ... See the C99 standard (google ... Keith Thompson kst-u@xxxxxxx ...
    (comp.lang.c)
  • Re: What is use the of Pragma directives!!!
    ... There is no Pragma directive in C. ... You use _Pragma to tell the compiler something that the ... meaning of the _Pragma and #pragma directives in your code. ... Because of the portability problems, ...
    (comp.lang.c)
  • Re: Reading EEPROM data, ATMEGA16, with imagecraft c-compiler
    ... >The intension is to read out a table located in EEPROM using the imagecraft ... >C-compiler version 6.31A ... >#pragma data:eeprom ...
    (comp.arch.embedded)