The following StarCore software development tools were used in the development of the SC140 exercises. Later versions of the SC140 tools should generate similar or better results:
•Version 1.0 StarCore 100 C Compiler. Produces highly optimized code. Compiler features include ANSI
•Version 6.3.44 StarCore 100 Assembler. Translates assembly language files into
•
•Version 6.3.77 StarCore 100 Simulator and Version 1.26
Before starting the exercises, install the files in SC140_ex.zip on your computer in the following directory:
•On a Windows platform: C: \MotorolaDSP\SC140\
•On a UNIX platform: ~/MotorolaDSP/SC140/
The exercises directory structure and files are represented in Figure 1. This directory structure is only a recommendation; any location can be used. Once you have installed the exercise files (and if you are running on a Windows platform), all the exercises are located in:
•c:\MotorolaDSP\SC140\Exercises\
This path is the reference path for all exercises discussed in this document.
Exercises
Ex1 (File I/O)
Ex2 (Integer & Fractional Arithmetic)
Ex3 (Local vs Global Optimization)
Ex4 (Memory Alignment Considerations)
Ex5 (Split Summation Technique)
Ex6
Ex7 (Control Code: Use of the True Bit)
Ex8 (Calling an Assembly Routine from C)
Ex9 (The Challenge)
To be created
Ex2.c
Ex3_main.c & Ex3_prod.c
Ex4.asm
Ex5.c
Ex6.c
Ex7.c
Ex8.c and AddVecs.asm
Ex9.c
Figure 1. Directory Structure and Files for SC140 Exercises
A typical development process is represented in Figure 2.
2 | Introduction to the SC140 Tools |