| 数据搜索系统,热门电子元器件搜索 |
|
ST20C2 数据表(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST20C2 数据表(HTML) 14 Page - STMicroelectronics |
|
14 / 212 page ![]() ® 14/212 Error conditions Any errors that can occur in instructions which are defined in ter ms of the modulo operators are indicated explicitly in the instruction description. For example the div ( divide) instruction indicates the cases that can cause overflow, independently of the actual division: if (Areg = 0) or ((Breg = MostNeg) and (Areg = -1)) { Areg ′← undefined IntegerOverflow } else Areg ′← Breg / Areg Breg ′← Creg Creg ′← undefined Checked operators To simplify the description of checked arithmetic, the operators ‘ + checked’, ‘−checked’, etc. are used to indicate operations that perform checked arithmetic on signed integers. These operators signal an IntegerOverflow if an overflow, divide by zero, or other arithmetic error occurs. If no trap is taken, the operators also deliver the modulo result. A number of comparison operators are also used and there are versions of some of these that treat the operands as unsigned integers. A full list of the operators used in the instruction definitions is giv en in Table 1.7. 1.11 Functions Type conversions The following function is used to indicate a type conversion: unsign(x) causes the bit-pattern in x to be interpreted as an unsigned integer. 1.12 Conditions to instructions In many cases, the action of an instruction depends on the current state of the processor. In these cases the conditions are shown by an if clause; this can take one of the following forms: • if condition statement • if condition statement else statement |
|
链接网址 |
| 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 |