definition. How can I do this? (Dec. 20, 2000)
What kind of declaration should I make in order to assign the array body in a far area and assign the array's reference pointer
in a near area? (Sep. 20, 2000)
●
How can I make each function that I describe with C language into an absolute address (fixed address)? (Aug. 7, 2000)●
I want to place CONST-declared data at the place that I assign in the ROM. (Jul. 21, 2000)●
How do I specify the following absolute address when using the above the "#pragma ADDRESS" declaration? (Jul. 21, 2000)
[Absolute address declaration Example]
#define AAA (*(volatile unsigned char *)0x000406)
●
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
Pre-process Commands
I defined a numerical value for the character string by the "#define" preprocess command. However, the operation of this
expression using this string did not result in the expected value. Why not?
In the following example, operation 'cul' does not result in the expected value, 0x04AAAA. (Aug. 25, 2000)
[Program Example]
#define V1 0x040000
#define V2 0x0AAAA + V1
cul = (WORD *)v2
●
Top of Page
Function & Variable Declarations
Can I use KANJI(Chinese) characters in C source programs? (Nov. 19, 2001)●
When executing the following program, long-type variable "l" is supposed to hold "-1". However, the results become
0xF(15). How can I make the results be "-1"? (2000.12.20)
void main( void )
{
struct
{
short r : 10 ;
short i : 4 ;
short s : 2 ;
} buf ;
long l ;
buf.i = -1 ;
l = (long)buf.i ;
}
●
What kind of declaration should I make in order to assign the array body in a far area and assign the array's reference pointer
in a near area? (Sep. 20, 2000)
●
Comentarios a estos manuales