11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3. Evaluate the "ap" term using Table A-14.According to Table A-14, the term "ap" depends upon where the referenced P memorylocation is located in the DSP56K memory space. External memory accesses requireadditional oscillator clock cycles according to the number <strong>of</strong> wait states programmed intothe DSP56K bus control register (BCR). Thus, assuming that the 16-bit bus control registercontains the value $0012, external P memory accesses require wp=1 wait state oradditional oscillator clock cycles. For this example, the P memory reference is assumedto be an Internal reference. This means that the return address ($0100) pulled from thesystem stack by the RTI instruction is in internal P memory. Thus, according to Table A-14, the RTI instruction will use the value ap=O additional oscillator clock cycles.4. Compute final results.Thus, based upon the assumptions given for Table A-6 and those listed in the problemstatement for Example 3, the instructionRTIwill requireand will execute ininstruction program word(4+rx)= (4+(2 * ap»= (4+(2 * 0»4 oscillator clock cycles-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!