Motorola DSP56000 Manual de usuario

Busca en linea o descarga Manual de usuario para Procesadores Motorola DSP56000. Motorola DSP56000 User`s manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 354
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente

Indice de contenidos

Pagina 1 - ASSEMBLER REFERENCE MANUAL

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

Pagina 2

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

Pagina 3

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

Pagina 4

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

Pagina 5 - PREFACE

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

Pagina 6

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

Pagina 7 - TABLE OF CONTENTS

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

Pagina 8

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

Pagina 9

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

Pagina 10

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

Pagina 11

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

Pagina 12

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

Pagina 13

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

Pagina 14

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

Pagina 15 - LIST OF FIGURES

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

Pagina 16

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

Pagina 17 - MOTOROLA DSP ASSEMBLER

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

Pagina 18

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

Pagina 19

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

Pagina 20

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

Pagina 21

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

Pagina 22

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

Pagina 23

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

Pagina 24

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

Pagina 25

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

Pagina 26

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

Pagina 27

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

Pagina 28

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

Pagina 29 - Chapter 2

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

Pagina 30

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

Pagina 31

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

Pagina 32

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

Pagina 33

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

Pagina 34

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

Pagina 35 - EXPRESSIONS

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

Pagina 36

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

Pagina 37

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

Pagina 38

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

Pagina 39

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

Pagina 40

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

Pagina 41

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

Pagina 42

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

Pagina 43

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

Pagina 44

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

Pagina 45

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

Pagina 46

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

Pagina 47

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

Pagina 48

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

Pagina 49

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

Pagina 50

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

Pagina 51

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

Pagina 52

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

Pagina 53

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

Pagina 54

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

Pagina 55 - SOFTWARE PROJECT MANAGEMENT

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

Pagina 56

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

Pagina 57

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

Pagina 58

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

Pagina 59

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

Pagina 60

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

Pagina 61

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

Pagina 62

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

Pagina 63

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

Pagina 64

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

Pagina 65

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

Pagina 66

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

Pagina 67

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

Pagina 68

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

Pagina 69

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

Pagina 70

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

Pagina 71

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

Pagina 72

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

Pagina 73

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

Pagina 74

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

Pagina 75

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

Pagina 76

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

Pagina 77 - Chapter 5

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

Pagina 78

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

Pagina 79

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

Pagina 80

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

Pagina 81

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

Pagina 82

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

Pagina 83

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

Pagina 84

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

Pagina 85

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

Pagina 86 - Conditional Assembly

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

Pagina 87 - Chapter 6

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

Pagina 88

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

Pagina 89

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

Pagina 90

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

Pagina 91

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

Pagina 92

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

Pagina 93

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

Pagina 94

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

Pagina 95

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

Pagina 96

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

Pagina 97

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

Pagina 98

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

Pagina 99

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

Pagina 100

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

Pagina 101

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

Pagina 102

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

Pagina 103

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

Pagina 104

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

Pagina 105

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

Pagina 106

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

Pagina 107

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

Pagina 108

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

Pagina 109

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

Pagina 110

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

Pagina 111

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

Pagina 112

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

Pagina 113

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

Pagina 114

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

Pagina 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

Pagina 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

Pagina 117

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

Pagina 118

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

Pagina 119

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

Pagina 121

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

Pagina 122

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

Pagina 123

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

Pagina 124

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

Pagina 125

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

Pagina 126

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

Pagina 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

Pagina 128

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

Pagina 129

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

Pagina 130

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

Pagina 131

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

Pagina 132

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

Pagina 133

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

Pagina 134

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

Pagina 135

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

Pagina 136

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

Pagina 137

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

Pagina 138

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

Pagina 139

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

Pagina 140

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

Pagina 141

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

Pagina 142

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

Pagina 143

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

Pagina 144

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

Pagina 145

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

Pagina 146

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

Pagina 147

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

Pagina 148

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

Pagina 149

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

Pagina 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

Pagina 151

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

Pagina 152

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

Pagina 153

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

Pagina 154

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

Pagina 155

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

Pagina 156

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

Pagina 157

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

Pagina 158

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

Pagina 159

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

Pagina 160

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

Pagina 161

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

Pagina 162

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

Pagina 163

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

Pagina 164

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

Pagina 165

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

Pagina 166

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

Pagina 167

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

Pagina 168

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

Pagina 169

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

Pagina 170

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

Pagina 171

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

Pagina 172

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

Pagina 173

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

Pagina 174

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

Pagina 175

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

Pagina 176

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

Pagina 177

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

Pagina 178

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

Pagina 179

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

Pagina 180

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

Pagina 181

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

Pagina 182

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

Pagina 183

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

Pagina 184

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

Pagina 185

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

Pagina 186

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

Pagina 187

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

Pagina 188

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

Pagina 189 - STRUCTURED CONTROL STATEMENTS

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

Pagina 190

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

Pagina 191

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

Pagina 192

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

Pagina 193

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

Pagina 194

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

Pagina 195

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

Pagina 196

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

Pagina 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

Pagina 198

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

Pagina 199

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

Pagina 200

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

Pagina 202

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

Pagina 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

Pagina 204

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

Pagina 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

Pagina 206

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

Pagina 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

Pagina 208

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

Pagina 209

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

Pagina 210

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

Pagina 211

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

Pagina 212

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

Pagina 213

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

Pagina 214

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

Pagina 215

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

Pagina 216

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

Pagina 217

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

Pagina 218

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

Pagina 219

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

Pagina 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

Pagina 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

Pagina 222

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

Pagina 223

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

Pagina 224

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

Pagina 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

Pagina 226

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

Pagina 227

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

Pagina 228

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

Pagina 229

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

Pagina 230

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

Pagina 231

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

Pagina 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

Pagina 234

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

Pagina 235

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

Pagina 236

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

Pagina 237

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

Pagina 238

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

Pagina 239

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

Pagina 240

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

Pagina 241

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

Pagina 242

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

Pagina 243

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

Pagina 244

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

Pagina 245

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

Pagina 246

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

Pagina 247

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

Pagina 248

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

Pagina 249

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

Pagina 250

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

Pagina 251

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

Pagina 252

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

Pagina 253

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

Pagina 254

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

Pagina 255 - ASSEMBLER LISTING FILE FORMAT

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

Pagina 256

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

Pagina 257

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

Pagina 258

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

Pagina 259 - Assembler Listing Format

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

Pagina 260

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

Pagina 261

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

Pagina 262

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

Pagina 263

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

Pagina 264

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

Pagina 265

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

Pagina 266

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

Pagina 267

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

Pagina 268

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

Pagina 269

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

Pagina 270

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

Pagina 271

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

Pagina 272

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

Pagina 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

Pagina 274

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

Pagina 276

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

Pagina 277

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

Pagina 278

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

Pagina 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

Pagina 280

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

Pagina 281

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

Pagina 282

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

Pagina 283

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

Pagina 285

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

Pagina 286

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

Pagina 287

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

Pagina 288

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

Pagina 289

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

Pagina 290

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

Pagina 291

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

Pagina 292

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

Pagina 293

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

Pagina 294

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

Pagina 295

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

Pagina 296

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

Pagina 297

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

Pagina 298

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

Pagina 299

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

Pagina 300

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

Pagina 301

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

Pagina 302

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

Pagina 303

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

Pagina 304

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

Pagina 305

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

Pagina 306

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

Pagina 307

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

Pagina 308

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

Pagina 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

Pagina 310

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

Pagina 311

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

Pagina 312

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

Pagina 313

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

Pagina 314

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

Pagina 315

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

Pagina 316

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

Pagina 317

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

Pagina 318

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

Pagina 319

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

Pagina 320

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

Pagina 321

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

Pagina 322

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

Pagina 323

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

Pagina 324

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

Pagina 325

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

Pagina 326

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

Pagina 327

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

Pagina 328

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

Pagina 329

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

Pagina 330

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

Pagina 331

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

Pagina 332

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

Pagina 333

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

Pagina 334

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

Pagina 335

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

Pagina 336

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

Pagina 337

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

Pagina 338

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

Pagina 339

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

Pagina 340

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

Pagina 341 - HOST-DEPENDENT INFORMATION

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

Pagina 342

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

Pagina 343

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

Pagina 344

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

Pagina 345

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

Pagina 346

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

Pagina 347

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

Pagina 348

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

Pagina 349

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

Pagina 350

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

Pagina 351

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

Pagina 352

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

Pagina 353

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

Pagina 354

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

Comentarios a estos manuales

Sin comentarios