Renesas TM V.3.20A Spezifikationen Seite 96

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 762
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 95
Renesas Technology, Tools FAQs
Last Updated: August 7, 2000
Document Number: 01051269_e
Q.
When I compile/assemble a C-source file which includes a structured assembler description enclosed with #pragma ASM and
#pragma ENDASM using the TM, the TM generates a symbol miss error. How can I workaround this?
[Example]
C language source file (samp.c):
void func(void){
#pragma ASM
if R0 == 02h
A0 = 1
endif
#pragma ENDASM
}
Error Message:
samp.c 25 Error (asp30): Symbol is missing
samp.c 26 Error (asp30): Symbol is missing
samp.c 27 Error (asp30): Symbol is missing
However, when I invoke the as30 after making the intermediate file with nc30wa "option -S", I successfully get the r30 file with no
error.
A.
When you execute the assembler through NC30 (compile driver), the assembler does not invoke structured pre-processor PC30. The
assembler generates an error due to the structured description. When you use a structured assembler description enclosed with
"#pragma ASM and #pragma ENDASM", execute the assembler alone and make sure the "-P option" is set for the pre30 to be
invoked. After assembling your code, please review the output codes carefully as to whether the structured descriptions are properly
assembled.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Seitenansicht 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 761 762

Kommentare zu diesen Handbüchern

Keine Kommentare