Motorola DSP56000 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Processeurs Motorola DSP56000. Motorola DSP56000 User`s manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 354
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - ASSEMBLER REFERENCE MANUAL

MOTOROLA DIGITAL SIGNAL PROCESSINGDEVELOPMENT SOFTWAREMOTOROLA DSPASSEMBLER REFERENCE MANUALMotorola, IncorporatedSemiconductor Products SectorDSP Div

Page 2

Table of Contentsvi DSP ASSEMBLER REFERENCE MANUAL MOTOROLAChapter 7STRUCTURED CONTROL STATEMENTS7.1 INTRODUCTION . . . . . . . . . . . . . . . . . .

Page 3

Assembler Significant Characters And DirectivesAssembler Directives6-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAquotes (") then DEFINE symbols wil

Page 4

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-15@Function DelimiterAll Assembler built-

Page 5 - PREFACE

Assembler Significant Characters And DirectivesAssembler Directives6-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA*Location Counter SubstitutionWhen used

Page 6

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-17++String Concatenation OperatorAny two

Page 7 - TABLE OF CONTENTS

Assembler Significant Characters And DirectivesAssembler Directives6-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA[ ]Substring Delimiter[<string>,&

Page 8

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-19<<I/O Short Addressing Mode Force

Page 9

Assembler Significant Characters And DirectivesAssembler Directives6-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA<Short Addressing Mode Force Operato

Page 10

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-21>Long Addressing Mode Force Operator

Page 11

Assembler Significant Characters And DirectivesAssembler Directives6-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA#Immediate Addressing ModeThe pound sig

Page 12

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-23#<Immediate Short Addressing Mode Fo

Page 13

Table of ContentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL viiAppendix CASSEMBLER MESSAGESC.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . .

Page 14

Assembler Significant Characters And DirectivesAssembler Directives6-24 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA#>Immediate Long Addressing Mode For

Page 15 - LIST OF FIGURES

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-25BADDRSet Buffer AddressBADDR <M | R&

Page 16

Assembler Significant Characters And DirectivesAssembler Directives6-26 DSP ASSEMBLER REFERENCE MANUAL MOTOROLABSBBlock Storage Bit-Reverse[<label&

Page 17 - MOTOROLA DSP ASSEMBLER

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-27BSCBlock Storage of Constant[<label&

Page 18

Assembler Significant Characters And DirectivesAssembler Directives6-28 DSP ASSEMBLER REFERENCE MANUAL MOTOROLABSMBlock Storage Modulo[<label>]

Page 19

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-29BUFFERStart Buffer BUFFER <M | R>

Page 20

Assembler Significant Characters And DirectivesAssembler Directives6-30 DSP ASSEMBLER REFERENCE MANUAL MOTOROLACOBJComment Object FileCOBJ <string&

Page 21

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-31COMMENTStart Comment LinesCOMMENT <

Page 22

Assembler Significant Characters And DirectivesAssembler Directives6-32 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADCDefine Constant[<label>] DC

Page 23

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-33DCBDefine Constant Byte[<label>]

Page 24

Table of Contentsviii DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE.3.4.6.4 End of Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 25

Assembler Significant Characters And DirectivesAssembler Directives6-34 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADEFINEDefine Substitution StringDEFINE

Page 26

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-35DSDefine Storage[<label>] DS

Page 27

Assembler Significant Characters And DirectivesAssembler Directives6-36 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADSMDefine Modulo Storage[<label>]

Page 28

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-37DSRDefine Reverse Carry Storage[<lab

Page 29 - Chapter 2

Assembler Significant Characters And DirectivesAssembler Directives6-38 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADUPDuplicate Sequence of Source Lines[&

Page 30

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-39Note that the linesDUP COUNT ;ASR BY CO

Page 31

Assembler Significant Characters And DirectivesAssembler Directives6-40 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADUPADuplicate Sequence With Arguments[&

Page 32

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-41Note that the linesDUPA VALUE,12,32,34E

Page 33

Assembler Significant Characters And DirectivesAssembler Directives6-42 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADUPCDuplicate Sequence With Characters[

Page 34

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-43DUPFDuplicate Sequence In Loop[<labe

Page 35 - EXPRESSIONS

Table of ContentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL ixF.2.1.5 Move Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 36

Assembler Significant Characters And DirectivesAssembler Directives6-44 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANote that the linesDUPF NUM,0,7ENDMwill

Page 37

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-45ENDEnd of Source ProgramEND [<expr

Page 38

Assembler Significant Characters And DirectivesAssembler Directives6-46 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAENDBUFEnd BufferENDBUFThe ENDBUF direct

Page 39

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-47ENDIFEnd of Conditional AssemblyENDIFTh

Page 40

Assembler Significant Characters And DirectivesAssembler Directives6-48 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAENDMEnd of Macro DefinitionENDMEvery MA

Page 41

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-49ENDSECEnd SectionENDSECEvery SECTION di

Page 42

Assembler Significant Characters And DirectivesAssembler Directives6-50 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAEQUEquate Symbol to a Value<label>

Page 43

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-51EXITMExit MacroEXITMThe EXITM directive

Page 44

Assembler Significant Characters And DirectivesAssembler Directives6-52 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFAILProgrammer Generated ErrorFAIL [{&l

Page 45

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-53FORCESet Operand Forcing ModeFORCE {SHO

Page 46

Table of Contentsx DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.6.1.1 Arithmetic Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 47

Assembler Significant Characters And DirectivesAssembler Directives6-54 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAGLOBALGlobal Section Symbol Declaration

Page 48

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-55GSETSet Global Symbol to a Value<lab

Page 49

Assembler Significant Characters And DirectivesAssembler Directives6-56 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAHIMEMSet High Memory BoundsHIMEM <me

Page 50

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-57IDENTObject Code Identification Record[

Page 51

Assembler Significant Characters And DirectivesAssembler Directives6-58 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIFConditional Assembly DirectiveIF <

Page 52

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-59INCLUDEInclude Secondary FileINCLUDE &l

Page 53

Assembler Significant Characters And DirectivesAssembler Directives6-60 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALISTList the AssemblyLISTPrint the list

Page 54

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-61LOCALLocal Section Symbol DeclarationLO

Page 55 - SOFTWARE PROJECT MANAGEMENT

Assembler Significant Characters And DirectivesAssembler Directives6-62 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALOMEMSet Low Memory BoundsLOMEM <mem

Page 56

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-63LSTCOLSet Listing Field WidthsLSTCOL [

Page 57

List of FiguresMOTOROLA DSP ASSEMBLER REFERENCE MANUAL xiLIST OF FIGURESD-1 Assembler Listing Format . . . . . . . . . . . . . . . . . . . . . . . .

Page 58

Assembler Significant Characters And DirectivesAssembler Directives6-64 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAMACLIBMacro LibraryMACLIB <pathname&

Page 59

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-65MACROMacro Definition<label> MACR

Page 60

Assembler Significant Characters And DirectivesAssembler Directives6-66 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAMODEChange Relocation ModeMODE <ABS[

Page 61

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-67MSGProgrammer Generated MessageMSG [{

Page 62

Assembler Significant Characters And DirectivesAssembler Directives6-68 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANOLISTStop Assembly ListingNOLISTDo not

Page 63

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-69OPTAssembler OptionsOPT <option>[

Page 64

Assembler Significant Characters And DirectivesAssembler Directives6-70 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAReporting OptionsThese options control

Page 65

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-71Symbol OptionsThese options deal with t

Page 66

Assembler Significant Characters And DirectivesAssembler Directives6-72 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFollowing are descriptions of the indiv

Page 67

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-73EM (DSP56800 only) Used when it is nece

Page 68

List of Figuresxii DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE-23 Function Symbol Auxiliary Entry . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 69

Assembler Significant Characters And DirectivesAssembler Directives6-74 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALOC Include local labels in the symbol

Page 70

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-75NOEM (DSP56800 only) (default, reset) D

Page 71

Assembler Significant Characters And DirectivesAssembler Directives6-76 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANOSI (DSP56000 only) (default, reset) I

Page 72

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-77upper 16 bits are considered rather tha

Page 73

Assembler Significant Characters And DirectivesAssembler Directives6-78 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAXR Causes XDEFed symbols to be recogniz

Page 74

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-79ORGInitialize Memory Space and Location

Page 75

Assembler Significant Characters And DirectivesAssembler Directives6-80 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA<lms>Which memory space (X, Y, L,

Page 76

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-81location counter expression. This expre

Page 77 - Chapter 5

Assembler Significant Characters And DirectivesAssembler Directives6-82 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAORG P(5):,Y:$8000Indicates code will b

Page 78

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-83PAGETop of Page/Size PagePAGE [<ex

Page 79

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-1Chapter 1MOTOROLA DSP ASSEMBLER1.1 INTRODUCTIONThe Motorola DSP Assemblers are programs that process asse

Page 80

Assembler Significant Characters And DirectivesAssembler Directives6-84 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe following relationships must be mai

Page 81

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-85PMACROPurge Macro DefinitionPMACRO <

Page 82

Assembler Significant Characters And DirectivesAssembler Directives6-86 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAPRCTLSend Control String to PrinterPRCT

Page 83

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-87RADIXChange Input Radix for ConstantsRA

Page 84

Assembler Significant Characters And DirectivesAssembler Directives6-88 DSP ASSEMBLER REFERENCE MANUAL MOTOROLARDIRECTRemove Directive or Mnemonic fro

Page 85

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-89SCSJMPSet Structured Control Statement

Page 86 - Conditional Assembly

Assembler Significant Characters And DirectivesAssembler Directives6-90 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASCSREGReassign Structured Control State

Page 87 - Chapter 6

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-91SECTIONStart SectionSECTION <symbol&

Page 88

Assembler Significant Characters And DirectivesAssembler Directives6-92 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe division of a program into sections

Page 89

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-93a section may be made absolute either i

Page 90

Motorola DSP AssemblerRunning The Assembler1-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAple, for the Motorola DSP56000 processor the name of the Assembl

Page 91

Assembler Significant Characters And DirectivesAssembler Directives6-94 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASETSet Symbol to a Value<label> S

Page 92

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-95STITLEInitialize Program Sub-TitleSTITL

Page 93

Assembler Significant Characters And DirectivesAssembler Directives6-96 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASYMOBJWrite Symbol Information to Objec

Page 94

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-97TABSSet Listing Tab StopsTABS <tabst

Page 95

Assembler Significant Characters And DirectivesAssembler Directives6-98 DSP ASSEMBLER REFERENCE MANUAL MOTOROLATITLEInitialize Program TitleTITLE [<

Page 96

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-99UNDEFUndefine DEFINE SymbolUNDEF [<s

Page 97

Assembler Significant Characters And DirectivesAssembler Directives6-100 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAWARNProgrammer Generated WarningWARN [

Page 98

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-101XDEFExternal Section Symbol Definition

Page 99

Assembler Significant Characters And DirectivesAssembler Directives6-102 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAXREFExternal Section Symbol ReferenceX

Page 100

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-1Chapter 7STRUCTURED CONTROL STATEMENTS7.1 INTRODUCTIONAn assembly language provides an instruction set fo

Page 101

Motorola DSP AssemblerAssembler OptionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-31.5 ASSEMBLER OPTIONS-AIndicates that the Assembler should run in

Page 102

Structured Control StatementsSyntax7-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA7.3 SYNTAXThe formats for the .BREAK, .CONTINUE, .FOR, .IF, .LOOP, .RE

Page 103

Structured Control StatementsSyntaxMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-3FUNCTION:The .BREAK statement causes an immediate exit from the innermos

Page 104

Structured Control StatementsSyntax7-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANOTES:If a .CONTINUE is encountered with no loop statement active, a war

Page 105

Structured Control StatementsSyntaxMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-5NOTES:<op1> must be a writable register or memory location. It is

Page 106

Structured Control StatementsSyntax7-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANOTES:In the case of nested .IF-THEN-.ELSE statements, each .ELSE refers

Page 107

Structured Control StatementsSyntaxMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-77.3.6 .REPEAT StatementSYNTAX:.REPEAT<stmtlist>.UNTIL <expre

Page 108

Structured Control StatementsSimple And Compound Expressions7-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe DO keyword is optional.EXAMPLE:.WHILE x:(r1

Page 109

Structured Control StatementsSimple And Compound ExpressionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-9When processed by the Assembler, the expression

Page 110

Structured Control StatementsStatement Formatting7-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANote that values in the <reg1> and <reg2> dat

Page 111

Structured Control StatementsEffects On The Programmer’s EnvironmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-11there must be white space (blank, tab)

Page 112

Specification and information herein are subject to change without notice. Motorola re-serves the right to make changes without further notice to any

Page 113

Motorola DSP AssemblerAssembler Options1-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA-D<symbol> <string> sequence can be repeated as often as

Page 114

Structured Control StatementsEffects On The Programmer’s Environment7-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA(underscore) labels are interspersed a

Page 115

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL A-1Appendix AASCII CHARACTER CODESDecimalHex ASCII DecimalHex ASCII0 00 NUL 64 40 @1 01 SOH 65 41 A2 02 STX 66

Page 116

ASCII Character CodesA-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADecimalHex ASCII DecimalHex ASCII29 1D GS 93 5D ]30 1E RS 94 5E ^31 1F US 95 5F _32 20

Page 117

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL B-1Appendix BDIRECTIVE SUMMARYAssembler directives can be grouped by function into seven types:1. Assembly co

Page 118

Directive SummarySymbol DefinitionB-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAB.2 SYMBOL DEFINITIONThe directives used to control symbol definition a

Page 119

Directive SummaryObject File ControlMOTOROLA DSP ASSEMBLER REFERENCE MANUAL B-3B.5 OBJECT FILE CONTROLThe directives used for control of the object

Page 121

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-1Appendix CASSEMBLER MESSAGESC.1 INTRODUCTIONAssembler messages are grouped into four categories:Command L

Page 122

Assembler MessagesCommand Line ErrorsC-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAC.2 COMMAND LINE ERRORSCannot open command fileCannot open listing f

Page 123

Assembler MessagesCommand Line ErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-3Invalid syntax for command line -E optionThere must be whitespace betw

Page 124

Motorola DSP AssemblerAssembler OptionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-5-GSend source file line number information to the object file. This

Page 125

Assembler MessagesWarningsC-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAC.3 WARNINGSAbsolute address involves incompatible memory spacesThe memory spac

Page 126

Assembler MessagesWarningsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-5Assembler produces this warning and generates a NOP prior to the offending in-str

Page 127

Assembler MessagesWarningsC-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAspace attributes of X, Y, L, P(rogram), E(MI), or N(one); only N is fully compati

Page 128

Assembler MessagesWarningsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-7Invalid interrupt vector address - using SWI addressCurrently only the SWI addres

Page 129

Assembler MessagesWarningsC-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALoad reserved address space violationThe load location counter has incremented in

Page 130

Assembler MessagesWarningsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-9No control registers accessed - using MOVE encodingA MOVEC-type instruction was g

Page 131

Assembler MessagesWarningsC-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAPC-relative address too large to use short - long substitutedThe PC-relative off

Page 132

Assembler MessagesWarningsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-11Runtime origin involves incompatible memory spacesThe memory space attribute is

Page 133

Assembler MessagesWarningsC-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAStorage block size not a power of 2The expression in a DSR directive did not eva

Page 134

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-13C.4 ERRORSAbsolute address contains forward reference - force short or I/O short

Page 135

Motorola DSP AssemblerAssembler Options1-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAonly once. If the file named in the -L option already exists, it wil

Page 136

Assembler MessagesErrorsC-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAAssembler directive or mnemonic not foundAn argument to the RDIRECT directive was

Page 137

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-15CONST option must be used before any labelThis option, which prevents EQU symbols

Page 138

Assembler MessagesErrorsC-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADisplacement too large to use shortThe displacement value being forced short is to

Page 139

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-17End of structure or union without matching definitionA source-level debug end-of-s

Page 140

Assembler MessagesErrorsC-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAExpression cannot have a negative valueSome directives do not allow negative expre

Page 141

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-19Extra characters beyond expressionThe expression evaluator found extra characters

Page 142

Assembler MessagesErrorsC-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAForcing not specifiedThe type of forcing operand was not given in a FORCE directiv

Page 143

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-21Illegal directive inside .DEF-.ENDEF declarationIllegal directive outside .DEF-.EN

Page 144

Assembler MessagesErrorsC-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIllegal move field source specifiedThe source operand in a data memory move is inv

Page 145

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-23Immediate operand requiredThe ANDI and ORI instructions must have an immediate val

Page 146

Motorola DSP AssemblerAssembler OptionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-7below. Note that if this option is not used the Assembler runs with

Page 147

Assembler MessagesErrorsC-24 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAInstruction does not allow data movement specifiedThe desired operation may only b

Page 148

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-25Invalid modeThe mode specified in a MODE directive was not either RELATIVE or ABSO

Page 149

Assembler MessagesErrorsC-26 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAInvalid section nameSection names cannot be local symbols, e.g. they cannot begin

Page 150

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-27Conversely, if the data register of the X data field is from the set D4-D7, the da

Page 151

Assembler MessagesErrorsC-28 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALOC option must be used before any local labelThe LOC option must appear before an

Page 152

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-29Memory space must be P or NONEAn END directive was encountered while the runtime m

Page 153

Assembler MessagesErrorsC-30 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAMissing memory space specifierOne of the operands of an instruction was expected t

Page 154

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-31Missing symbol valueNo symbol value was given as an argument to the .VAL directive

Page 155

Assembler MessagesErrorsC-32 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANot enough fields specified for instructionThere were no operands specified for a

Page 156

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-33Only post-increment by offset addressing allowed with LMS moveThe initial data mov

Page 157

Motorola DSP AssemblerAssembler Options1-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA-VThis option causes the Assembler to report assembly progress (begi

Page 158

Assembler MessagesErrorsC-34 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAoccurs without any other errors this may represent an internal error which shouldb

Page 159

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-35Redefinition would overflow lineA substitution string declared using the DEFINE di

Page 160

Assembler MessagesErrorsC-36 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAReserved name used for symbol nameOne of the DSP register names has been used as a

Page 161

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-37Short displacement too largeThe flagged operand value is greater than the maximum

Page 162

Assembler MessagesErrorsC-38 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAin the DSM or DSR directive and the runtime location counter value exceed avail-ab

Page 163

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-39Symbol cannot be set to new valueThe label has been defined previously other than

Page 164

Assembler MessagesErrorsC-40 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASyntax error - expected ':'In an ORG directive the colon separating the

Page 165

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-41Syntax error - invalid statement terminatorThere were extra or invalid characters

Page 166

Assembler MessagesErrorsC-42 DSP ASSEMBLER REFERENCE MANUAL MOTOROLATwo dummy arguments are the sameTwo dummy arguments in a macro definition (MACRO d

Page 167

Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-43Unrecognized secondary mnemonicA symbol in the Assembler secondary opcode field wa

Page 168

Motorola DSP AssemblerAssembler ProcessingMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-91.6 ASSEMBLER PROCESSINGThe Motorola DSP Assembler is a two-pa

Page 169

Assembler MessagesFatal ErrorsC-44 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAC.5 FATAL ERRORSAttempt to store external reference data in absolute modeA

Page 170

Assembler MessagesFatal ErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-45Cannot write file header to object fileCannot write line number entries to o

Page 171

Assembler MessagesFatal ErrorsC-46 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAError in mnemonic tableThe indicator passed to the instruction processing lo

Page 172

Assembler MessagesFatal ErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-47Invalid tag storage classThe saved tag storage class has been corrupted. Thi

Page 173

Assembler MessagesFatal ErrorsC-48 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASection stack mode errorThe Assembler expected to restore a nested section b

Page 174

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-1Appendix DASSEMBLER LISTING FILE FORMATD.1 INTRODUCTIONThe Assembler always produces a source listing fil

Page 175

Assembler Listing File FormatListing File CommentaryD-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAlines) have been shifted right to make room for line nu

Page 176

Assembler Listing File FormatCross-reference FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-3gram they would be shown here, as well as define symbols

Page 177

Assembler Listing File FormatMemory Utilization Report FormatD-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAblock in the X memory report is of type CODE b

Page 178

Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-5

Page 179

Motorola DSP AssemblerAssembler Support For Digital Signal Processing1-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAruntime memory space and runtime addr

Page 180

Assembler Listing File FormatAssembler Listing FormatD-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA

Page 181

Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-7

Page 182

Assembler Listing File FormatAssembler Listing FormatD-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA

Page 183

Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-9

Page 184

Assembler Listing File FormatAssembler Listing FormatD-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA

Page 185

Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-11

Page 186

Assembler Listing File FormatAssembler Listing FormatD-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA

Page 187

Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-13

Page 188

Assembler Listing File FormatAssembler Listing FormatD-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA

Page 189 - STRUCTURED CONTROL STATEMENTS

Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-15

Page 190

Motorola DSP AssemblerAssembler Support For Digital Signal ProcessingMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-11useful for initializing data values i

Page 191

Assembler Listing File FormatAssembler Listing FormatD-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA

Page 192

Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-17

Page 193

Assembler Listing File FormatAssembler Listing FormatD-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA

Page 194

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-1Appendix EMOTOROLA DSP OBJECT FILE FORMAT (COFF)E.1 INTRODUCTIONThe Motorola DSP Assembler and Linker pro

Page 195

Motorola DSP Object File Format (COFF)Object File StructureE-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe general layout of the object file is illustr

Page 196

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-3E.3 OBJECT FILE COMPONENTSFollowing are detai

Page 197

Motorola DSP Object File Format (COFF)Object File ComponentsE-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe flags field is a set of bit flags which con

Page 198

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-5buffer and overlay counts give counts for each

Page 199

Motorola DSP Object File Format (COFF)Object File ComponentsE-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe program entry field represents the address

Page 200

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-7object file has been created. Programs manipul

Page 202

Motorola DSP Object File Format (COFF)Object File ComponentsE-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAfrom the start of the logical section (implicit

Page 203 - DIRECTIVE SUMMARY

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-9Figure E-7 Section Header FlagsText sections ar

Page 204

Motorola DSP Object File Format (COFF)Object File ComponentsE-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-8 Relocation Entry FormatThe address

Page 205

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-11an index into the symbol table for the entry c

Page 206

Motorola DSP Object File Format (COFF)Object File ComponentsE-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-11 COFF Symbol Table OrderingThe entr

Page 207 - ASSEMBLER MESSAGES

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-13Figure E-12 Symbol Table Entry FormatE.3.4.1

Page 208

Motorola DSP Object File Format (COFF)Object File ComponentsE-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE.3.4.3 Section NumberThe section number maps

Page 209

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-15Figure E-13 Fundamental TypesBits 4 through 15

Page 210

Motorola DSP Object File Format (COFF)Object File ComponentsE-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-14 Derived TypesAs an example of enco

Page 211

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-17Figure E-15 Storage ClassesMnemonic Value Type

Page 212

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 2-1Chapter 2WRITING ASSEMBLY LANGUAGE PROGRAMS2.1 INPUT FILE FORMATPrograms written in assembly language con

Page 213

Motorola DSP Object File Format (COFF)Object File ComponentsE-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-15 Storage Classes (continued)The val

Page 214

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-19Figure E-16 Storage Class and ValueStorage Cla

Page 215

Motorola DSP Object File Format (COFF)Object File ComponentsE-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-16 Storage Class and Value (continued

Page 216

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-21E.3.4.6.1 FilenamesThe auxiliary table entry

Page 217

Motorola DSP Object File Format (COFF)Object File ComponentsE-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-19 Relocatable Section Auxiliary Entr

Page 218

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-23other auxiliary entry is generated for the buf

Page 219

Motorola DSP Object File Format (COFF)Object File ComponentsE-24 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-22 End of Structure Auxiliary EntryE.

Page 220

Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-25E.3.4.6.6 ArraysThe format for C language arr

Page 221

Motorola DSP Object File Format (COFF)Object File ComponentsE-26 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE.3.4.6.8 Beginning of Blocks and FunctionsTh

Page 222

Motorola DSP Object File Format (COFF)Differences In DSP Object Format And Standard COFFMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-27Figure E-27 Struct

Page 223

MOTOROLA DSP ASSEMBLERWRITING ASSEMBLY LANGUAGE PROGRAMSEXPRESSIONSSOFTWARE PROJECT MANAGEMENTMACROS AND CONDITIONAL ASSEMBLYASSEMBLER CHARACTERS AND

Page 224

Writing Assembly Language ProgramsStrings2-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA2.3 STRINGSOne or more ASCII characters enclosed by single quote

Page 225

Motorola DSP Object File Format (COFF)Differences In DSP Object Format And Standard COFFE-28 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE.4.1 Multiple M

Page 226

Motorola DSP Object File Format (COFF)Differences In DSP Object Format And Standard COFFMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-29Figure E-29 Memory

Page 227

Motorola DSP Object File Format (COFF)Differences In DSP Object Format And Standard COFFE-30 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe Motorola DSP v

Page 228

Motorola DSP Object File Format (COFF)Object File Data Expression FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-31cards the reference symbol. When t

Page 229

Motorola DSP Object File Format (COFF)Object File Data Expression FormatE-32 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAand parentheses. Expressions may c

Page 230

Motorola DSP Object File Format (COFF)Object File Data Expression FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-33E.5.2.1 User Expression - { ... }

Page 231

Motorola DSP Object File Format (COFF)Object File Data Expression FormatE-34 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA -7 - 7-bit signed short immedia

Page 232

Motorola DSP Object File Format (COFF)Object File Data Expression FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-35E.5.2.7 BFxxx Instruction Mask Fu

Page 234

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-1Appendix FDEVICE-DEPENDENT INFORMATIONF.1 INTRODUCTIONThe Motorola DSP Assemblers are quite similar in te

Page 235

Writing Assembly Language ProgramsSource Statement FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 2-3Assembler; the comment field is ignored. For exam

Page 236

Device-dependent InformationDSP56000 InformationF-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.2 DSP56000 INFORMATIONThe Motorola DSP56000 refers to a

Page 237

Device-dependent InformationDSP56000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-3F.2.1.1 Arithmetic InstructionsThe DSP56000 instructions

Page 238

Device-dependent InformationDSP56000 InformationF-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.2.1.2 Logical InstructionsThe DSP56000 instructions use

Page 239

Device-dependent InformationDSP56000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-5F.2.1.6 Program Control InstructionsThe DSP56000 instruct

Page 240

Device-dependent InformationDSP56000 InformationF-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.2.2 Register Names and UsageThe following DSP56000 regi

Page 241

Device-dependent InformationDSP56000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-7F.2.3 Condition Code MnemonicsFollowing are the DSP56000

Page 242

Device-dependent InformationDSP96000 InformationF-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.3 DSP96000 INFORMATIONThe Motorola DSP96000 refers to a

Page 243

Device-dependent InformationDSP96000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-9FGETMAN — Extract mantissa*FINT — Extract integer*FLOAT — C

Page 244

Device-dependent InformationDSP96000 InformationF-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.3.1.2 Logical InstructionsThe DSP96000 instructions us

Page 245

Device-dependent InformationDSP96000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-11F.3.1.5 Move InstructionsThe DSP96000 instructions used

Page 246

Writing Assembly Language ProgramsSource Statement Format2-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAthe terminating address of a DO loop). Note that

Page 247

Device-dependent InformationDSP96000 InformationF-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.3.1.6 Program Control InstructionsThe DSP96000 instruc

Page 248

Device-dependent InformationDSP96000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-13WAIT — Wait for interrupt (low power standby)F.3.2 Regis

Page 249

Device-dependent InformationDSP96000 InformationF-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.3.3 Condition Code MnemonicsFollowing are the DSP96000

Page 250

Device-dependent InformationDSP56100 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-15F.4 DSP56100 INFORMATIONThe Motorola DSP56100 refers to

Page 251

Device-dependent InformationDSP56100 InformationF-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAINC24 — Increment 24 MS bits of accumulator*MAC — Signed m

Page 252

Device-dependent InformationDSP56100 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-17F.4.1.3 Bit Manipulation InstructionsThe DSP56100 instru

Page 253

Device-dependent InformationDSP56100 InformationF-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.4.1.6 Program Control InstructionsThe DSP56100 instruc

Page 254

Device-dependent InformationDSP56100 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-19The following DSP56100 registers are used by the Assembler

Page 255 - ASSEMBLER LISTING FILE FORMAT

Device-dependent InformationDSP56300 InformationF-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.5 DSP56300 INFORMATIONThe Motorola DSP56300 refers to

Page 256

Device-dependent InformationDSP56300 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-21F.5.1.1 Arithmetic InstructionsThe DSP56300 instructions

Page 257

Writing Assembly Language ProgramsSource Statement FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 2-52.4.3 Operand FieldThe interpretation of the ope

Page 258

Device-dependent InformationDSP56300 InformationF-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLATcc — Transfer conditionallyTFR — Transfer data ALU regist

Page 259 - Assembler Listing Format

Device-dependent InformationDSP56300 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-23F.5.1.4 Loop InstructionsThe DSP56300 instructions used

Page 260

Device-dependent InformationDSP56300 InformationF-24 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.5.1.6 Program Control InstructionsThe DSP56300 instruc

Page 261

Device-dependent InformationDSP56300 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-25F.5.2 Register Names and UsageThe following DSP56300 reg

Page 262

Device-dependent InformationDSP56300 InformationF-26 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.5.3 Condition Code MnemonicsFollowing are the DSP56300

Page 263

Device-dependent InformationDSP56800 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-27F.6 DSP56800 INFORMATIONThe Motorola DSP56800 refers to

Page 264

Device-dependent InformationDSP56800 InformationF-28 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.6.1.1 Arithmetic InstructionsThe DSP56800 instructions

Page 265

Device-dependent InformationDSP56800 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-29F.6.1.2 Logical InstructionsThe DSP56800 instructions us

Page 266

Device-dependent InformationDSP56800 InformationF-30 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.6.1.5 Move InstructionsThe DSP56800 instructions used

Page 267

Device-dependent InformationDSP56800 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-31F.6.2 Macro InstructionsThe DSP56800 Macros are defined

Page 268

Writing Assembly Language ProgramsAssembler Output2-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA2.4.7 Comment FieldComments are not considered signific

Page 269

Device-dependent InformationDSP56800 InformationF-32 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.6.3 Register Names and UsageThe following DSP56800 reg

Page 270

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL G-1Appendix GHOST-DEPENDENT INFORMATIONG.1 INTRODUCTIONThe Motorola DSP development software runs on several

Page 271

Host-dependent InformationDOS/386 EnvironmentG-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAG.2.2 InstallationThe Assembler is installed from the distri

Page 272

Host-dependent InformationSunOS/SOLARIS ENVIRONMENTMOTOROLA DSP ASSEMBLER REFERENCE MANUAL G-3In this example no object file is created and all errors

Page 273 - Appendix E

Host-dependent InformationHP 700 EnvironmentG-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAAs an example, if the Assembler executable was located in a dir

Page 274

Host-dependent InformationHP 700 EnvironmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL G-5Assembler source code imported from other environments may need

Page 276

INDEXMOTOROLA DSP ASSEMBLER REFERENCE MANUAL I-1Symbols! ... 3-4- ...

Page 277

I-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIndexBuffer ... 1-10address ...

Page 278

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL I-3IndexEND ... 6-2, 6-45, B-1ENDBUF ... 6-3, 6-46, B-2ENDIF ...

Page 279

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-1Chapter 3 EXPRESSIONS3.1 INTRODUCTIONAn expression represents a value which is used as an operand in an A

Page 280

I-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIndexobject file ...E-31operand comparison ... 7-9operator

Page 281

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL I-5IndexListing file ...1-5, 2-6, 6-73commentary ... D-1cro

Page 282

I-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIndexCK ...6-71, 6-72CL ...6-70, 6-72CM .

Page 283

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL I-7IndexRSV ...6-71, 6-76S ...6-70, 6-76SBM

Page 285

ExpressionsExpression Memory Space Attribute3-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLApressions that involve two or more operands and operators other

Page 286

ExpressionsInternal Expression RepresentationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-3Expressions used for immediate addressing can have any memory

Page 287

ExpressionsOperators3-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA.6 (floating point)2.7e2 (floating point)A constant may be written without a leading ra

Page 288

ExpressionsOperatorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-5The unary plus operator returns the value of its operand.The unary minus operator retur

Page 289

MOTOROLA DSP ASSEMBLERWRITING ASSEMBLY LANGUAGE PROGRAMSEXPRESSIONSSOFTWARE PROJECT MANAGEMENTMACROS AND CONDITIONAL ASSEMBLYASSEMBLER CHARACTERS AND

Page 290

ExpressionsOperators3-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe shift left operator causes the left operand to be shifted to the left (and zero-fil

Page 291

ExpressionsOperator PrecedenceMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-73.6.6 Logical operatorsLogical AND (&&)Logical OR (||)The logical A

Page 292

ExpressionsFunctions3-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAand the opening parenthesis, and there must be no spaces between comma-separatedargumen

Page 293

ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-93.8.2 Conversion FunctionsThe conversion functions provide conversion between integer

Page 294

ExpressionsFunctions3-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA3.8.5 Assembler Mode FunctionsMiscellaneous functions having to do with Assembler op

Page 295

ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-11@ASN(<expression>)Returns the arc sine of <expression> as a floating point

Page 296

ExpressionsFunctions3-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA@CHK()Returns the current instruction/data checksum value as an integer. Useful in co

Page 297

ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-13@CVF(<expression>)Converts the result of <expression> to a floating point

Page 298

ExpressionsFunctions3-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA@FLD(<base>,<value>,<width>[,<start>])Shift and mask <value

Page 299

ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-15@LCV({L | R}[,{L | H | <expression>}])If L is specified as the first argument, r

Page 300

PREFACE MOTOROLA DSP ASSEMBLER REFERENCE MANUAL iNotationThe notational conventions used in this manual are:DIRECTIVEAll assembler mnemonics and direc

Page 301

ExpressionsFunctions3-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA@LNG(<expr1>,<expr2>)Concatenates the single word <expr1> and <ex

Page 302

ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-17@MAX(<expr1>[,...,<exprN>])Returns the greatest of <expr1>,...,<e

Page 303

ExpressionsFunctions3-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA<start> argument is specified it must be a positive integer and cannot exceed th

Page 304

ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-19@SCP(<str1>,<str2>)Returns an integer 1 (memory space attribute N) if the

Page 305

ExpressionsFunctions3-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA@TAN(<expression>)Returns the tangent of <expression> as a floating point

Page 306

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-1Chapter 4SOFTWARE PROJECT MANAGEMENT4.1 INTRODUCTIONThe Motorola DSP Assemblers provide several directive

Page 307

Software Project ManagementSections And Data Hiding4-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA4.3 SECTIONS AND DATA HIDINGSymbols within a section a

Page 308

Software Project ManagementSections And Data HidingMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-3XDEFed symbols by default are recognized only in other s

Page 309 - DEPENDENT INFORMATION

Software Project ManagementSections And Data Hiding4-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA4.3.2 Sections and MacrosThe division of a program int

Page 310

Software Project ManagementSections And RelocationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-54.4 SECTIONS AND RELOCATIONWhen the Assembler operates

Page 311

ii DSP ASSEMBLER REFERENCE MANUAL MOTOROLAPreface< >The element names are printed in lower case and contained in angle brackets.Some common elem

Page 312

Software Project ManagementAddress Assignment4-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAspersed among relocatable blocks. The MODE directive has no e

Page 313

Software Project ManagementAddress AssignmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-7crement of the location counter. There are many kinds of E mem

Page 314

Software Project ManagementAddress Assignment4-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAor alternatively: ORG <rms>[<rmp>][(<rce

Page 315

Software Project ManagementAddress AssignmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-9<llc>Which load counter, H, L, or default (if neither H

Page 316

Software Project ManagementAddress Assignment4-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAis in relative mode and the load counter expression is relati

Page 317

Software Project ManagementAddress AssignmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-11ORG XL:,E8:Sets the runtime memory space to X. Selects the

Page 318

Software Project ManagementAddress Assignment4-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe ORG statement sets the origin to hexadecimal 100 in X mem

Page 319

Software Project ManagementExample 1: Multi-programmer EnvironmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-134.6 EXAMPLE 1: MULTI-PROGRAMMER ENVIRO

Page 320

Software Project ManagementExample 1: Multi-programmer Environment4-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA4.6.1 Absolute Mode ImplementationTo a

Page 321

Software Project ManagementExample 1: Multi-programmer EnvironmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-15to set the current memory space to P(rog

Page 322

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL iiiTABLE OF CONTENTSPREFACETABLE OF CONTENTSLIST OF FIGURESChapter 1MOTOROLA DSP ASSEMBLER1.1 INTRODUCTION . .

Page 323

Software Project ManagementExample 2: Overlays4-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAformation on relocation and linking. One other Assembler dir

Page 324

Software Project ManagementExample 2: OverlaysMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-174.7.1 Absolute Mode ImplementationIn order to avoid bindin

Page 325

Software Project ManagementExample 2: Overlays4-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAmodule was intended to run starting at OVLBASE in P memory,

Page 326

Software Project ManagementExample 2: OverlaysMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-19Note that the ORG to P space does not specify an absolute ad

Page 327

Software Project ManagementExample 3: Bootstrap Overlay4-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA4.8 EXAMPLE 3: BOOTSTRAP OVERLAYMany Motorola DSP

Page 328

Software Project ManagementExample 3: Bootstrap OverlayMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-214.8.1 Absolute Mode ImplementationIn order to avo

Page 329

Software Project ManagementExample 3: Bootstrap Overlay4-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAsimilar command is used to assemble the SECT2 modul

Page 330

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-1Chapter 5MACRO OPERATIONS AND CONDITIONAL ASSEMBLY5.1 MACRO OPERATIONSProgramming applications frequently

Page 331

Macro Operations And Conditional AssemblyMacro Libraries5-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe effect of a macro call is to produce in-line co

Page 332

Macro Operations And Conditional AssemblyMacro DefinitionMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-3The required label is the symbol by which the macr

Page 333

Table of Contentsiv DSP ASSEMBLER REFERENCE MANUAL MOTOROLA3.2 ABSOLUTE AND RELATIVE EXPRESSIONS . . . . . . . . . . . . . . . . . . . . . .3-13.3 E

Page 334

Macro Operations And Conditional AssemblyMacro Calls5-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAWhen specifying a local label within the body of a macr

Page 335

Macro Operations And Conditional AssemblyDummy Argument OperatorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-5argument can be declared null when calling

Page 336

Macro Operations And Conditional AssemblyDummy Argument Operators5-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA5.5.2 Return value operator - ?Another m

Page 337

Macro Operations And Conditional AssemblyDummy Argument OperatorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-75.5.3 Return hex value operator - %The p

Page 338

Macro Operations And Conditional AssemblyDummy Argument Operators5-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADouble quotes also make possible DEFINE di

Page 339

Macro Operations And Conditional AssemblyDUP, DUPA, DUPC, DUPF DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-9macro label called _LOCAL and atte

Page 340

Macro Operations And Conditional AssemblyConditional Assembly5-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAthe statements between the IF and ELSE direct

Page 341 - HOST-DEPENDENT INFORMATION

MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-1Chapter 6ASSEMBLER SIGNIFICANT CHARACTERS AND DIRECTIVES6.1 INTRODUCTIONThis chapter describes the direct

Page 342

Assembler Significant Characters And DirectivesAssembler Directives6-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA#< - Immediate short addressing mode

Page 343

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-36.3.2 Symbol DefinitionThe directives

Page 344

Table of ContentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL v4.6.2 Relative Mode Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 345

Assembler Significant Characters And DirectivesAssembler Directives6-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA6.3.5 Object File ControlThe directive

Page 346

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-5Individual descriptions of each of the A

Page 347

Assembler Significant Characters And DirectivesAssembler Directives6-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA;Comment Delimiter CharacterAny number o

Page 348

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-7;; Unreported Comment Delimiter Characte

Page 349

Assembler Significant Characters And DirectivesAssembler Directives6-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA\Line Continuation Character orMacro Arg

Page 350

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-9The concatenation operator (\) indicates

Page 351

Assembler Significant Characters And DirectivesAssembler Directives6-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA?Return Value of Symbol CharacterThe ?&

Page 352

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-11%Return Hex Value of Symbol CharacterTh

Page 353

Assembler Significant Characters And DirectivesAssembler Directives6-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA^Macro Local Label OverrideThe circumfl

Page 354

Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-13"Macro String Delimiter orQuoted S

Commentaires sur ces manuels

Pas de commentaire