전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

PM0014 데이터시트(PDF) 13 Page - STMicroelectronics

부품명 PM0014
상세설명  General-purpose DSP library
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0014 데이터시트(HTML) 13 Page - STMicroelectronics

Back Button PM0014 Datasheet HTML 9Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 46 page
background image
PM0014
Arithmetic library functions
13/46
5
Arithmetic library functions
5.1
Overview
In this part, principal arithmetic functions for C programmers on ST10 are presented. For
each operation, four function types have been created according to parameters:
Real parameters in single precision,
Real parameters in double precision,
Complex parameters in single precision,
Complex parameters in double precision.
Code size results will be given in bytes and performance ones in instruction cycles (1
instruction cycle is equal to two ST10 CPU clock cycles).
5.2
Addition
5.2.1
add_16
add_16 (short Op1, short Op2, short *Output)
Description:
Addition of two real 16-bit inputs.
Argument:
Op1
Op2
Output
Left operand
Right operand
Output pointer
Algorithm:
Op1 + Op2 = Output
Assembly source code: add_16.asm
Code size and cycles:
Size: 6 bytes
Instruction cycles: 10
Test:
Two files are provided to test the function: an input vector file
(Add_16.in) and an output vector file (Add_16.res):
Add_16.in is made as follows:
Left operand1, Right operand1,
Left operand2, Right operand2,
...
Add_16.res is made as follows:
Output operand1,
Output operand2,
...



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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