87 zac zero accumulator – Texas Instruments MSP50C614 User Manual

Page 277

Advertising
background image

Individual Instruction Descriptions

4-185

Assembly Language Instructions

4.14.87

ZAC

Zero Accumulator

Syntax

[label]

name

dest [, mod]

Clock,

clk

Word,

w

With RPT,

clk

Class

ZAC

A

n[~] [, next A]

1

1

n

R

+3

3

Execution

[premodify AP if

mod specified]

dest

0

PC

PC + 1

Flags Affected

ZF = 1

Instructions

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

ZAC A

n[~] [, next A]

1

1

1

0

0

next A

A

n

0

0

0

1

1

0

0

~A

Description

Zero the specified accumulator. Preincrement or predecrement accumulator
pointer AP

n, if specified.

See Also

ZACS

Example 4.14.87.1

ZAC A2

Reset the content of accumulator A0 to zero.

Example 4.14.87.2

ZAC A1~, ++A

Preincrement AP1 by 1. Reset the content of new accumulator A1~ to zero.

Advertising