| Electronic Components Datasheet Search |
|
PM0014 Datasheet(PDF) 19 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0014 Datasheet(HTML) 19 Page - STMicroelectronics |
|
19 / 46 page ![]() PM0014 Arithmetic library functions 19/46 5.3.3 cSub_16 cSub_16 (short LeftOp_I, short LeftOp_R, short RightOp_I, short RightOp_R, long *Output) Description: Subtraction 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: cSub_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 (cSub_16.in) and an output vector file (cSub_16.res): cSub_16.in is made as follows: LeftOp_I1, LeftOp_R1, RightOp_I1, RightOp_R1 LeftOp_I2, LeftOp_R2, RightOp_I2, RightOp_R2 ... cSub_16.res is made as follows: Output_R1,Output_I1 ... |
|
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 |