| 数据搜索系统,热门电子元器件搜索 |
|
PM0056 数据表(PDF) 86 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0056 数据表(HTML) 86 Page - STMicroelectronics |
|
86 / 156 page ![]() The Cortex-M3 instruction set PM0056 86/156 DocID15491 Rev 5 3.6.3 SDIV and UDIV Signed divide and unsigned divide. Syntax SDIV{cond} {Rd,} Rn, Rm UDIV{cond} {Rd,} Rn, Rm where: • ‘cond’ is an optional condition code (see Conditional execution on page 57) • ‘Rd’ is the destination register. If Rd is omitted, the destination register is Rn • ‘Rn,’ is the register holding the value to be divided • ‘Rm’ is a register holding the divisor Operation SDIV performs a signed integer division of the value in Rn by the value in Rm. UDIV performs an unsigned integer division of the value in Rn by the value in Rm. For both instructions, if the value in Rn is not divisible by the value in Rm, the result is rounded towards zero. Restrictions Do not use either SP or PC. Condition flags These instructions do not change the flags. Examples SDIVR0, R2, R4; signed divide, R0 = R2/R4 UDIVR8, R8, R1; unsigned divide, R8 = R8/R1 |
|
链接网址 |
| 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 |