| 数据搜索系统,热门电子元器件搜索 |
|
PM0214 数据表(PDF) 119 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0214 数据表(HTML) 119 Page - STMicroelectronics |
|
119 / 245 page ![]() DocID022708 Rev 4 119/245 PM0214 The STM32 Cortex-M4 instruction set 244 3.6.8 SMMUL Signed most significant word multiply Syntax op{R}{cond} Rd, Rn, Rm where: • op is one of: SMMUL: Signed most significant word multiply R: a rounding error flag. If R is specified, the result is rounded instead of being truncated. In this case the constant 0x80000000 is added to the product before the high word is extracted. • ‘cond’ is an optional condition code (see Conditional execution on page 64) • ‘Rd’ is the destination register. • ‘Rn’, ‘Rm’ are registers holding the first and second operands Operation The SMMUL instruction interprets the values from Rn and Rm as two’s complement 32-bit signed integers. The SMMUL instruction: 1. Multiplies the values from Rn and Rm. 2. Optionally rounds the result, otherwise truncates the result. 3. Writes the most significant signed 32 bits of the result in Rd. Restrictions In this instruction: Do not use SP or PC. Condition flags This instruction does not affect the condition code flags. Examples SMULL R0, R4, R5 ; Multiplies R4 and R5, truncates top 32 bits ; and writes to R0 SMULLR R6, R2 ; Multiplies R6 and R2, rounds the top 32 bits ; and writes to R6. |
|
链接网址 |
| 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 |