Renesas TM V.3.20A Specifikace Strana 18

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 762
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 17
Start-Up
The FB Register is defined in ncrt0.a30, what is it used for? Can I modify its contents? (Dec. 20, 2000)
[FB Register defined place]
ldc #0h,fb ; for debuger
I am developing a program for M16C/21. I created a new project with TM. The ncrt0.a30 file that was generated is described
as "C COMPILER for M16C/60". Can I use this file as is? (Aug. 7, 2000)
Top of Page
Warnings & Errors
The linker generates the following error message: "16-bits unsigned value is out of range 0 -- 65535. address = 'xxxx'"
However, when I reduce the RAM size, this warning is not generated. What could be the cause of the problem? (Nov. 19, 2001)
How should I describe the C-source statements to avoid getting the ln30 warning error "JMP.S instruction exist at end of bank
(address xxxxx)"? (Oct. 20, 2000)
When I execute NC30 in the MS-DOS prompt, the following message comes up and I cannot perform the compile. How can I
work around this? (Oct. 5, 2000)
"This program cannot be run in DOS mode."
Why doesn't the compiler generate an error when I reference an external function that has not been declared as "extern"? (Aug.
25, 2000)
In a C language program, if I declare two variables with the same name and same type in the same file, will an error be
generated? (Aug. 25, 2000)
I upgraded the NC30WA with a version later than V.3.20 Release 1, and then I started getting a warning. I am concerned that
there may be something wrong in my program. (Aug. 7, 2000)
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?
However, when I invoke the as30 after making the intermediate file with nc30wa "option -S", I successfully get the r30 file
with no error. (Aug. 7, 2000)
[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
When I am linking my program, the linker generates this error: 'function-name' value is undefined. But the function itself
actually exists. What's wrong?
Zobrazit stránku 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 761 762

Komentáře k této Příručce

Žádné komentáře