Logical Instructions - Motorola DSP56000 Manual

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

ABS
Absolute Value
ADC
Add Long with Carry
ADD
Addition
ADDL
Shift Left and Add
ADDR
Shift Right and Add
ASL
Arithmetic Shift Left
ASR
Arithmetic Shift Right
CLR
Clear an Operand
CMP
Compare
CMPM
Compare Magnitude
DEC*
Decrement by One
*
DIV
Divide Iteration
INC*
Increment by One
MAC
Signed Multiply-Accumulate
MACR
Signed Multiply-Accumulate and Round**
MPY
Signed Multiply**
MPYR
Signed Multiply and Round**
NEG
Negate Accumulator
*
NORM
Normalize
RND
Round
SBC
Subtract Long with Carry
SUB
Subtract
SUBL
Shift Left and Subtract
SUBR
Shift Right and Subtract
*
Tcc
Transfer Conditionally
TFR
Transfer Data ALU Register
TST
Test an Operand

6.4.2 Logical Instructions

The logical instructions execute in one instruction cycle and perform all of the logical oper-
ations within the data ALU (except ANDI and ORI). They may affect all of the CCR bits
and, like the arithmetic instructions, are register based.
Logical instructions are the only instructions that allow apparent duplicate destinations,
such as:
AND X0,A
A logical instruction uses only the MSP portion of the A and B registers (A1 and B1).
*These instructions do not allow parallel data moves.
**Certain applications of these instructions do not allow parallel data moves.
MOTOROLA
INSTRUCTION GROUPS
**
X:(R0):A0
INSTRUCTION SET INTRODUCTION
6 - 23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents