| Datenblatt-Suchmaschine für elektronische Bauteile |
|
PM0014 Datenblatt(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0014 Datenblatt(HTML) 18 Page - STMicroelectronics |
|
18 / 46 page ![]() Arithmetic library functions PM0014 18/46 5.3.2 sub_32 sub_32 (short LeftOpMsb, short LeftOpLsb, short RightOpMsb, short RightOpLsb, long *Output) Description: Subtraction of two real 32-bit inputs. Argument: LeftOpMsb Left operand most significant bits. LeftOpLsb Left operand least significant bits. RightOpMsb Right operand most significant bits. RightOpLsb Right operand least significant bits. Output Output pointer. Algorithm: LeftOp - RightOp = Output Note: Set the MS bit-field of the MCW register to have a saturated result (signed arithmetic). Assembly source code: sub_32.asm Code size and cycles: Size: 20 bytes Instruction cycles: 14 Test: Two files are provided to test the function: an input vector file (Sub_32.in) and an output vector file (Sub_32.res): Sub_32.in is made as follows: LeftOpMsb1, LeftOpLsb1, RightOpMsb1, RightOpLsb1 ... Sub_32.res is made as follows: OutputMsb1, OutputLsb1,... |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |