Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

PM0014 Datenblatt(PDF) 20 Page - STMicroelectronics

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

PM0014 Datenblatt(HTML) 20 Page - STMicroelectronics

Back Button PM0014 Datasheet HTML 16Page - STMicroelectronics PM0014 Datasheet HTML 17Page - STMicroelectronics PM0014 Datasheet HTML 18Page - STMicroelectronics PM0014 Datasheet HTML 19Page - STMicroelectronics PM0014 Datasheet HTML 20Page - STMicroelectronics PM0014 Datasheet HTML 21Page - STMicroelectronics PM0014 Datasheet HTML 22Page - STMicroelectronics PM0014 Datasheet HTML 23Page - STMicroelectronics PM0014 Datasheet HTML 24Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 20 / 46 page
background image
Arithmetic library functions
PM0014
20/46
5.3.4
cSub_32
csub_32 (short LeftOpMsb_I, short LeftOpLsb_I, short LeftOpMsb_R,
short LeftOpLsb_R, short RightOpMsb_I, short RightOpLsb_I,
short RightOpMsb_R, short RightOpMsb_I, long *Output)
Description:
Subtraction of two complex 32-bit operands.
Argument:
LeftOpMsb_I
Left operand imaginary part most significant bits.
LeftOpLsb_I
Left operand imaginary part least significant bits.
LeftOpMsb_R
Left operand real part most significant bits.
LeftOpLsb_R
Left operand real part least significant bits.
RightOpMsb_I
Right operand imaginary part most significant bits.
RightOpLsb_I
Right operand imaginary part least significant bits.
RightOpMsb_R Right Operand real part most significant bits.
RightOpLsb_R
Right Operand real part least significant bits.
Output
Output pointer.
Algorithm:
LeftOp_R - RightOp_R = Output_R
LeftOp_I - RightOp_I = Output_I
Note:
Output imaginary part is contained in the highest addresses
(pointed by Output + 4). Output real part is contained in the lowest
addresses (pointed by Output).
Set the MS bit-field of the MCW register to have a saturated result
(signed arithmetic).
Assembly source
code:
cSub_32.asm
Code size and cycles: Size: 52 bytes
Instruction cycles: 25
Test:
Two files are provided to test the function: an input vector file
(cSub_32.in) and an output vector file (cSub_32.res):
cSub_32.in is made as follows:
LeftOpMsb_I1, LeftOpLsb_I1, LeftOpMsb_R1, LeftOpLsb_R1,
RightOpMsb_I1, RightOpLsb_I1, RightOpMsb_R1, RightOpLsb_R1,
...
cSub_32.res is made as follows:
OutputMsb_R1, OutputLsb_R1,
...



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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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