Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PM0014 Datasheet(PDF) 14 Page - STMicroelectronics

Part # PM0014
Description  General-purpose DSP library
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0014 Datasheet(HTML) 14 Page - STMicroelectronics

Back Button PM0014 Datasheet HTML 10Page - STMicroelectronics PM0014 Datasheet HTML 11Page - STMicroelectronics PM0014 Datasheet HTML 12Page - STMicroelectronics PM0014 Datasheet HTML 13Page - STMicroelectronics PM0014 Datasheet HTML 14Page - STMicroelectronics PM0014 Datasheet HTML 15Page - STMicroelectronics PM0014 Datasheet HTML 16Page - STMicroelectronics PM0014 Datasheet HTML 17Page - STMicroelectronics PM0014 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 46 page
background image
Arithmetic library functions
PM0014
14/46
5.2.2
add_32
add_32 (short LeftOpMsb, short LeftOpLsb, short RightOpMsb, short RightOpLsb, long
*Output)
Description:
Addition of two real 32-bit operands.
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:
add_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
(Add_32.in) and an output vector file (Add_32.res):
Add_32.in is made as follows:
LeftOpMsb1, LeftOpLsb1, RightOpMsb1,
RightOpLsb1
LeftOpMsb2, LeftOpLsb2, RightOpMsb2,
RightOpLsb2
...
Add_32.res is made as follows:
OutputLsb1, OutputMsb1,
OutputLsb2, OutputMsb2,
...



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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