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?
●
When compiling with the NC30 V.3.00 (non-optimized), the code size is sometimes larger than in the NC30 V.2.00. Why?●
Top of Page
Install
I bought the NC30WA package. I was able to install NC30 properly with the included license ID, but I could not install AS30
with the same ID. Do I need to obtain a separate license ID for AS30, too? (Jul. 21, 2000)
●
Top of Page
Comments
When I put "/*" in a comment starting with "//", the compiler generates an error. Can't I use this character combination? (Jul.
21, 2000)
[Example program]
main()
{
// /* abc
}
●
Top of Page
Registers
Which registers are stored in the stack when calling a function? (Dec. 20, 2000)●
I want to assign all registers (R0, R1, R2, R3, A0, and A1) as register variables. Is it possible to do this with the NC30
compiler? (Jul. 21, 2000)
●
Can the NC30 compiler assign a register for local variables when the optimization option is specified? (Jul. 21, 2000)●
I want to use register variables with the NC30 compiler. How can I do that? (Jul. 21, 2000)●
Top of Page
Kommentare zu diesen Handbüchern