Course Home

 

Course Information

 

Schedule and Assignments

Lab 1: Introduction to the ARM compiler and simulator

Introduction

In this lab you will use the ARM compiler to compile some code supplied to you. You will then use the ARM simulator to simulate the program on a PC.

Lab Precautions

One set of ARM Developer Suite manuals is in the bookshelf in the lab; additional copies of the most important sections of the manuals should be kept next to the computer that runs the Developer Suite. Manuals, software, and equipment do not leave the lab under any circumstances.

Do not spill anything on electronic equipment.

Compile your application

The ARM Developer Suite is installed on the redbank PC in F115. in the undergraduate lab. You can run the Developer Suite by selecting Start->Programs->ARM Developer Suite->Code Warrior for ARM.

Follow the iInstructions in the Getting Started Guide that tell you how to compile the Dhrystone application. Create your own directory in My Documents\Scratch and follow the instructions to compile your program.

Simulate your application

Once you have compiled your program, you should simulate it. The ARM simulator is known as the ARMulator. You will deal with the simulator through the debugger AXD.

Start the debugger/simulator from CodeWarrior using Project->Debug. To begin the simulation, select Execute->Go; you will need to do this twice. A console window will appear with a prompt asking you how many iterations to run. You should enter 100,000 and hit return. The simulation will end with a report of execution time per Dhrystone and Dhrystones per second.

Turn in

You should turn in:

·         A printout of your screen showing the Dhrystones per second..

Copyright ã 2003 Wayne Wolf