Format |
Syntax: |
Operation: |
Operands: |
Architecture revision |
Opcode | ||||||||||||
1 |
addabs Rd, Rx, Ry |
Rd = Rx + |Ry|; |
{d, x, y}∈ {0, 1, …, 15} |
Rev1+ |
|
Adds Rx and the absolute value of Ry and stores the result in destination register. Useful for cal- culating the sum of absolute differences.
Q: |
Not affected |
V: |
Not affected |
N: |
Not affected |
Z: |
Z = (RES[31:0] == 0) |
C: |
Not affected |