EL 6183 Week 9

EL 6183 Week 9 - EL 6183 Digital Signal Processing Lab...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EL 6183 Digital Signal Processing Lab Digital Monday April 13 , 2009 • Circular Addressing Mode • Pipelining • Assembly Programming Activities • Activity 2 of Lab 8 and Activity 1 of Lab 9 • Final Projects EL 6183 Digital Signal Processing Lab Digital Circular Addressing Mode EL 6183 EL Digital Signal Processing Lab Digital Circular Addressing Mode EL 6183 EL Digital Signal Processing Lab Digital Circular Addressing Mode EL 6183 EL Digital Signal Processing Lab Digital Example: Example: MVKL 0x00070040, B6 ;select A7 as pointer and BK0 ;select MVKH 0x00070040, B6 ;BK0 for 256 bytes (128 shorts) MVC B6, AMR ;set address mode register AMR ;set Application of Circular Addressing Mode: Go to Page 5 of the lab #9 text. EL 6183 Digital Signal Processing Lab Digital EL 6183 EL Digital Signal Processing Lab Digital Pipeline Operation: Pipeline Pipeline Phases Divided in 3 Stages 1. Fetch 2. Decode 3. Execute EL 6183 EL Digital Signal Processing Lab Digital Pipeline Operation: The Fetch Phases Pipeline EL 6183 EL Digital Signal Processing Lab Digital Pipeline Operation: The Fetch Phases Pipeline EL 6183 EL Digital Signal Processing Lab Digital Pipeline Operation: The Decode Phases Pipeline EL 6183 Digital Signal Processing Lab Digital EL 6183 EL Digital Signal Processing Lab Digital For Fixed Point Operation: The EXECUTE portion has 5 phases For Floating Point Operation: The EXECUTE portion has 10 phases Pipeline Operation EL 6183 EL Digital Signal Processing Lab Digital Pipeline Operation EL 6183 EL Digital Signal Processing Lab Digital Pipeline Operation: Pipeline Stall EL 6183 EL Digital Signal Processing Lab Digital Pipeline Operation: Memory Stall EL 6183 Digital Signal Processing Lab Digital Assembler Directives Control the Assembly Process like: _ Assemble code and data into specified sections _ Reserve space in memory for uninitialized variables _ Control the appearance of listings _ Initialize memory _ Assemble conditional blocks _ Define global variables _ Specify libraries from which the assembler can obtain macros EL 6183 EL Digital Signal Processing Lab Digital Calling an Assembly Function from a C/C++ program • The first 10 arguments passed to a function are stored in: A4, B4, A6, B6, A8, B8, A10, B10, A12, and B12 • The remaining arguments are pushed on the stack • Long, double data types are passed in: A5:A4, B5:B4, A7:A6, B7:B6, 9:A8, …… ,B13:B12 • The calling functions must save those registers EL 6183 Digital Signal Processing Lab Digital Calling an Assembly Function from a C/C++ program Register Argument Convention The return address of the calling routine is stored in register B3 EL 6183 Digital Signal Processing Lab Digital Quiz 5 April 27, 2009 Quiz 5 on Lab 8 and 9 Final Projects April 27 to May 12, 2009 Final Projects ...
View Full Document

Ask a homework question - tutors are online