[an error occurred while processing this directive] [an error occurred while processing this directive]
Ответ: Какие проблемы? Например, вот так работало всегда ...
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено Hog 21 августа 2001 г. 18:00
В ответ на: Не подскажете как в hi-tech работать с битовыми флагами?... отправлено экс51 21 августа 2001 г. 16:45

...
static char FLAGS @ 0x53;
static bit FL0 @(unsigned)&FLAGS*8+0;
static bit FL1 @(unsigned)&FLAGS*8+1;
static bit FL2 @(unsigned)&FLAGS*8+2;
...
static bit FL7 @(unsigned)&FLAGS*8+7;


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

Ответы



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

E-mail: info@telesys.ru