How can I specify a static function for the stack consumption calculation function with stk30? (Aug. 25, 2000)●
When I generated sbdata.h with the SBDATA declaration utility (utlxx), some of the variables become comments. Why is
this? (Aug. 7, 2000)
●
Top of Page
Optimization
Which has higher priority, the optimization option or the de-optimization option? (Aug. 7, 2000)●
When I specify several optimization options, in what priority are the options processed? (Aug. 7, 2000)●
Can I define the optimization contents in detail with optimization option "-ONSBD"? (Aug. 7, 2000)●
When optimization option "-ONSBD" is specified, what kind of de-optimization happens? (Aug. 7, 2000)●
Can the NC30 compiler assign a register for local variables when the optimization option is specified? (Jul. 21, 2000)●
In the program example, variable b is over written at the line stated by [l=ReceiveByte(4);] in the compiled assembly code.
Why does this happen? (Mar. 21, 2000)
Example program Assembly code
void IntS4R(void)
{
long l;
char c,b;
b=ReceiveByte(4);
l=ReceiveByte(4);
}
void IntS4R(void)
{
long l;
char c,b;
b=ReceiveByte(4);
MOV.B #4,R1L
JSR.A $Receive
MOV.B R0L,-4H[FB]
l=ReceiveByte(4);
MOV.B #4,R1L
JSR.A $Receive
MOV.W R0,-4H[FB]
MOV.W R2,-2H[FB]
EXITD
}
●
My port access statement is not properly generated as a binary code when I use the optimization option. Why not?●
Since sequential bit accesses are grouped into one operation, an interrupt occurring during this operation sometimes causes
my program to mis-operate. What can I do to avoid this?
●
Top of Page
Libraries
When using NCxxWA, how can I prevent my application from linking unnecessary functions, such as MALLOC() and
MEMCPY()? (Aug. 7, 2000)
●
When the linker links library files, does it perform any cross-referencing among libraries? (Jul. 21, 2000)●
How can I locate library functions in a ROM address when linking. Also, is there a section for library functions that enables
me to make section assignments during a link? (Mar. 21, 2000)
●
Top of Page
Comentarios a estos manuales