| 数据搜索系统,热门电子元器件搜索 |
|
PM0056 数据表(PDF) 84 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0056 数据表(HTML) 84 Page - STMicroelectronics |
|
84 / 156 page ![]() The Cortex-M3 instruction set PM0056 84/156 DocID15491 Rev 5 Operation The MUL instruction multiplies the values from Rn and Rm, and places the least significant 32 bits of the result in Rd. The MLA instruction multiplies the values from Rn and Rm, adds the value from Ra, and places the least significant 32 bits of the result in Rd. The MLS instruction multiplies the values from Rn and Rm, subtracts the product from the value from Ra, and places the least significant 32 bits of the result in Rd. The results of these instructions do not depend on whether the operands are signed or unsigned. Restrictions In these instructions, do not use SP and do not use PC. If you use the S suffix with the MUL instruction: • Rd, Rn, and Rm must all be in the range R0 to R7 • Rd must be the same as Rm • You must not use the cond suffix Condition flags If S is specified, the MUL instruction: • Updates the N and Z flags according to the result • Does not affect the C and V flags Examples MULR10, R2, R5; multiply, R10 = R2 x R5 MLAR10, R2, R1, R5; multiply with accumulate, R10 = (R2 x R1) + R5 MULSR0, R2, R2; multiply with flag update, R0 = R2 x R2 MULLTR2, R3, R2; conditionally multiply, R2 = R3 x R2 MLSR4, R5, R6, R7; multiply with subtract, R4 = R7 - (R5 x 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 |