Motorola dsp assembler Reference Manual



Yüklə 4,8 Kb.
Pdf görüntüsü
səhifə1/91
tarix08.10.2017
ölçüsü4,8 Kb.
#3546
  1   2   3   4   5   6   7   8   9   ...   91


MOTOROLA DIGITAL SIGNAL PROCESSING
DEVELOPMENT SOFTWARE
MOTOROLA DSP
ASSEMBLER REFERENCE MANUAL
Motorola, Incorporated
Semiconductor Products Sector
DSP Division
6501 William Cannon Drive West
Austin, TX, 78735-8598


Specification and information herein are subject to change without notice. Motorola re-
serves the right to make changes without further notice to any products described in this
document to improve reliability, function, or design. Motorola does not assume any liability
arising out of the application or use of any product or circuit described herein, neither does
it convey any license under its patent rights or the rights of others. Motorola is a registered
trademark of Motorola, Inc. Motorola, Inc. is an Equal Employment/Affirmative Action Em-
ployer.
This manual documents the assembler as of version 6.0 of the software.
© Copyright Motorola, Inc. 1996. All rights reserved.
ASM56000, SIM56000, ASM96000, SIM96000, ASM56100, SIM56100, ASM56300,
SIM56300, ASM56800 and SIM56800 are trademarks of Motorola.
MS-DOS and Windows are trademarks of Microsoft Corporation.
Sun-4 and SunOS are trademarks of Sun Microsystems, Inc.
Macintosh and MPW are trademarks of Apple Computer.


MOTOROLA DSP ASSEMBLER
WRITING ASSEMBLY LANGUAGE PROGRAMS
EXPRESSIONS
SOFTWARE PROJECT MANAGEMENT
MACROS AND CONDITIONAL ASSEMBLY
ASSEMBLER CHARACTERS AND DIRECTIVES 
STRUCTURED CONTROL STATEMENTS
ASCII CHARACTER CODES
DIRECTIVE SUMMARY
ASSEMBLER MESSAGES
ASSEMBLER LISTING FILE FORMAT
MOTOROLA DSP OBJECT FILE FORMAT (COFF)
DEVICE-DEPENDENT INFORMATION
INDEX
HOST-DEPENDENT INFORMATION
1
2
3
4
5
6
7
A
C
D
E
F
B
G
I


MOTOROLA DSP ASSEMBLER
WRITING ASSEMBLY LANGUAGE PROGRAMS
EXPRESSIONS
SOFTWARE PROJECT MANAGEMENT
MACROS AND CONDITIONAL ASSEMBLY
ASSEMBLER CHARACTERS AND DIRECTIVES 
STRUCTURED CONTROL STATEMENTS
ASCII CHARACTER CODES
DIRECTIVE SUMMARY
ASSEMBLER MESSAGES
ASSEMBLER LISTING FILE FORMAT
MOTOROLA DSP OBJECT FILE FORMAT (COFF)
DEVICE-DEPENDENT INFORMATION
INDEX
HOST-DEPENDENT INFORMATION
1
2
3
4
5
6
7
A
C
D
E
F
B
G
I


PREFACE 
MOTOROLA
DSP ASSEMBLER REFERENCE MANUAL
i
Notation
The notational conventions used in this manual are:
DIRECTIVE
All assembler mnemonics and directives are shown in bold upper case to highlight
them. However, the assembler will recognize both upper and lower case for mne-
monics and directives.
{ }
Contains a list of elements or directives, one of which must be selected. Each
choice will be separated by a vertical bar.  For example, {R I L} indicates that either
R or L must be selected.
[ ]
Contains one or more optional elements. If more than one optional element is
shown, the required element separators are indicated.  All elements outside of the
angle brackets (< >) must be specified as they appear.  For example, the syntacti-
cal element [,] requires the comma to be specified if the optional element
 is selected.
Preface


ii
DSP ASSEMBLER REFERENCE MANUAL
MOTOROLA
Preface
< >
The element names are printed in lower case and contained in angle brackets.
Some common elements used to describe directives are:

A statement comment


MOTOROLA
DSP ASSEMBLER REFERENCE MANUAL
iii
TABLE OF CONTENTS
PREFACE
TABLE OF CONTENTS
LIST OF FIGURES
Chapter 1
MOTOROLA DSP ASSEMBLER
1.1
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2
ASSEMBLY LANGUAGE   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.3
INSTALLING THE ASSEMBLER   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.4
RUNNING THE ASSEMBLER   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.5
ASSEMBLER OPTIONS  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
1.6
ASSEMBLER PROCESSING  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.7
DEFINITION OF TERMS   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.8
ASSEMBLER SUPPORT FOR DIGITAL SIGNAL PROCESSING  . . . . . . 1-10
Chapter 2
WRITING ASSEMBLY LANGUAGE PROGRAMS
2.1
INPUT FILE FORMAT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.2
SYMBOL NAMES  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.3
STRINGS   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.4
SOURCE STATEMENT FORMAT   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.4.1
Label Field  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.4.2
Operation Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.4.3
Operand Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.4.4
Operation 2 Field  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.4.5
Operand 2 Field  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.4.6
Data Transfer Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.4.7
Comment Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.5
ASSEMBLER OUTPUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
Chapter 3
 EXPRESSIONS
3.1
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1


Yüklə 4,8 Kb.

Dostları ilə paylaş:
  1   2   3   4   5   6   7   8   9   ...   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ə