Texas Instruments MSP50C614 manual Negacs Twos Complement Negation of Accumulator String

Models: MSP50C614

1 414
Download 414 pages 24.44 Kb
Page 233
Image 233

Individual Instruction Descriptions

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

An[~], An[~]

 

 

 

 

 

nS+3

 

 

1

 

 

 

 

nR+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.47.1

 

NEGACS A3~, A3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

Assembly Language Instructions

4-141

Page 233
Image 233
Texas Instruments MSP50C614 manual Negacs Twos Complement Negation of Accumulator String, Dest accumulator string