[an error occurred while processing this directive] [an error occurred while processing this directive]
Есть аттрибут сегмента - bitaddressable (пример в теле)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)
[an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive]

Отправлено ReAl 14 марта 2002 г. 12:15
В ответ на: В Си понятно как делать, инересует как в ассемблере отправлено RadiM 13 марта 2002 г. 17:53

; выдрано из рабочих исходников
BA_ASMISR SEGMENT DATA BITADDRESSABLE
RSEG BA_ASMISR
txstate: DS 1 ; |Rempty|Rfull|txstart|txreq|phase[3..0]
#define TX_PHASE_START 0x07
sbit fTxReq = txstate^4;
sbit fTxStart = txstate^5;
sbit fRfull = txstate^6;
sbit fRempty = txstate^7;

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

Ответы



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

E-mail: info@telesys.ru