[an error occurred while processing this directive]
нету...:((( похоже Keil и Franklin одного поля ягоды по ASMу (+)
(«Телесистемы»: Конференция «Микроконтроллеры и их применение»)

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

Отправлено sukhodolsky 16 августа 2002 г. 14:36
В ответ на: Было http://www.fsinc.com/ отправлено Sergey Pinigin 16 августа 2002 г. 14:12

очень похоже. или продались или своровали....

=============
Labels
A label is a type of symbol you define. All rules that apply to symbol names also apply to labels. When defined, a label must be the first text field in a line but may be preceded by tabs or spaces. A colon character (:) must immediately follow the symbol name to identify it as a label. Only one label may be defined on a line. For example:

LABEL1: DS 2LABEL2: ;label by itselfNUMBER: DB 27, 33, 'STRING', 0 ;label at a messageCOPY: MOVX A, @DPTR ;label in a program
In the above examples, LABEL1, LABEL2, NUMBER, and COPY are all labels.

When a label is defined, it receives the current value of the location counter of the currently selected segment. Refer to the “Location Counter” section later in this chapter for more information about the location counter.

You use the label just as you would use a program offset within an instruction. Labels refer to program code, to variable space in internal or external data memory, or to constant data stored in the program or code space.

You may use a label to transfer program execution to a different location. The instruction immediately following a label is referenced by using the label. Your program may jump to or make a call to the label. The code immediately following the label is executed.

You may also use labels to provide information to simulators and debuggers. While debugging, a simulator or debugger can provide you with the label symbols. This simplifies the debugging process.

Labels may be defined only once. They may not be redefined.
===============================

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

Ответы



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

E-mail: info@telesys.ru