16 extsgn sign extend word – Texas Instruments MSP50C614 User Manual

Page 189

Advertising
background image

Individual Instruction Descriptions

4-97

Assembly Language Instructions

4.14.16

EXTSGN

Sign Extend Word

Syntax

[label]

name

dest [, mod]

Clock,

clk

Word,

w

With RPT,

clk

Class

EXTSGN

A

n[~] [, next A]

1

1

n

R

+3

3

Execution

[premodify AP if

mod specified]

new most significant word of

dest

STAT.SF

PC

PC + 1

Flags Affected

None

Opcode

Instructions

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

EXTSGN A

n[~] [, next A]

1

1

1

0

0

next A

A

n

0

1

1

1

1

0

0

~A

Description

Copy accumulator sign flag (SF) to all 16 bits of A

n[~].

See Also

EXTSGNS

Example 4.14.16.1

EXTSGN A0~, ++A

Preincrement accumulator pointer AP0. Sign extend the accumulator A0~.

Advertising