Texas Instruments MSP50C614 User Manual
Page 233

Individual Instruction Descriptions
4-141
Assembly Language Instructions
4.14.47
NEGACS
Two’s Complement Negation of Accumulator String
Syntax
[label]
name
dest, src
Clock,
clk
Word,
w
With RPT,
clk
Class
NEGACS
A
n[~], An[~]
n
S
+3
1
n
R
+3
3
Execution
dest
⇐
–
src
PC
⇐
PC + 1
Flags Affected
OF, SF, ZF, CF are set accordingly
Opcode
Instructions
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
MULSPL S A
n[~], An[~]
1
1
1
0
0
1
1
A
n
0
0
0
0
0
0
A~
~A
Description
Perform two’s complement negation of
src accumulator string and store result
in
dest accumulator string.
See Also
NEGAC, SUB, SUBB, SUBS, ADD, ADDB, ADDS, NOTAC, NOTACS
Example 4.14.47.1
NEGACS A3~, A3
Negate accumulator string A3 and store result in accumulator string A3~.