88 zac zero accumulator – Texas Instruments MSP50C6xx User Manual

Page 273

Advertising
background image

Individual Instruction Descriptions

4-187

Assembly Language Instructions

4.14.88

ZAC

Zero Accumulator

Syntax

[label]

name

dest [, mod]

Clock, clk

Word, w

With RPT, clk

Class

ZAC

An[~] [, 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 An[~] [, next A]

1

1

1

0

0

next A

An

0

0

0

1

1

0

0

~A

Description

Zero the specified accumulator. Preincrement or predecrement accumulator
pointer APn, if specified.

See Also

ZACS

Example 4.14.88.1

ZAC A2

Reset the content of accumulator A0 to zero.

Example 4.14.88.2

ZAC A1~, ++A

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

Advertising