[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Some newbee questions :)
From: |
Leo Hendrawan |
Subject: |
[avr-gcc-list] Some newbee questions :) |
Date: |
Sat, 20 Nov 2004 12:18:12 +0000 (GMT) |
Hello everyone,
i have some newbee question:
- for the variable pointer such as: char *code, how much byte does it allocated
in the memory (RAM)?
- the function:
char *strchr (const char *src, int val)
is used to find a certain character in the string memory , right?
then why it use int val instead of char val, because the charcater we're
looking for is a char variable?
- is there a way to make a pointer in the RAM that point a certain
location in the program memory. lets say that i have a buffer of data to
send, and come strings programed in some location of the program memory.
so in the function where i copy the program mem string, i just change
the pointer (in RAM) that point to the desired location of prog mem
string.
- and last question, where i can find out how the AVR gcc compiler works?
is there any complete reference i could find in the internet?
Thanks for any answer....
Best Regards,
--------------------------
Leo Hendrawan
13200005
at 11:54 Nov 20
--------------------------
- [avr-gcc-list] Some newbee questions :),
Leo Hendrawan <=