| 전자부품 데이터시트 검색엔진 |
|
AN3350 데이터시트(PDF) 71 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 데이터시트(HTML) 71 Page - STMicroelectronics |
|
71 / 185 page ![]() AN3350 Working with the assembler Doc ID 018512 Rev 2 71/185 #else // this code is processed if both conditions are false #endif Note: The #else and #elif clauses are optional. You can use several #elif clauses in succession. You can also nest #if conditions. Another illustration of conditional assembly is Example 11. Example 11 Conditional assembly #if %defined(INTERRUPTS_LEVEL) nop #if INTERRUPTS_LEVEL < 3 or.f a,d,a #endif #else ori.f a,d,TRNR #endif #if The #if directive, defined as #if expr, results in the processing of code only if the numeric expression expr is evaluated to an integer other than zero. All expression elements must be known at the preprocessing point when expressions are met, or error messages occur. The condition of the #if clause is preprocessed before evaluation. Therefore it is possible to use preprocessor macros and operators as parts of the expression. #ifdef The #ifdef directive, defined as #ifdef macro, results in the processing of code only if the macro has been defined by the #define directive. #ifndef The #ifndef directive, defined as #ifndef macro, results in the processing of code only if the macro has not been defined by the #define directive. #elif The #elif directive, similar to #if, must follow an #if or #elif directive. This offers another expression to test in case the previous conditions failed. #else The #else directive results in the processing of following code lines, in the instance that all conditions defined by the else's corresponding #if and #elif have failed. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |