English
Language : 

E702289_SH7290 Datasheet, PDF (49/252 Pages) Renesas Technology Corp – SH7290 E10A Emulator
Section 3 Tutorial
3.1 Introduction
The following describes the main functions of the HDI by using a tutorial program.
The tutorial program is based on the C program that sorts ten random data items in ascending or
descending order. The tutorial program performs the following actions:
• The main function generates random data to be sorted.
• The sort function sorts the generated random data in ascending order.
• The change function then sorts the data in descending order.
The file tutorial.c contains source code for the tutorial program. The file tutorial.abs
is a compiled load module in the Dwarf2 format.
Table 3.1 is a list of the parts of the tutorial program and an outline of their configuration on the
hard disk.
Table 3.1 Tutorial Program: Configuration and Parts
Item
Workspace for HEW V1.2
Load module
Main program (source file)
Stack information file
Contents
[Installation directory]\tutorial\tutorial.hws
[Installation directory]\tutorial\tutorial\Debug\tutorial.abs
[Installation directory]\tutorial\tutorial\tutorial.c
[Installation directory]\tutorial\tutorial\Debug\tutorial.sni
Use area 3 (CS3 space) as the operating environment. The MMU function is not used.
25