Motorola dsp assembler Reference Manual



Yüklə 4,8 Kb.
Pdf görüntüsü
səhifə85/91
tarix08.10.2017
ölçüsü4,8 Kb.
#3546
1   ...   81   82   83   84   85   86   87   88   ...   91

Device-dependent Information
DSP56100 Information
MOTOROLA
DSP ASSEMBLER REFERENCE MANUAL
F-17
F.4.1.3
  Bit Manipulation Instructions
The DSP56100 instructions used for bit manipulation are:
BFCHG
— Test bit field and change
BFCLR
— Clear bit field
BFSET
— Set bit field
BFTSTH
— Test bit field high
BFTSTL
— Test bit field low
F.4.1.4
  Loop Instructions
The DSP56100 instructions used for loop operations are:
BRKcc
— Exit hardware loop conditionally
DO
— Start hardware loop
DO FOREVER
— Start infinite loop
ENDDO
— Exit from hardware loop
F.4.1.5
  Move Instructions
The DSP56100 instructions used for move operations are:
LEA
— Load effective address
MOVE
— Move data*
MOVEC
— Move control register
MOVEI
— Move immediate short
MOVEM
— Move program memory
MOVEP
Move peripheral data
MOVES
— Move absolute short
*Instruction allows parallel data move.


Device-dependent Information
DSP56100 Information
F-18
DSP ASSEMBLER REFERENCE MANUAL
MOTOROLA
F.4.1.6
  Program Control Instructions
The DSP56100 instructions used for program control are:
Bcc
— Branch conditionally
BRA
— Branch always
BScc
— Branch to subroutine conditionally
BSR
— Branch to subroutine
DEBUG
Enter debug mode
DEBUGcc
— Enter debug mode conditionally
Jcc
— Jump conditionally
JMP
— Jump
JScc
— Jump to subroutine conditionally
JSR
— Jump to subroutine
NOP
— No operation
REP
— Repeat next instruction
REPcc
— Repeat next instruction conditionally
RESET
— Reset on-chip peripheral devices
RTI
Return from interrupt
RTS
— Return from subroutine
STOP
— Stop processing (low power standby)
SWI
— Software interrupt
WAIT
— Wait for interrupt (low power standby)
F.4.2   Register Names and Usage
The following DSP56100 register names, in either upper or lower case, cannot be used
as symbol names in an assembly language source file:
X
A
A2
X0
A0
X1
A1
Y
B
B2
Y0
B0
Y1
B1
R0
N0
M0
R1
N1
M1
R2
N2
M2
R3
N3
M3
MR
CCR SR
LC
LA
SSH
SSL
OMR


Device-dependent Information
DSP56100 Information
MOTOROLA
DSP ASSEMBLER REFERENCE MANUAL
F-19
The following DSP56100 registers are used by the Assembler in structured control state-
ment processing (Chapter 7):
A
X0
Y0
R0
F.4.3   Condition Code Mnemonics
Following are the DSP56100 condition code mnemonics which correspond to the condi-
tional instructions based on the CCR condition codes. These tests may be used in an op-
erand comparison expression within a structured control statement (Chapter 7).
<CC>
— carry clear
<CS>
— carry set
<EC>
— extension clear
<EQ>
— equal
<ES>
— extension set
<GE>
— greater or equal
<GT>
— greater than
<HS>
— higher or same
<LC>
— limit clear
<LE>
— less or equal
<LO>
—  lower
<LS>
— limit set
<LT>
— less than
<MI>
— minus
<NE>
— not equal
<NN>
— not normalized
<NR>
— normalized
<PL>
—  plus


Device-dependent Information
DSP56300 Information
F-20
DSP ASSEMBLER REFERENCE MANUAL
MOTOROLA
F.5
  DSP56300 INFORMATION
The Motorola DSP56300 refers to a family of high-speed, low power programmable
CMOS processors. The DSP56300 supports 24-bit signed fixed-point fractional arith-
metic.
F.5.1   Instruction Set Summary
DSP56300 instructions can be grouped by function into six types:
1. Arithmetic instructions
2. Logical instructions
3. Bit manipulation instructions
4. Loop instructions
5. Move instructions
6. Program control instructions


Device-dependent Information
DSP56300 Information
MOTOROLA
DSP ASSEMBLER REFERENCE MANUAL
F-21
F.5.1.1
  Arithmetic Instructions
The DSP56300 instructions used for arithmetic operations are:
ABS
— Absolute value*
ADC
— Add long with carry*
ADD
— Add*
ADDL
— Shift left then add*
ADDR
— Shift right then add*
ASL
— Arithmetic shift accumulator left*
ASR
— Arithmetic shift accumulator right*
CLR
— Clear accumulator*
CMP
— Compare*
CMPM
— Compare magnitude*
CMPU
— Compare unsigned
DEC
— Decrement accumulator
DIV
— Divide iteration
DMAC
— Double precision multiply-accumulate
INC
— Increment accumulator
MAC
— Signed multiply-accumulate*
MACI
— Immediate signed multiply-accumulate
MACR
— Signed multiply-accumulate and round*
MACRI
— Immediate signed multiply-accumulate and round
MACSU
— Signed/unsigned multiply-accumulate
MACUU
Unsigned multiply-accumulate
MPY
— Signed multiply*
MPYI
— Immediate signed multiply
MPYR
— Signed multiply and round*
MPYRI
— Immediate signed multiply and round
MPYSU
— Signed/unsigned multiply
MPYUU
— Unsigned multiply
NEG
— Negate accumulator*
NORM
— Normalize accumulator iteration
NORMF
— Fast normalize accumulator
RND
— Round accumulator*
SBC
— Subtract long with carry*
SUB
— Subtract*
SUBL
— Shift left then subtract*
SUBR
— Shift right then subtract*
*Instruction allows parallel data move.


Yüklə 4,8 Kb.

Dostları ilə paylaş:
1   ...   81   82   83   84   85   86   87   88   ...   91




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə