section 7 - Index of
section 7 - Index of section 7 - Index of
ADDL Shift Left and Add Accumulators ADDLOperation:S+2*D~D (parallel move)Assembler Syntax:ADDL S,D (parallel move)Description: Add the source operand S to two times the destination operand D andstore the result in the destination accumulator. The destination operand D is arithmeticallyshifted one bit to the left, and a zero is shifted into the LS bit of D prior to the additionoperation. The carry bit is set correctly if the source operand does not overflow as aresult of the left shift operation. The overflow bit may be set as a result of either the shiftingor addition operation (or both). This instruction is useful for efficient divide and decimationin time (DIT) FFT algorithms.Example:ADDL A,B #$O,RO;A+2*B~B, set up addr. reg. ROBefore ExecutionA 1~ ____ $O_O:_OO_OO_O_O:O_O_01_23 __ ~After ExecutionA ~I ___ $_O_O:O_O_OO_OO_:O_OO_12_3 __ ~B ~I ___ $_O_O:_OO_50_00_:0_00_0_00 __ ~BI L-___ $_O_O:O_O_AO_OO_:O_OO_1_23 __ ~Explanation of Example: Prior to execution, the 56-bit accumulator contains the value$00:000000:000123, and the 56-bit B accumulator contains the value$00:005000:000000. The ADDL A,B instruction adds two times the value in the B accumulatorto the value in the A accumulator and stores the 56-bit result in the B accumulator.-
ADDL Shift Left and Add Accumulators ADDLCondition Codes:15 14 13 12 11 10 9 8 7 6 5 4 3 2 01 LF I OM I T I·· I 81 I 80 I 11 lois I LEI U N I z v I :.1.... MR ..... CCR _.S - Computed according to the definition in A.5 CONDITION CODE COMPUTATIONL - Set if limiting (parallel move) or overflow has occurred in resultE - Set if the signed integer portion of A or B result is in useU - Set if A or B result is unnormalizedN - Set if bit 55 of A or B result is setZ- Set if A or B result equals zeroV - Set If overflow has occurred In A or B result or if the MS bit of the destinationoperand Is changed as a result of the Instruction's left shiftC - Set if a carry (or borrow) occurs from bit 55 of A or B result.Note: The definitions of the E and U bits vary according to the scaling mode being used.Refer to Section A.5 for complete details.Instruction Format:ADDL S,DOpcode:23 8 7DATA BUS MOVE FIELD I 0 04 3 oo 1 I d o oOPTIONAL EFFECTIVE ADDRESS EXTENSIONInstruction Fields:S,D dB,A 0A,B 1Timing: 2+mv oscillator clock cyclesMemory: 1 +mv program words
- Page 217: SECTION 11ADDITIONAL SUPPORTDr. BuB
- Page 220 and 221: The following is a partial list of
- Page 222 and 223: • In-line assembler language code
- Page 224 and 225: I Document 10 I Version Synopsis I
- Page 226 and 227: I Document 10 I Version Synopsis I
- Page 228 and 229: I Document ID I Version Synopsis I
- Page 230 and 231: I Document 10 I Version Synopsis I
- Page 232 and 233: 11.5 MOTOROLA DSP NEWSThe Motorola
- Page 234 and 235: DIGITAL SIGNAL PROCESSINGAlan V. Op
- Page 236 and 237: C Programming Language:Controls:. C
- Page 238 and 239: Image Processing:DIGITAL IMAGE PROC
- Page 240 and 241: LINEAR PREDICTION OF SPEECHJ. D. Ma
- Page 243 and 244: A.1 APPENDIX A INTRODUCTIONThis app
- Page 245 and 246: XnYnTable A-1 Instruction Descripti
- Page 247 and 248: Table A-1 Instruction Description N
- Page 249 and 250: Table A-1 Instruction Description N
- Page 251 and 252: Table A-2 DSP56K Addressing ModesAd
- Page 253 and 254: The address register indirect addre
- Page 255 and 256: A.SCONDITION CODE COMPUTATION15 14
- Page 257 and 258: S1 SO Scaling Mode Signed Integer P
- Page 259 and 260: Table A-5 Condition Code Computatio
- Page 261 and 262: A.7 INSTRUCTION DESCRIPTIONSThe fol
- Page 263 and 264: ABSAbsolute ValueABSInstruction For
- Page 265 and 266: ADC Add Long with Carry ADCresult.
- Page 267: ADD Add ADDCondition Codes:15 14 13
- Page 271 and 272: ADDR Shift Right and Add Accumulato
- Page 273 and 274: ANDLogical ANDANDInstruction Format
- Page 275 and 276: ANDIAND Immediate with Control Regi
- Page 277 and 278: ASL Arithmetic Shift Accumulator Le
- Page 279 and 280: ASR Arithmetic Shift Accumulator Ri
- Page 281 and 282: BCHG Bit Test and Change BCHGExplan
- Page 283 and 284: BCHGBit Test and ChangeBCHGInstruct
- Page 285 and 286: BCHGBit Test and ChangeBCHGInstruct
- Page 287 and 288: BCHG Bit Test and Change BCHGNotes:
- Page 289 and 290: BCLR Bit Test and Clear BCLRExplana
- Page 291 and 292: BClRBit Test and ClearBClRInstructi
- Page 293 and 294: BClRBit Test and ClearBClRInstructi
- Page 295 and 296: BClR Bit Test and Clear BClRNotes:
- Page 297 and 298: BSET Bit Test and Set BSETExplanati
- Page 299 and 300: BSETBit Test and SetBSETInstruction
- Page 301 and 302: BSETBit Test and SetBSETInstruction
- Page 303 and 304: BSET Bit Test and Set BSETNotes: If
- Page 305 and 306: BTSTBit TestBTSTCondition Codes:115
- Page 307 and 308: 8TSTBit Test8TSTInstruction Format:
- Page 309 and 310: 8TSTBit Test8TSTInstruction Format:
- Page 311 and 312: CLRClear AccumulatorCLRInstruction
- Page 313 and 314: CMP Compare CMPCondition Codes:15 1
- Page 315 and 316: CMPM Compare Magnitude CMPMConditio
- Page 317 and 318: DEBUGEnter Debug ModeDEBUGOpcode:23
ADDL Shift Left and Add Accumulators ADDLOperation:S+2*D~D (parallel move)Assembler Syntax:ADDL S,D (parallel move)Description: Add the source operand S to two times the destination operand D andstore the result in the destination accumulator. The destination operand D is arithmeticallyshifted one bit to the left, and a zero is shifted into the LS bit <strong>of</strong> D prior to the additionoperation. The carry bit is set correctly if the source operand does not overflow as aresult <strong>of</strong> the left shift operation. The overflow bit may be set as a result <strong>of</strong> either the shiftingor addition operation (or both). This instruction is useful for efficient divide and decimationin time (DIT) FFT algorithms.Example:ADDL A,B #$O,RO;A+2*B~B, set up addr. reg. ROBefore ExecutionA 1~ ____ $O_O:_OO_OO_O_O:O_O_01_23 __ ~After ExecutionA ~I ___ $_O_O:O_O_OO_OO_:O_OO_12_3 __ ~B ~I ___ $_O_O:_OO_50_00_:0_00_0_00 __ ~BI L-___ $_O_O:O_O_AO_OO_:O_OO_1_23 __ ~Explanation <strong>of</strong> Example: Prior to execution, the 56-bit accumulator contains the value$00:000000:000123, and the 56-bit B accumulator contains the value$00:005000:000000. The ADDL A,B instruction adds two times the value in the B accumulatorto the value in the A accumulator and stores the 56-bit result in the B accumulator.-