| поискавой системы для электроныых деталей |
|
UM0144 датащи(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0144 датащи(HTML) 30 Page - STMicroelectronics |
|
30 / 92 page ![]() 3 ST7 Assembler ST7 Assembler Linker 30/92 UM0144 As you can see, conditionals may be nested—the #ELSE and #ENDIF directive are assumed to apply to the most recent unterminated #IF. Other special #IF directives are available as shown in Table 12. 3.7 Running the assembler 3.7.1 Command line The assembler needs the following arguments: ASM <file to assemble>, <listing file>, <switches> [;] If any or all the arguments are left out of the command line, you'll be prompted for the remaining arguments. For example: ASM STMicroelectronics - Assembler - rel. 4.44 File to Assemble: game In the example above, no parameters were given on the command line, so all the parameters were prompted for. The <file to assemble> parameter assumes a default suffix ".ASM". For example, if you type 'game' then 'game.asm' is the actual filename used. The listing file is the file to which the assembly report is sent if selected. The default filename (which is displayed in square brackets), is made from the path and base-name of the file to assemble. The default filename suffix for the assembly report file is ".LST". For instance, if you type 'game', then 'game.lst' is the actual filename used. Note that unless the assembler is told to create either a pass-1 or pass-2 complete listing by the options argument, the listing file will not be created. Table 12. Special #If directives Directive Usage #IF1 and #IF2 require no conditional argument. If the appropriate pass is. being assembled, the condition is considered 'true'; for instance #IF1 will be considered true while the assembler is in first pass, #IF2 while in the second pass. #IFDEF checks for label definition. #IFB checks for empty argument (i.e., empty, or containing spaces / tabs), useful for testing macro parameter existence. #IFF (IF False) is similar to #IF, but checks the negation of the condition argument. #IFIDN tests for string equality between two arguments separated by a space. This is useful for testing macro parameters against fixed strings. #IFLAB checks if the argument is a predefined label. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |