beautypg.com

Texas Instruments MSP50C614 User Manual

Page 212

background image

Individual Instruction Descriptions

4-120

4.14.29

MOVAPH

Move With Adding PH

Syntax

[label]

name

dest, src, src1

Clock,

clk

Word,

w

With RPT,

clk

Class

MOVAPH

A

n, MR, {adrs}

Table 4–46

Table 4–46

1b

Execution

A

n

A

n + PH

MR

contents of {

adrs}

PC

PC +

w

Flags Affected

TAG, 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

MOVAPH A

n, MR, {adrs}

0

1

1

0

1

0

0

A

n

adrs

x

dma16 (for direct) or offset16 (long relative) [see section 4.13]

Description

Move RAM word to MR register, add PH to A

n in parallel.

See Also

MOVAPHS, MOVTPH, MOVTPHS, MOVSPH, MOVSPHS

Example 4.14.34.1

MOVAPH A0, MR, *R3+R5

Load the contents of the byte address created by adding R3 and R5 to the MR register. At the same
time, add accumulator A0 to the PH register and store the result in A0.