54 lines
2.8 KiB
Plaintext
54 lines
2.8 KiB
Plaintext
|
1. Source file.
|
||
|
═══════════════
|
||
|
|
||
|
As source file for translation is a usual text file, for which
|
||
|
equitable following rates of the writing:
|
||
|
|
||
|
1) all unadulterated mnemonics must be written together,assembler
|
||
|
does not make differences between title and small letter of the
|
||
|
alphabet, so mnemonics
|
||
|
|
||
|
'ADD' 'AdD' 'ADd' 'Add' 'aDD'
|
||
|
|
||
|
are identical and assembler do not differ them;
|
||
|
|
||
|
2) between separate mnemonics, digital constant, mark, correspo-
|
||
|
ndence and comments can be pleaced many insignificant symbol
|
||
|
and controlling sign, such as gap, tabulation, return the
|
||
|
carriage, linefeed etc.,there are no restrictions on accomodation
|
||
|
of the commands in text is not imposed; this allows programmer
|
||
|
an enough liberally to pertain to text of programm with standpoint
|
||
|
of its exterior;
|
||
|
|
||
|
3) follows to point to the fact, that assembler supports the
|
||
|
higher part of the table symbol ASCII, in which is
|
||
|
enclosed national alphabet, but all standard mnemonics,
|
||
|
provided in a ⁿ1 table-addon of reserved mnemonics,
|
||
|
was translated for latin alphabet, and so necessary neatly
|
||
|
to pertain a wadding of mnemonics, that have in its
|
||
|
composition symbols, which are equally writed, but having
|
||
|
differ coding. However, given rule does not mean that
|
||
|
programmer must avoid the national alphabet, except
|
||
|
for writing explaining commentaries that is complitly seen
|
||
|
in such programming languages, which were are oriented
|
||
|
only on english user. By help of the labels structures
|
||
|
and correspondence the user can in any place of its
|
||
|
source file assign comprehensible for him indication and
|
||
|
use it with standard mnemonics of the language.
|
||
|
So such, for instance, command, as
|
||
|
|
||
|
Sum up operand1, operand2;
|
||
|
|
||
|
will not contain mistake and it is will be translated correctly
|
||
|
under that condition that all provided in example of mnemonics
|
||
|
will beforehand described.
|
||
|
|
||
|
4) the main file must be ended of the microprocessor command, that is
|
||
|
concluded in quotation marks.
|
||
|
|
||
|
Strictly keeping rules of commands writing, the neatness in set
|
||
|
of the text of the program will guarantee the quick translation and
|
||
|
debug - the practice is witnesses that majority error appears firstly
|
||
|
of all because stile of writing is careless and the inexact knowledge
|
||
|
of the development object.
|