поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

UM0144 датащи(PDF) 29 Page - STMicroelectronics

номер детали UM0144
подробное описание детали  ST7 Assembler Linker
PDF  92 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0144 датащи(HTML) 29 Page - STMicroelectronics

Back Button UM0144 Datasheet HTML 25Page - STMicroelectronics UM0144 Datasheet HTML 26Page - STMicroelectronics UM0144 Datasheet HTML 27Page - STMicroelectronics UM0144 Datasheet HTML 28Page - STMicroelectronics UM0144 Datasheet HTML 29Page - STMicroelectronics UM0144 Datasheet HTML 30Page - STMicroelectronics UM0144 Datasheet HTML 31Page - STMicroelectronics UM0144 Datasheet HTML 32Page - STMicroelectronics UM0144 Datasheet HTML 33Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 29 / 92 page
background image
ST7 Assembler Linker
3 ST7 Assembler
UM0144
29/92
3.6
Conditional assembly
Conditional assembly is used to choose to ignore or select whole areas of assembler code.
This is useful for generating different versions of a program by setting a particular variable in an
INCLUDE
file that forces the use of certain pieces of code instead of others.
3.6.1
#IF, #ELSE and #ENDIF directives
There are three main directives used to perform conditional assembly, as shown in
Table 11.
The condition given with the '#IF' may take the form of any numeric expression. The rule for
deciding whether it resolves to 'true' or 'false' is simple: if it has a zero value then it's false, else
it's true. These directives should NOT start at column 1 of line, reserved for labels. For
example:
#IF {count eq 1}
%OUT 'true'
#ELSE
%OUT 'false'
#ENDIF
This sequence would print 'true' if the label 'count' did equal 1, and ‘false’ if it didn't. For
example:
#IF
{count gt 1}
%OUT count more than one
#IF
{count gt 2}
%OUT ...and more of TWO !
#ELSE
%OUT ...but not more than two!
#ENDIF
#ELSE
%OUT count not more than one
#ENDIF
Table 11.
Summary of assembly directives
Directive
Usage
#IF
marks the start of the conditional and decides whether the following zone will be
assembled or not.
#ELSE
optionally reserves the condition of the previous #IF for the following zone.
#ENDIF
marks the end of the previous #IF's.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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