Programmer Guide/SPU Reference/ADD: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 8: Line 8:
|<var>A<sub>number</sub></var>, <var>B<sub>number</sub></var>
|<var>A<sub>number</sub></var>, <var>B<sub>number</sub></var>
|<var>Y<sub>number</sub></var>
|<var>Y<sub>number</sub></var>
|<var>Y</var> = <var>A</var> &pl <nowiki>|</nowiki>
|<var>Y</var> = <var>A</var> &plus <nowiki>|</nowiki>
|-
|-
|<var>A<sub>vector</sub></var>
|<var>A<sub>vector</sub></var>

Revision as of 10:49, 2 May 2011

Add inputs A and B

[SPU ABS A B OUT Y]
In Out Description
Anumber, Bnumber Ynumber Y = A &plus |
Avector Yvector Y[i] = |A[i]|
See also

<SP-atoms>

Navigation menu

Personal tools