| Electronic Components Datasheet Search |
|
PM0014 Datasheet(PDF) 15 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0014 Datasheet(HTML) 15 Page - STMicroelectronics |
|
15 / 46 page ![]() PM0014 Arithmetic library functions 15/46 5.2.3 cAdd_16 cAdd_16 (short LeftOp_I, short LeftOp_R, short RightOp_I, short RightOp_R, long *Output) Description: Addition of two complex 16-bit operands. Argument: LeftOp_I Left operand imaginary part. LeftOp_R Left operand real part. RightOp_I Right operand imaginary part. RightOp_R Right operand real part. 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 address (pointed by Output + 2). Output real part is contained in the lowest address (pointed by Output). Assembly source code: cAdd_16.asm Code size and cycles: Size: 14 bytes Instruction cycles: 18 Test: Two files are provided to test the function: an input vector file (cAdd_16.in) and an output vector file (cAdd_16.res): cAdd_16.in is made as follows: LeftOp_I1, LeftOp_R1, RightOp_I1, RightOp_R1 LeftOp_I2, LeftOp_R2, RightOp_I2, RightOp_R2 ... cAdd_16.res is made as follows: Output_I1,Output_R1 Output_I2,Output_R2 ... |
|
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 |
| 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 |