ECE 3551-Lab2

ECE 3551-Lab2 - ECE 3551-Microcomputer System 1 Fall 2006...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 3551-Microcomputer System 1 Fall 2006 LAB Exercise # 2: Modifying a C Program to Call an Assembly Routine Using: Purpose:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
In Exercise One, you built and ran a C program. In this exercise, you: • Modify the C program to call an assembly language routine • Create a Linker Description File to link with the assembly routine • Rebuild the project Step 1: Create a New Project 1. From the File menu, choose Close and then Project dotprodc to close the dotprodc  project. Click Yes when prompted to close all open source windows. 2. From the File menu, choose New and then Project to open the Project Wizard 3. Click the browse button to the right of the Directory field to open the Browse For Folder dialog box. Locate the dot_product_asm tutorial folder and click OK . By default this directory is in the following location. Program Files\Analog Devices\VisualDSP 4.0\Blackfin\Examples\Tutorial\dot_product_asm
Background image of page 2
4. In the Name field, type dot_product_asm  and click Finish . The new project is created and is shown in the Project window of the IDDE. 5. From the Project menu click the Project Options command to display the Project Options dialog box 6. Click the Compile tab to display the Compile page,
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
7. Specify these settings in the Code Generation group box: a. Select the Enable optimization check box to enable optimization. b. Select the Generate debug information check box, if it is not already selected, to enable debug information for the C source. 10. Click OK to apply changes to the project options and to close the Project Options dialog box. When prompted to add support for the VisualDSP++ kernel, click No . You are now ready to add the source files to the project. Step 2: Add Source Files to dot_product_asm To add the source files to the new project: 1. Click the Add File button , or from the Project menu, choose Add to Project , and then choose File(s) . The Add Files dialog box ( Figure below ) appears. 2. In the
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/10/2012 for the course ECE 3551 taught by Professor Staff during the Spring '11 term at FIT.

Page1 / 10

ECE 3551-Lab2 - ECE 3551-Microcomputer System 1 Fall 2006...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online