А pdf слабо прочесть? Keywords such as __bankn or __eeprom allow you to override the default
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено новичок123 26 ноября 2003 г. 09:04
В ответ на: Кто работал с компилятором для PIC16 от IAR - просветите пожалуйста (+) отправлено Вопрос 25 ноября 2003 г. 21:08

This section describes the available function pointers and data pointers.
FUNCTION POINTERS
The following function pointers are available:
DATA POINTERS
The following data pointers are available:
Pointer Pointer size Description
__bankn_func 32 bits
__bank_func 32 bits Default in overlay code model
__stack_func 24 bits Default in stack code model
Table 7: Function pointers
Keyword Storage Memory Range Description
__bank 16 bits Data 0x0–0x0FFF Default memory storage
attribute
__bankn 8 bits Data 0x0–0xFF
__constptr 24 bits Code 0x0–0x1FFFFF
1For devices with up to 256 bytes of EEPROM memory
2For devices with more than 256 bytes of EEPROM memory
For more infotrmation about pointer and object sizes, see Table 19, page 77.
__dptr 24 bits Code/Data Default pointer
__eeprom 8 bits1 or
16 bits2
EEPROM 0x0–0xFF1 or
0x0–0xFFFF2
__extmem 24 bits Code 0x0–0x1FFFFF
__nonbanked 8 bits Data 0x0–0xFF
Keyword Storage Memory Range Description
Table 8: Data pointers (Continued)


char __bank0 * p;

__no_init volatile __nonbanked union
{
unsigned char INTCON;
struct
{
unsigned char RBIF:1;
unsigned char INT0IF:1;
unsigned char TMR0IF:1;
unsigned char RBIE:1;
unsigned char INT0IE:1;
unsigned char TMR0IE:1;
unsigned char PEIE:1;
unsigned char GIE:1;
}
} @ 0xFF2;

Составить ответ  |||  Конференция  |||  Архив

Ответы



Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru