| 전자부품 데이터시트 검색엔진 |
|
PM0014 데이터시트(PDF) 14 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0014 데이터시트(HTML) 14 Page - STMicroelectronics |
|
14 / 46 page ![]() 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, ... |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |