MOTOROLA DIGITAL SIGNAL PROCESSINGDEVELOPMENT SOFTWAREMOTOROLA DSPASSEMBLER REFERENCE MANUALMotorola, IncorporatedSemiconductor Products SectorDSP Div
Table of Contentsvi DSP ASSEMBLER REFERENCE MANUAL MOTOROLAChapter 7STRUCTURED CONTROL STATEMENTS7.1 INTRODUCTION . . . . . . . . . . . . . . . . . .
Assembler Significant Characters And DirectivesAssembler Directives6-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAquotes (") then DEFINE symbols wil
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-15@Function DelimiterAll Assembler built-
Assembler Significant Characters And DirectivesAssembler Directives6-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA*Location Counter SubstitutionWhen used
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-17++String Concatenation OperatorAny two
Assembler Significant Characters And DirectivesAssembler Directives6-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA[ ]Substring Delimiter[<string>,&
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-19<<I/O Short Addressing Mode Force
Assembler Significant Characters And DirectivesAssembler Directives6-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA<Short Addressing Mode Force Operato
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-21>Long Addressing Mode Force Operator
Assembler Significant Characters And DirectivesAssembler Directives6-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA#Immediate Addressing ModeThe pound sig
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-23#<Immediate Short Addressing Mode Fo
Table of ContentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL viiAppendix CASSEMBLER MESSAGESC.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . .
Assembler Significant Characters And DirectivesAssembler Directives6-24 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA#>Immediate Long Addressing Mode For
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-25BADDRSet Buffer AddressBADDR <M | R&
Assembler Significant Characters And DirectivesAssembler Directives6-26 DSP ASSEMBLER REFERENCE MANUAL MOTOROLABSBBlock Storage Bit-Reverse[<label&
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-27BSCBlock Storage of Constant[<label&
Assembler Significant Characters And DirectivesAssembler Directives6-28 DSP ASSEMBLER REFERENCE MANUAL MOTOROLABSMBlock Storage Modulo[<label>]
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-29BUFFERStart Buffer BUFFER <M | R>
Assembler Significant Characters And DirectivesAssembler Directives6-30 DSP ASSEMBLER REFERENCE MANUAL MOTOROLACOBJComment Object FileCOBJ <string&
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-31COMMENTStart Comment LinesCOMMENT <
Assembler Significant Characters And DirectivesAssembler Directives6-32 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADCDefine Constant[<label>] DC
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-33DCBDefine Constant Byte[<label>]
Table of Contentsviii DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE.3.4.6.4 End of Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Assembler Significant Characters And DirectivesAssembler Directives6-34 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADEFINEDefine Substitution StringDEFINE
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-35DSDefine Storage[<label>] DS
Assembler Significant Characters And DirectivesAssembler Directives6-36 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADSMDefine Modulo Storage[<label>]
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-37DSRDefine Reverse Carry Storage[<lab
Assembler Significant Characters And DirectivesAssembler Directives6-38 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADUPDuplicate Sequence of Source Lines[&
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-39Note that the linesDUP COUNT ;ASR BY CO
Assembler Significant Characters And DirectivesAssembler Directives6-40 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADUPADuplicate Sequence With Arguments[&
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-41Note that the linesDUPA VALUE,12,32,34E
Assembler Significant Characters And DirectivesAssembler Directives6-42 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADUPCDuplicate Sequence With Characters[
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-43DUPFDuplicate Sequence In Loop[<labe
Table of ContentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL ixF.2.1.5 Move Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Assembler Significant Characters And DirectivesAssembler Directives6-44 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANote that the linesDUPF NUM,0,7ENDMwill
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-45ENDEnd of Source ProgramEND [<expr
Assembler Significant Characters And DirectivesAssembler Directives6-46 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAENDBUFEnd BufferENDBUFThe ENDBUF direct
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-47ENDIFEnd of Conditional AssemblyENDIFTh
Assembler Significant Characters And DirectivesAssembler Directives6-48 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAENDMEnd of Macro DefinitionENDMEvery MA
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-49ENDSECEnd SectionENDSECEvery SECTION di
Assembler Significant Characters And DirectivesAssembler Directives6-50 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAEQUEquate Symbol to a Value<label>
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-51EXITMExit MacroEXITMThe EXITM directive
Assembler Significant Characters And DirectivesAssembler Directives6-52 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFAILProgrammer Generated ErrorFAIL [{&l
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-53FORCESet Operand Forcing ModeFORCE {SHO
Table of Contentsx DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.6.1.1 Arithmetic Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Assembler Significant Characters And DirectivesAssembler Directives6-54 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAGLOBALGlobal Section Symbol Declaration
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-55GSETSet Global Symbol to a Value<lab
Assembler Significant Characters And DirectivesAssembler Directives6-56 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAHIMEMSet High Memory BoundsHIMEM <me
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-57IDENTObject Code Identification Record[
Assembler Significant Characters And DirectivesAssembler Directives6-58 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIFConditional Assembly DirectiveIF <
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-59INCLUDEInclude Secondary FileINCLUDE &l
Assembler Significant Characters And DirectivesAssembler Directives6-60 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALISTList the AssemblyLISTPrint the list
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-61LOCALLocal Section Symbol DeclarationLO
Assembler Significant Characters And DirectivesAssembler Directives6-62 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALOMEMSet Low Memory BoundsLOMEM <mem
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-63LSTCOLSet Listing Field WidthsLSTCOL [
List of FiguresMOTOROLA DSP ASSEMBLER REFERENCE MANUAL xiLIST OF FIGURESD-1 Assembler Listing Format . . . . . . . . . . . . . . . . . . . . . . . .
Assembler Significant Characters And DirectivesAssembler Directives6-64 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAMACLIBMacro LibraryMACLIB <pathname&
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-65MACROMacro Definition<label> MACR
Assembler Significant Characters And DirectivesAssembler Directives6-66 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAMODEChange Relocation ModeMODE <ABS[
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-67MSGProgrammer Generated MessageMSG [{
Assembler Significant Characters And DirectivesAssembler Directives6-68 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANOLISTStop Assembly ListingNOLISTDo not
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-69OPTAssembler OptionsOPT <option>[
Assembler Significant Characters And DirectivesAssembler Directives6-70 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAReporting OptionsThese options control
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-71Symbol OptionsThese options deal with t
Assembler Significant Characters And DirectivesAssembler Directives6-72 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFollowing are descriptions of the indiv
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-73EM (DSP56800 only) Used when it is nece
List of Figuresxii DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE-23 Function Symbol Auxiliary Entry . . . . . . . . . . . . . . . . . . . . . . . . . . .
Assembler Significant Characters And DirectivesAssembler Directives6-74 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALOC Include local labels in the symbol
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-75NOEM (DSP56800 only) (default, reset) D
Assembler Significant Characters And DirectivesAssembler Directives6-76 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANOSI (DSP56000 only) (default, reset) I
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-77upper 16 bits are considered rather tha
Assembler Significant Characters And DirectivesAssembler Directives6-78 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAXR Causes XDEFed symbols to be recogniz
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-79ORGInitialize Memory Space and Location
Assembler Significant Characters And DirectivesAssembler Directives6-80 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA<lms>Which memory space (X, Y, L,
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-81location counter expression. This expre
Assembler Significant Characters And DirectivesAssembler Directives6-82 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAORG P(5):,Y:$8000Indicates code will b
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-83PAGETop of Page/Size PagePAGE [<ex
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-1Chapter 1MOTOROLA DSP ASSEMBLER1.1 INTRODUCTIONThe Motorola DSP Assemblers are programs that process asse
Assembler Significant Characters And DirectivesAssembler Directives6-84 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe following relationships must be mai
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-85PMACROPurge Macro DefinitionPMACRO <
Assembler Significant Characters And DirectivesAssembler Directives6-86 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAPRCTLSend Control String to PrinterPRCT
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-87RADIXChange Input Radix for ConstantsRA
Assembler Significant Characters And DirectivesAssembler Directives6-88 DSP ASSEMBLER REFERENCE MANUAL MOTOROLARDIRECTRemove Directive or Mnemonic fro
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-89SCSJMPSet Structured Control Statement
Assembler Significant Characters And DirectivesAssembler Directives6-90 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASCSREGReassign Structured Control State
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-91SECTIONStart SectionSECTION <symbol&
Assembler Significant Characters And DirectivesAssembler Directives6-92 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe division of a program into sections
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-93a section may be made absolute either i
Motorola DSP AssemblerRunning The Assembler1-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAple, for the Motorola DSP56000 processor the name of the Assembl
Assembler Significant Characters And DirectivesAssembler Directives6-94 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASETSet Symbol to a Value<label> S
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-95STITLEInitialize Program Sub-TitleSTITL
Assembler Significant Characters And DirectivesAssembler Directives6-96 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASYMOBJWrite Symbol Information to Objec
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-97TABSSet Listing Tab StopsTABS <tabst
Assembler Significant Characters And DirectivesAssembler Directives6-98 DSP ASSEMBLER REFERENCE MANUAL MOTOROLATITLEInitialize Program TitleTITLE [<
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-99UNDEFUndefine DEFINE SymbolUNDEF [<s
Assembler Significant Characters And DirectivesAssembler Directives6-100 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAWARNProgrammer Generated WarningWARN [
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-101XDEFExternal Section Symbol Definition
Assembler Significant Characters And DirectivesAssembler Directives6-102 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAXREFExternal Section Symbol ReferenceX
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-1Chapter 7STRUCTURED CONTROL STATEMENTS7.1 INTRODUCTIONAn assembly language provides an instruction set fo
Motorola DSP AssemblerAssembler OptionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-31.5 ASSEMBLER OPTIONS-AIndicates that the Assembler should run in
Structured Control StatementsSyntax7-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA7.3 SYNTAXThe formats for the .BREAK, .CONTINUE, .FOR, .IF, .LOOP, .RE
Structured Control StatementsSyntaxMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-3FUNCTION:The .BREAK statement causes an immediate exit from the innermos
Structured Control StatementsSyntax7-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANOTES:If a .CONTINUE is encountered with no loop statement active, a war
Structured Control StatementsSyntaxMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-5NOTES:<op1> must be a writable register or memory location. It is
Structured Control StatementsSyntax7-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANOTES:In the case of nested .IF-THEN-.ELSE statements, each .ELSE refers
Structured Control StatementsSyntaxMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-77.3.6 .REPEAT StatementSYNTAX:.REPEAT<stmtlist>.UNTIL <expre
Structured Control StatementsSimple And Compound Expressions7-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe DO keyword is optional.EXAMPLE:.WHILE x:(r1
Structured Control StatementsSimple And Compound ExpressionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-9When processed by the Assembler, the expression
Structured Control StatementsStatement Formatting7-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANote that values in the <reg1> and <reg2> dat
Structured Control StatementsEffects On The Programmer’s EnvironmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 7-11there must be white space (blank, tab)
Specification and information herein are subject to change without notice. Motorola re-serves the right to make changes without further notice to any
Motorola DSP AssemblerAssembler Options1-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA-D<symbol> <string> sequence can be repeated as often as
Structured Control StatementsEffects On The Programmer’s Environment7-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA(underscore) labels are interspersed a
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
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
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL B-1Appendix BDIRECTIVE SUMMARYAssembler directives can be grouped by function into seven types:1. Assembly co
Directive SummarySymbol DefinitionB-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAB.2 SYMBOL DEFINITIONThe directives used to control symbol definition a
Directive SummaryObject File ControlMOTOROLA DSP ASSEMBLER REFERENCE MANUAL B-3B.5 OBJECT FILE CONTROLThe directives used for control of the object
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-1Appendix CASSEMBLER MESSAGESC.1 INTRODUCTIONAssembler messages are grouped into four categories:Command L
Assembler MessagesCommand Line ErrorsC-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAC.2 COMMAND LINE ERRORSCannot open command fileCannot open listing f
Assembler MessagesCommand Line ErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-3Invalid syntax for command line -E optionThere must be whitespace betw
Motorola DSP AssemblerAssembler OptionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-5-GSend source file line number information to the object file. This
Assembler MessagesWarningsC-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAC.3 WARNINGSAbsolute address involves incompatible memory spacesThe memory spac
Assembler MessagesWarningsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-5Assembler produces this warning and generates a NOP prior to the offending in-str
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
Assembler MessagesWarningsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-7Invalid interrupt vector address - using SWI addressCurrently only the SWI addres
Assembler MessagesWarningsC-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALoad reserved address space violationThe load location counter has incremented in
Assembler MessagesWarningsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-9No control registers accessed - using MOVE encodingA MOVEC-type instruction was g
Assembler MessagesWarningsC-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAPC-relative address too large to use short - long substitutedThe PC-relative off
Assembler MessagesWarningsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-11Runtime origin involves incompatible memory spacesThe memory space attribute is
Assembler MessagesWarningsC-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAStorage block size not a power of 2The expression in a DSR directive did not eva
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-13C.4 ERRORSAbsolute address contains forward reference - force short or I/O short
Motorola DSP AssemblerAssembler Options1-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAonly once. If the file named in the -L option already exists, it wil
Assembler MessagesErrorsC-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAAssembler directive or mnemonic not foundAn argument to the RDIRECT directive was
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-15CONST option must be used before any labelThis option, which prevents EQU symbols
Assembler MessagesErrorsC-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADisplacement too large to use shortThe displacement value being forced short is to
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-17End of structure or union without matching definitionA source-level debug end-of-s
Assembler MessagesErrorsC-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAExpression cannot have a negative valueSome directives do not allow negative expre
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-19Extra characters beyond expressionThe expression evaluator found extra characters
Assembler MessagesErrorsC-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAForcing not specifiedThe type of forcing operand was not given in a FORCE directiv
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-21Illegal directive inside .DEF-.ENDEF declarationIllegal directive outside .DEF-.EN
Assembler MessagesErrorsC-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIllegal move field source specifiedThe source operand in a data memory move is inv
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-23Immediate operand requiredThe ANDI and ORI instructions must have an immediate val
Motorola DSP AssemblerAssembler OptionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-7below. Note that if this option is not used the Assembler runs with
Assembler MessagesErrorsC-24 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAInstruction does not allow data movement specifiedThe desired operation may only b
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-25Invalid modeThe mode specified in a MODE directive was not either RELATIVE or ABSO
Assembler MessagesErrorsC-26 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAInvalid section nameSection names cannot be local symbols, e.g. they cannot begin
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
Assembler MessagesErrorsC-28 DSP ASSEMBLER REFERENCE MANUAL MOTOROLALOC option must be used before any local labelThe LOC option must appear before an
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-29Memory space must be P or NONEAn END directive was encountered while the runtime m
Assembler MessagesErrorsC-30 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAMissing memory space specifierOne of the operands of an instruction was expected t
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-31Missing symbol valueNo symbol value was given as an argument to the .VAL directive
Assembler MessagesErrorsC-32 DSP ASSEMBLER REFERENCE MANUAL MOTOROLANot enough fields specified for instructionThere were no operands specified for a
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-33Only post-increment by offset addressing allowed with LMS moveThe initial data mov
Motorola DSP AssemblerAssembler Options1-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA-VThis option causes the Assembler to report assembly progress (begi
Assembler MessagesErrorsC-34 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAoccurs without any other errors this may represent an internal error which shouldb
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-35Redefinition would overflow lineA substitution string declared using the DEFINE di
Assembler MessagesErrorsC-36 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAReserved name used for symbol nameOne of the DSP register names has been used as a
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-37Short displacement too largeThe flagged operand value is greater than the maximum
Assembler MessagesErrorsC-38 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAin the DSM or DSR directive and the runtime location counter value exceed avail-ab
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-39Symbol cannot be set to new valueThe label has been defined previously other than
Assembler MessagesErrorsC-40 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASyntax error - expected ':'In an ORG directive the colon separating the
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-41Syntax error - invalid statement terminatorThere were extra or invalid characters
Assembler MessagesErrorsC-42 DSP ASSEMBLER REFERENCE MANUAL MOTOROLATwo dummy arguments are the sameTwo dummy arguments in a macro definition (MACRO d
Assembler MessagesErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-43Unrecognized secondary mnemonicA symbol in the Assembler secondary opcode field wa
Motorola DSP AssemblerAssembler ProcessingMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-91.6 ASSEMBLER PROCESSINGThe Motorola DSP Assembler is a two-pa
Assembler MessagesFatal ErrorsC-44 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAC.5 FATAL ERRORSAttempt to store external reference data in absolute modeA
Assembler MessagesFatal ErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-45Cannot write file header to object fileCannot write line number entries to o
Assembler MessagesFatal ErrorsC-46 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAError in mnemonic tableThe indicator passed to the instruction processing lo
Assembler MessagesFatal ErrorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL C-47Invalid tag storage classThe saved tag storage class has been corrupted. Thi
Assembler MessagesFatal ErrorsC-48 DSP ASSEMBLER REFERENCE MANUAL MOTOROLASection stack mode errorThe Assembler expected to restore a nested section b
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-1Appendix DASSEMBLER LISTING FILE FORMATD.1 INTRODUCTIONThe Assembler always produces a source listing fil
Assembler Listing File FormatListing File CommentaryD-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAlines) have been shifted right to make room for line nu
Assembler Listing File FormatCross-reference FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-3gram they would be shown here, as well as define symbols
Assembler Listing File FormatMemory Utilization Report FormatD-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAblock in the X memory report is of type CODE b
Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-5
Motorola DSP AssemblerAssembler Support For Digital Signal Processing1-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAruntime memory space and runtime addr
Assembler Listing File FormatAssembler Listing FormatD-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA
Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-7
Assembler Listing File FormatAssembler Listing FormatD-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA
Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-9
Assembler Listing File FormatAssembler Listing FormatD-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA
Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-11
Assembler Listing File FormatAssembler Listing FormatD-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA
Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-13
Assembler Listing File FormatAssembler Listing FormatD-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA
Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-15
Motorola DSP AssemblerAssembler Support For Digital Signal ProcessingMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 1-11useful for initializing data values i
Assembler Listing File FormatAssembler Listing FormatD-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA
Assembler Listing File FormatAssembler Listing FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL D-17
Assembler Listing File FormatAssembler Listing FormatD-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-1Appendix EMOTOROLA DSP OBJECT FILE FORMAT (COFF)E.1 INTRODUCTIONThe Motorola DSP Assembler and Linker pro
Motorola DSP Object File Format (COFF)Object File StructureE-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe general layout of the object file is illustr
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-3E.3 OBJECT FILE COMPONENTSFollowing are detai
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
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-5buffer and overlay counts give counts for each
Motorola DSP Object File Format (COFF)Object File ComponentsE-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe program entry field represents the address
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-7object file has been created. Programs manipul
Motorola DSP Object File Format (COFF)Object File ComponentsE-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAfrom the start of the logical section (implicit
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-9Figure E-7 Section Header FlagsText sections ar
Motorola DSP Object File Format (COFF)Object File ComponentsE-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-8 Relocation Entry FormatThe address
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-11an index into the symbol table for the entry c
Motorola DSP Object File Format (COFF)Object File ComponentsE-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-11 COFF Symbol Table OrderingThe entr
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-13Figure E-12 Symbol Table Entry FormatE.3.4.1
Motorola DSP Object File Format (COFF)Object File ComponentsE-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE.3.4.3 Section NumberThe section number maps
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-15Figure E-13 Fundamental TypesBits 4 through 15
Motorola DSP Object File Format (COFF)Object File ComponentsE-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-14 Derived TypesAs an example of enco
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-17Figure E-15 Storage ClassesMnemonic Value Type
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 2-1Chapter 2WRITING ASSEMBLY LANGUAGE PROGRAMS2.1 INPUT FILE FORMATPrograms written in assembly language con
Motorola DSP Object File Format (COFF)Object File ComponentsE-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-15 Storage Classes (continued)The val
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-19Figure E-16 Storage Class and ValueStorage Cla
Motorola DSP Object File Format (COFF)Object File ComponentsE-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-16 Storage Class and Value (continued
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-21E.3.4.6.1 FilenamesThe auxiliary table entry
Motorola DSP Object File Format (COFF)Object File ComponentsE-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-19 Relocatable Section Auxiliary Entr
Motorola DSP Object File Format (COFF)Object File ComponentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-23other auxiliary entry is generated for the buf
Motorola DSP Object File Format (COFF)Object File ComponentsE-24 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAFigure E-22 End of Structure Auxiliary EntryE.
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
Motorola DSP Object File Format (COFF)Object File ComponentsE-26 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE.3.4.6.8 Beginning of Blocks and FunctionsTh
Motorola DSP Object File Format (COFF)Differences In DSP Object Format And Standard COFFMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-27Figure E-27 Struct
MOTOROLA DSP ASSEMBLERWRITING ASSEMBLY LANGUAGE PROGRAMSEXPRESSIONSSOFTWARE PROJECT MANAGEMENTMACROS AND CONDITIONAL ASSEMBLYASSEMBLER CHARACTERS AND
Writing Assembly Language ProgramsStrings2-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA2.3 STRINGSOne or more ASCII characters enclosed by single quote
Motorola DSP Object File Format (COFF)Differences In DSP Object Format And Standard COFFE-28 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAE.4.1 Multiple M
Motorola DSP Object File Format (COFF)Differences In DSP Object Format And Standard COFFMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-29Figure E-29 Memory
Motorola DSP Object File Format (COFF)Differences In DSP Object Format And Standard COFFE-30 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe Motorola DSP v
Motorola DSP Object File Format (COFF)Object File Data Expression FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-31cards the reference symbol. When t
Motorola DSP Object File Format (COFF)Object File Data Expression FormatE-32 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAand parentheses. Expressions may c
Motorola DSP Object File Format (COFF)Object File Data Expression FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-33E.5.2.1 User Expression - { ... }
Motorola DSP Object File Format (COFF)Object File Data Expression FormatE-34 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA -7 - 7-bit signed short immedia
Motorola DSP Object File Format (COFF)Object File Data Expression FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL E-35E.5.2.7 BFxxx Instruction Mask Fu
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-1Appendix FDEVICE-DEPENDENT INFORMATIONF.1 INTRODUCTIONThe Motorola DSP Assemblers are quite similar in te
Writing Assembly Language ProgramsSource Statement FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 2-3Assembler; the comment field is ignored. For exam
Device-dependent InformationDSP56000 InformationF-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.2 DSP56000 INFORMATIONThe Motorola DSP56000 refers to a
Device-dependent InformationDSP56000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-3F.2.1.1 Arithmetic InstructionsThe DSP56000 instructions
Device-dependent InformationDSP56000 InformationF-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.2.1.2 Logical InstructionsThe DSP56000 instructions use
Device-dependent InformationDSP56000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-5F.2.1.6 Program Control InstructionsThe DSP56000 instruct
Device-dependent InformationDSP56000 InformationF-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.2.2 Register Names and UsageThe following DSP56000 regi
Device-dependent InformationDSP56000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-7F.2.3 Condition Code MnemonicsFollowing are the DSP56000
Device-dependent InformationDSP96000 InformationF-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.3 DSP96000 INFORMATIONThe Motorola DSP96000 refers to a
Device-dependent InformationDSP96000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-9FGETMAN — Extract mantissa*FINT — Extract integer*FLOAT — C
Device-dependent InformationDSP96000 InformationF-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.3.1.2 Logical InstructionsThe DSP96000 instructions us
Device-dependent InformationDSP96000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-11F.3.1.5 Move InstructionsThe DSP96000 instructions used
Writing Assembly Language ProgramsSource Statement Format2-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAthe terminating address of a DO loop). Note that
Device-dependent InformationDSP96000 InformationF-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.3.1.6 Program Control InstructionsThe DSP96000 instruc
Device-dependent InformationDSP96000 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-13WAIT — Wait for interrupt (low power standby)F.3.2 Regis
Device-dependent InformationDSP96000 InformationF-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.3.3 Condition Code MnemonicsFollowing are the DSP96000
Device-dependent InformationDSP56100 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-15F.4 DSP56100 INFORMATIONThe Motorola DSP56100 refers to
Device-dependent InformationDSP56100 InformationF-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAINC24 — Increment 24 MS bits of accumulator*MAC — Signed m
Device-dependent InformationDSP56100 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-17F.4.1.3 Bit Manipulation InstructionsThe DSP56100 instru
Device-dependent InformationDSP56100 InformationF-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.4.1.6 Program Control InstructionsThe DSP56100 instruc
Device-dependent InformationDSP56100 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-19The following DSP56100 registers are used by the Assembler
Device-dependent InformationDSP56300 InformationF-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.5 DSP56300 INFORMATIONThe Motorola DSP56300 refers to
Device-dependent InformationDSP56300 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-21F.5.1.1 Arithmetic InstructionsThe DSP56300 instructions
Writing Assembly Language ProgramsSource Statement FormatMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 2-52.4.3 Operand FieldThe interpretation of the ope
Device-dependent InformationDSP56300 InformationF-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLATcc — Transfer conditionallyTFR — Transfer data ALU regist
Device-dependent InformationDSP56300 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-23F.5.1.4 Loop InstructionsThe DSP56300 instructions used
Device-dependent InformationDSP56300 InformationF-24 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.5.1.6 Program Control InstructionsThe DSP56300 instruc
Device-dependent InformationDSP56300 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-25F.5.2 Register Names and UsageThe following DSP56300 reg
Device-dependent InformationDSP56300 InformationF-26 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.5.3 Condition Code MnemonicsFollowing are the DSP56300
Device-dependent InformationDSP56800 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-27F.6 DSP56800 INFORMATIONThe Motorola DSP56800 refers to
Device-dependent InformationDSP56800 InformationF-28 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.6.1.1 Arithmetic InstructionsThe DSP56800 instructions
Device-dependent InformationDSP56800 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-29F.6.1.2 Logical InstructionsThe DSP56800 instructions us
Device-dependent InformationDSP56800 InformationF-30 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.6.1.5 Move InstructionsThe DSP56800 instructions used
Device-dependent InformationDSP56800 InformationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL F-31F.6.2 Macro InstructionsThe DSP56800 Macros are defined
Writing Assembly Language ProgramsAssembler Output2-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA2.4.7 Comment FieldComments are not considered signific
Device-dependent InformationDSP56800 InformationF-32 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAF.6.3 Register Names and UsageThe following DSP56800 reg
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL G-1Appendix GHOST-DEPENDENT INFORMATIONG.1 INTRODUCTIONThe Motorola DSP development software runs on several
Host-dependent InformationDOS/386 EnvironmentG-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAG.2.2 InstallationThe Assembler is installed from the distri
Host-dependent InformationSunOS/SOLARIS ENVIRONMENTMOTOROLA DSP ASSEMBLER REFERENCE MANUAL G-3In this example no object file is created and all errors
Host-dependent InformationHP 700 EnvironmentG-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAAs an example, if the Assembler executable was located in a dir
Host-dependent InformationHP 700 EnvironmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL G-5Assembler source code imported from other environments may need
INDEXMOTOROLA DSP ASSEMBLER REFERENCE MANUAL I-1Symbols! ... 3-4- ...
I-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIndexBuffer ... 1-10address ...
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL I-3IndexEND ... 6-2, 6-45, B-1ENDBUF ... 6-3, 6-46, B-2ENDIF ...
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-1Chapter 3 EXPRESSIONS3.1 INTRODUCTIONAn expression represents a value which is used as an operand in an A
I-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIndexobject file ...E-31operand comparison ... 7-9operator
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL I-5IndexListing file ...1-5, 2-6, 6-73commentary ... D-1cro
I-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAIndexCK ...6-71, 6-72CL ...6-70, 6-72CM .
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL I-7IndexRSV ...6-71, 6-76S ...6-70, 6-76SBM
ExpressionsExpression Memory Space Attribute3-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLApressions that involve two or more operands and operators other
ExpressionsInternal Expression RepresentationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-3Expressions used for immediate addressing can have any memory
ExpressionsOperators3-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA.6 (floating point)2.7e2 (floating point)A constant may be written without a leading ra
ExpressionsOperatorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-5The unary plus operator returns the value of its operand.The unary minus operator retur
MOTOROLA DSP ASSEMBLERWRITING ASSEMBLY LANGUAGE PROGRAMSEXPRESSIONSSOFTWARE PROJECT MANAGEMENTMACROS AND CONDITIONAL ASSEMBLYASSEMBLER CHARACTERS AND
ExpressionsOperators3-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe shift left operator causes the left operand to be shifted to the left (and zero-fil
ExpressionsOperator PrecedenceMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-73.6.6 Logical operatorsLogical AND (&&)Logical OR (||)The logical A
ExpressionsFunctions3-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAand the opening parenthesis, and there must be no spaces between comma-separatedargumen
ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-93.8.2 Conversion FunctionsThe conversion functions provide conversion between integer
ExpressionsFunctions3-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA3.8.5 Assembler Mode FunctionsMiscellaneous functions having to do with Assembler op
ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-11@ASN(<expression>)Returns the arc sine of <expression> as a floating point
ExpressionsFunctions3-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA@CHK()Returns the current instruction/data checksum value as an integer. Useful in co
ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-13@CVF(<expression>)Converts the result of <expression> to a floating point
ExpressionsFunctions3-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA@FLD(<base>,<value>,<width>[,<start>])Shift and mask <value
ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-15@LCV({L | R}[,{L | H | <expression>}])If L is specified as the first argument, r
PREFACE MOTOROLA DSP ASSEMBLER REFERENCE MANUAL iNotationThe notational conventions used in this manual are:DIRECTIVEAll assembler mnemonics and direc
ExpressionsFunctions3-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA@LNG(<expr1>,<expr2>)Concatenates the single word <expr1> and <ex
ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-17@MAX(<expr1>[,...,<exprN>])Returns the greatest of <expr1>,...,<e
ExpressionsFunctions3-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA<start> argument is specified it must be a positive integer and cannot exceed th
ExpressionsFunctionsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 3-19@SCP(<str1>,<str2>)Returns an integer 1 (memory space attribute N) if the
ExpressionsFunctions3-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA@TAN(<expression>)Returns the tangent of <expression> as a floating point
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-1Chapter 4SOFTWARE PROJECT MANAGEMENT4.1 INTRODUCTIONThe Motorola DSP Assemblers provide several directive
Software Project ManagementSections And Data Hiding4-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA4.3 SECTIONS AND DATA HIDINGSymbols within a section a
Software Project ManagementSections And Data HidingMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-3XDEFed symbols by default are recognized only in other s
Software Project ManagementSections And Data Hiding4-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA4.3.2 Sections and MacrosThe division of a program int
Software Project ManagementSections And RelocationMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-54.4 SECTIONS AND RELOCATIONWhen the Assembler operates
ii DSP ASSEMBLER REFERENCE MANUAL MOTOROLAPreface< >The element names are printed in lower case and contained in angle brackets.Some common elem
Software Project ManagementAddress Assignment4-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAspersed among relocatable blocks. The MODE directive has no e
Software Project ManagementAddress AssignmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-7crement of the location counter. There are many kinds of E mem
Software Project ManagementAddress Assignment4-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAor alternatively: ORG <rms>[<rmp>][(<rce
Software Project ManagementAddress AssignmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-9<llc>Which load counter, H, L, or default (if neither H
Software Project ManagementAddress Assignment4-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAis in relative mode and the load counter expression is relati
Software Project ManagementAddress AssignmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-11ORG XL:,E8:Sets the runtime memory space to X. Selects the
Software Project ManagementAddress Assignment4-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe ORG statement sets the origin to hexadecimal 100 in X mem
Software Project ManagementExample 1: Multi-programmer EnvironmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-134.6 EXAMPLE 1: MULTI-PROGRAMMER ENVIRO
Software Project ManagementExample 1: Multi-programmer Environment4-14 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA4.6.1 Absolute Mode ImplementationTo a
Software Project ManagementExample 1: Multi-programmer EnvironmentMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-15to set the current memory space to P(rog
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL iiiTABLE OF CONTENTSPREFACETABLE OF CONTENTSLIST OF FIGURESChapter 1MOTOROLA DSP ASSEMBLER1.1 INTRODUCTION . .
Software Project ManagementExample 2: Overlays4-16 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAformation on relocation and linking. One other Assembler dir
Software Project ManagementExample 2: OverlaysMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-174.7.1 Absolute Mode ImplementationIn order to avoid bindin
Software Project ManagementExample 2: Overlays4-18 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAmodule was intended to run starting at OVLBASE in P memory,
Software Project ManagementExample 2: OverlaysMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-19Note that the ORG to P space does not specify an absolute ad
Software Project ManagementExample 3: Bootstrap Overlay4-20 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA4.8 EXAMPLE 3: BOOTSTRAP OVERLAYMany Motorola DSP
Software Project ManagementExample 3: Bootstrap OverlayMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 4-214.8.1 Absolute Mode ImplementationIn order to avo
Software Project ManagementExample 3: Bootstrap Overlay4-22 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAsimilar command is used to assemble the SECT2 modul
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-1Chapter 5MACRO OPERATIONS AND CONDITIONAL ASSEMBLY5.1 MACRO OPERATIONSProgramming applications frequently
Macro Operations And Conditional AssemblyMacro Libraries5-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAThe effect of a macro call is to produce in-line co
Macro Operations And Conditional AssemblyMacro DefinitionMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-3The required label is the symbol by which the macr
Table of Contentsiv DSP ASSEMBLER REFERENCE MANUAL MOTOROLA3.2 ABSOLUTE AND RELATIVE EXPRESSIONS . . . . . . . . . . . . . . . . . . . . . .3-13.3 E
Macro Operations And Conditional AssemblyMacro Calls5-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAWhen specifying a local label within the body of a macr
Macro Operations And Conditional AssemblyDummy Argument OperatorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-5argument can be declared null when calling
Macro Operations And Conditional AssemblyDummy Argument Operators5-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA5.5.2 Return value operator - ?Another m
Macro Operations And Conditional AssemblyDummy Argument OperatorsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-75.5.3 Return hex value operator - %The p
Macro Operations And Conditional AssemblyDummy Argument Operators5-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLADouble quotes also make possible DEFINE di
Macro Operations And Conditional AssemblyDUP, DUPA, DUPC, DUPF DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 5-9macro label called _LOCAL and atte
Macro Operations And Conditional AssemblyConditional Assembly5-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLAthe statements between the IF and ELSE direct
MOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-1Chapter 6ASSEMBLER SIGNIFICANT CHARACTERS AND DIRECTIVES6.1 INTRODUCTIONThis chapter describes the direct
Assembler Significant Characters And DirectivesAssembler Directives6-2 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA#< - Immediate short addressing mode
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-36.3.2 Symbol DefinitionThe directives
Table of ContentsMOTOROLA DSP ASSEMBLER REFERENCE MANUAL v4.6.2 Relative Mode Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Assembler Significant Characters And DirectivesAssembler Directives6-4 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA6.3.5 Object File ControlThe directive
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-5Individual descriptions of each of the A
Assembler Significant Characters And DirectivesAssembler Directives6-6 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA;Comment Delimiter CharacterAny number o
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-7;; Unreported Comment Delimiter Characte
Assembler Significant Characters And DirectivesAssembler Directives6-8 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA\Line Continuation Character orMacro Arg
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-9The concatenation operator (\) indicates
Assembler Significant Characters And DirectivesAssembler Directives6-10 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA?Return Value of Symbol CharacterThe ?&
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-11%Return Hex Value of Symbol CharacterTh
Assembler Significant Characters And DirectivesAssembler Directives6-12 DSP ASSEMBLER REFERENCE MANUAL MOTOROLA^Macro Local Label OverrideThe circumfl
Assembler Significant Characters And DirectivesAssembler DirectivesMOTOROLA DSP ASSEMBLER REFERENCE MANUAL 6-13"Macro String Delimiter orQuoted S
Commentaires sur ces manuels