Texas Instruments MSP50C6xx User Manual

Page 229

Advertising
background image

Individual Instruction Descriptions

4-143

Assembly Language Instructions

4.14.48

NEGACS

Two’s Complement Negation of Accumulator String

Syntax

[label]

name

dest, src

Clock, clk

Word, w

With RPT, clk

Class

NEGACS

An[~], 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 An[~], An[~]

1

1

1

0

0

1

1

An

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.48.1

NEGACS A3~, A3

Negate accumulator string A3 and store result in accumulator string A3~.

Advertising