| 数据搜索系统,热门电子元器件搜索 |
|
PM0044 数据表(PDF) 102 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0044 数据表(HTML) 102 Page - STMicroelectronics |
|
102 / 162 page ![]() STM8 instruction set PM0044 102/162 Doc ID 13590 Rev 3 Operation X <= X / Y (Quotient) Y <= X%Y (Remainder) Description Divides a 16-bit unsigned value, dividend, contained in X register by a 16-bit value, divisor, contained in Y. The quotient is placed in the X register and the remainder is placed in Y register. The quotient and remainder values are indeterminate in the case of a division by zero. Note: This instruction is interruptible, generating a latency of 1 cycle only. Instruction overview V ⇒ 0 Reset H ⇒ 0 Reset N ⇒ 0 Reset Z ⇒ Q15.Q14.Q13.Q12.Q11.Q10.Q9.Q8.Q7.Q6.Q5.Q4.Q3.Q2.Q1.Q0 Set if the quotient is zero (0x0000), cleared otherwise. C ⇒ Y15.Y14.Y13.Y12.Y11.Y10.Y9.Y8.Y7.Y6.Y5.Y4.Y3.Y2.Y1.Y0 Set if division by 0, cleared otherwise. Detailed description See also: ADD, ADC, SUB, SBC, MUL, DIV DIVW Divide word (unsigned) DIVW mnem dst src Affected condition flags VI1 H I0 N Z C DIV X Y 0 - 0 - 0 Z C dst src Asm cy lgth Op-code(s) ST7 X Y DIV X,Y 2 to 17 1 65 |
|
链接网址 |
| 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 |