| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
UM0144 bảng dữ liệu(PDF) 59 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0144 bảng dữ liệu(HTML) 59 Page - STMicroelectronics |
|
59 / 92 page ![]() ST7 Assembler Linker UM0144 59/92 A.23 #IF A.24 #IF1 Conditional Purpose: Start conditional assembly. Format: #IF <exp> Description: Sometimes it is necessary to have different versions of a program or macro. This can be achieved by completely SEPARATE programs / macros, but this solution has the associated problem that changes to any part of the program common to all the versions requires all of them being changed, which can be tedious. Conditional assembly offers the solution of controlled 'switching off' assembly of the source code, depending on the value of the numeric expressions. The structure is known as 'IF/ELSE/ENDIF': see the example for the format. The #ELSE statement is optional. If the expression resolves to 0 the expression is assumed to have a 'false' result: the source code between the false #IF and the next #ENDIF (or #ELSE if supplied) will not be assembled. If the #ELSE is supplied, the code following the #ELSE will be assembled only if the condition is false. Conditionals may be nested up to 15 levels: when nesting them, keep in mind that each #IF must have a #ENDIF at its level, and that #ENDIFs and #ELSEs refer to the last unterminated #IF. Example: See Also: #ENDIF, #ELSE, #IF1, #IF2 Purpose: Conditional on being in pass #1. Format: #IF1 Description: This directive works just like #IF except it has no argument and only evaluates itself as true if the assembler is on its first pass through the source code. Can use #ELSE and requires #ENDIF. Example: See Also: #IF2, #ELSE, #IF, #ENDIF #IF {1 eq 1} %out true #FALSE %out false #ENDIF #IF1 %OUT “Starting Assembly” #ENDIF |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |