| Electronic Components Datasheet Search |
|
HCS12 Datasheet(PDF) 64 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
HCS12 Datasheet(HTML) 64 Page - Freescale Semiconductor, Inc |
|
64 / 452 page ![]() S12CPUV2 Reference Manual, Rev. 4.0 64 Freescale Semiconductor 5.12 Multiplication and Division Instructions There are instructions for signed and unsigned 8- and 16-bit multiplication. Eight-bit multiplication operations have a 16-bit product. Sixteen-bit multiplication operations have 32-bit products. Integer and fractional division instructions have 16-bit dividend, divisor, quotient, and remainder. Extended division instructions use a 32-bit dividend and a 16-bit divisor to produce a 16-bit quotient and a 16-bit remainder. Table 5-10 is a summary of multiplication and division instructions. Table 5-10. Multiplication and Division Instructions Mnemonic Function Operation Multiplication Instructions EMUL 16 by 16 multiply (unsigned) (D) × (Y) ⇒ Y : D EMULS 16 by 16 multiply (signed) (D) × (Y) ⇒ Y : D MUL 8 by 8 multiply (unsigned) (A) × (B) ⇒ A : B Division Instructions EDIV 32 by 16 divide (unsigned) (Y : D) ÷ (X) ⇒ Y Remainder ⇒ D EDIVS 32 by 16 divide (signed) (Y : D) ÷ (X) ⇒ Y Remainder ⇒ D FDIV 16 by 16 fractional divide (D) ÷ (X) ⇒ X Remainder ⇒ D IDIV 16 by 16 integer divide (unsigned) (D) ÷ (X) ⇒ X Remainder ⇒ D IDIVS 16 by 16 integer divide (signed) (D) ÷ (X) ⇒ X Remainder ⇒ D |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |