[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]

Отправлено AlexD 25 декабря 2001 г. 21:29
В ответ на: Спасибо!! Действительно работает. А откуда Вам известно, что к счетчику команд надо обращаться через "PC", а не по-другому. Может там еще что интересное есть? отправлено Маруся 25 декабря 2001 г. 20:32

AVR Studio Help > AVR Assembler User's Guide > Expressions

Operands

The following operands can be used:
User defined labels which are given the value of the location
counter at the place they appear.
User defined variables defined by the SET directive
User defined constants defined by the EQU directive
Integer constants: constants can be given in several formats, including
Decimal (default): 10, 255
Hexadecimal (two notations): 0x0a, $0a, 0xff, $ff
Binary: 0b00001010, 0b11111111
Octal (leading zero): 010, 077

PC - the current value of the Program memory location counter


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

Ответы



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

E-mail: info@telesys.ru