| 数据搜索系统,热门电子元器件搜索 |
|
ST20C2 数据表(PDF) 15 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20C2 数据表(HTML) 15 Page - STMicroelectronics |
|
15 / 212 page ![]() 15/212 ® • if condition statement else if condition statement else statement These conditions can be nested. Braces, {}, are used to group statements which are dependent on a condition. For example, the cj (conditional jump) instruction contains the following lines: if (Areg = 0) IptrReg ′← next instruction + n Symbol Meaning Integer arithmetic with overflow checking + checked − checked × checked Add, subtract, and multiply of signed integers. If the computation overflows an IntegerOverflow is signalled and the result of the operation is truncated to the word length. Unchecked (modulo) integer arithmetic + − × / rem Integer add, subtract, multiply, divide and remainder. If the computation over- flo ws the result of the operation is truncated to the word length. If a divide or remainder by zero occurs the result of the operation is undefined. No errors are signalled. The operator ‘ −’ is also used as a monadic operator. The sign of the remainder is the same as the sign of the dividend. Signed comparison operators < > ≤ ≥ = ≠ Comparisons of signed integer and floating point v alues: ‘less than’, ‘greater than’, ‘less than or equal’, ‘greater than or equal’, ‘equal’ and ‘not equal’. Unsigned comparison operators < unsigned > unsigned ≥ unsigned after Comparisons of unsigned integer values: ‘less than’, ‘greater than’, ‘greater than or equal’, and ‘after’ (for comparison of times). Logical bitwise operations ∼ (or BITNOT) ∧ (or BITAND) ∨ (or BITOR) ⊗ (or BITXOR) >> << ‘Not’ (1’s complement), ‘and’, ‘or’, ‘exclusive or’, and logical left and right shift operations on bits in words. Boolean operators not and or Boolean combination in conditionals. Table 1.7 Operators used in the instruction descriptions |
|
链接网址 |
| 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 |