INSTRUCTION DESCRIPTIONS

 

INC

Increment by One

INC

Operation:

Assembler Syntax:

 

D+1 D

INC

D

Description: Increment by one the specified operand and store the result in the destina- tion accumulator. One is added from the LSB of D.

Example:

 

 

 

:

 

INC

B

;Increment the content of the B accumulator by one

 

:

 

Explanation of Example: One is added to the content of the B accumulator.

Condition Codes:

15

14

 

13

12

11

10

9

8

7

6

 

5

4

3

2

1

0

LF

DM

T

**

 

S1

S0

 

I1

I0

S

L

E

U

N

Z

 

V

C

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MR

 

 

 

 

 

 

 

 

 

 

CCR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L — Set if overflow has occurred in A or B result

E — Set if the signed integer portion of A or B result is in use

U — Set if A or B result is unnormalized

N — Set if bit 55 of A or B result is set

Z — Set if A or B result equals zero

V — Set if overflow has occurred in A or B result

C — Set if a carry is generated from bit 55 of A or B result

A - 104

INSTRUCTION SET DETAILS

MOTOROLA

Page 373
Image 373
Motorola 24-Bit Digital Signal Processor, DSP56000 manual Increment by One