[an error occurred while processing this directive]
|
У IAR просто по грамматике так получается.
Где-то у них было написано, что если метка не заканчивается ':', то она должна начинаться с первой позиции строки. Отсюда и следствие, imho. Препроцессор такой.
Вот выдержка из Datasheet:
The format of an assembler source line is as follows:
[label [:]] operation [format] [operands] [; comment]
where the components are as follows:
label A label, which is assigned the value and type of the
current location counter (PLC). The :(colon) is
optional if the label starts in the first column.
operation An assembler instruction or directive. This must not
start in the first column.
format Specify .B for byte operation or .W for word operation.
.W is the default.
operands One or more operands, separated by commas.
comment A comment, preceded by a ; (semi-colon).
The fields can be separated by spaces or tabs.
A source line may not exceed 255 characters.
Хотя, ради интереса проверил, - врут они. И инструкции и дериктива org превосходно с первой позиции работают, хотя это и является operation как они заявили...
E-mail: info@telesys.ru