|
По первым двум вопросам - не занимайтесь извратом, найдите более естественное (для С) решение.
По третьему - читайте хелп:
Global variables can be stored at specific SRAM locations at design-time using the @ operator.
Example:
/* the integer variable "a" is stored
in SRAM at address 80h */
int a @0x80;
/* the structure "alfa" is stored
in SRAM at address 90h */
struct x {
int a;
char c;
} alfa @0x90;
E-mail: info@telesys.ru