Motorola dsp assembler Reference Manual



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

Device-dependent Information
DSP56000 Information
MOTOROLA
DSP ASSEMBLER REFERENCE MANUAL
F-5
F.2.1.6
  Program Control Instructions
The DSP56000 instructions used for program control are:
DEBUG
— Enter debug mode
DEBUGcc
— Enter debug mode conditionally
ILLEGAL
Illegal instruction interrupt
Jcc
— Jump conditionally
JCLR
— Jump if bit clear
JMP
— Jump
JScc
— Jump to subroutine conditionally
JSCLR
— Jump to subroutine if bit clear
JSET
— Jump if bit set
JSSET
Jump to subroutine if bit set
JSR
— Jump to subroutine
NOP
— No operation
REP
— Repeat next instruction
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)


Device-dependent Information
DSP56000 Information
F-6
DSP ASSEMBLER REFERENCE MANUAL
MOTOROLA
F.2.2   Register Names and Usage
The following DSP56000 register names, in either upper or lower case, cannot be used
as symbol names in an assembly language source file:
X
A
AB
X0
A0
BA
X1
A1
A10
Y
B
B10
Y0
B0
A2
Y1
B1
B2
R0
N0
M0
MR
R1
N1
M1
CCR
R2
N2
M2
SR
R3
N3
M3
LC
R4
N4
M4
LA
R5
N5
M5
SSH
R6
N6
M6
SSL
R7
N7
M7
OMR
The following DSP56000 registers are used by the Assembler in structured control state-
ment processing (Chapter 7):
A
X0
Y0


Device-dependent Information
DSP56000 Information
MOTOROLA
DSP ASSEMBLER REFERENCE MANUAL
F-7
F.2.3   Condition Code Mnemonics
Following are the DSP56000 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
DSP96000 Information
F-8
DSP ASSEMBLER REFERENCE MANUAL
MOTOROLA
F.3
  DSP96000 INFORMATION
The Motorola DSP96000 refers to a family of dual-port IEEE floating point programmable
CMOS processors. The DSP960002 supports IEEE 754 single precision and single ex-
tended precision floating point and 32-bit signed and unsigned fixed point arithmetic.
F.3.1   Instruction Set Summary
DSP96000 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
F.3.1.1
  Arithmetic Instructions
The DSP96000 instructions used for arithmetic operations are:
ABS
— Absolute value*
ADD
— Add*
ADDC
— Add with carry*
ASL
— Arithmetic shift left*
ASR
— Arithmetic shift right*
BFIND
— Find leading one*
CLR
— Clear register*
CMP
— Compare*
CMPG
— Graphics compare*
DEC
— Decrement by one*
EXT
— Sign extend half word*
EXTB
— Sign extend byte*
FABS
— Floating point absolute value*
FADD
— Floating point add*
FADDSUB
— Floating point add and subtract*
FCLR
— Clear floating point register*
FCMP
— Floating point compare*
FCMPG
— Floating point graphics compare*
FCMPM
— Floating point magnitude compare*
FCOPYS
— Floating point copy sign*
*Instruction allows parallel data move.


Device-dependent Information
DSP96000 Information
MOTOROLA
DSP ASSEMBLER REFERENCE MANUAL
F-9
FGETMAN
— Extract mantissa*
FINT
— Extract integer*
FLOAT
— Convert integer to floating point*
FLOATU
— Unsigned integer to floating point*
FLOOR
— Extract integer*
FMPY
— Floating point multiply*
FMPY/FADD
— Floating point multiply and add*
FMPY/FSUB
— Floating point multiply and subtract*
FMPY/FADDSUB
— Floating point multiply and add/subtract*
FNEG
— Floating point negate*
FSCALE
— Scale floating point operand*
FSEEDD
— Reciprocal approximation
FSEEDR
— Square root reciprocal approximation
FSUB
— Floating point subtract*
FTST
— Test floating point operand*
GETEXP
— Extract exponent*
INC
— Increment by one*
INT
— Convert floating point to integer*
INTRZ
— Convert floating point to integer with round to zero*
INTU
— Convert floating point to unsigned integer*
INTURZ
— Convert floating point to unsigned integer with round to zero*
JOIN
— Join two 16-bit integers*
JOINB
— Join two 8-bit integers*
MPYS
— Signed multiply*
MPYU
— Unsigned multiply*
NEG
— Negate*
NEGC
— Negate with carry*
RND
— Round accumulator*
SETW
— Set operand*
SPLIT
— Extract 16-bit integer*
SPLITB
— Extract 8-bit integer*
SUB
— Subtract*
SUBC
— Subtract with carry*
TST
— Test*
*Instruction allows parallel data move.


Yüklə 4,8 Kb.

Dostları ilə paylaş:
1   ...   78   79   80   81   82   83   84   85   ...   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ə