Texas Instruments MSP50C6xx manual Notac One’s Complement Negation of Accumulator, NEGAC, Negacs

Models: MSP50C6xx

1 390
Download 390 pages 41.72 Kb
Page 231
Image 231

Individual Instruction Descriptions

4.14.50 NOTAC

 

 

One’s Complement Negation of Accumulator

 

 

 

 

 

Syntax

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[label]

 

name

 

dest, src [, mod]

 

 

 

 

Clock, clk

Word, w

 

 

With RPT, clk

 

Class

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NOTAC

 

An[~], An[~] [, next A]

 

 

 

 

1

 

 

 

1

 

 

 

 

nR+3

 

 

 

 

3

Execution

[premodify AP if mod specified]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

dest

 

NOT 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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NOTAC An[~], An[~] [, next A]

1

1

1

0

0

 

next A

 

An

 

0

0

 

0

 

0

1

 

0

 

A~

~A

Description

Premodify accumulator pointer if specified. Perform one’s complement of src

accumulator and store result in dest accumulator.

See Also

NOTACS, AND, ANDB, ANDS, OR, ORB, ORS, XOR, XORB, XORS,

 

NEGAC, NEGACS

Example 4.14.50.1 NOTAC A3~, A3, ––A

Predecrement accumulator pointer AP3. One’s complement (invert bits) accumulator A3 and put result in accumulator A3~.

Assembly Language Instructions

4-145

Page 231
Image 231
Texas Instruments MSP50C6xx manual Notac One’s Complement Negation of Accumulator, NEGAC, Negacs