Section 6 Tutorial
6.1 Introduction
This section describes the main functions of the emulator 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.x30
is a compiled load module in the IEEE695 format.
Notes:
1.
After recompilation, the addresses may differ from those given in this section.
2.
The file
Tutorial.cpp
contains source code for the tutorial program of the H8 family
devices. The file
Tutorial.abs
is a compiled load module in the Elf/Dwarf2 format.
93
Summary of Contents for Emulator System E8
Page 12: ......
Page 17: ......
Page 18: ......
Page 24: ...6...
Page 32: ...14...
Page 63: ...Figure 4 7 New Project Workspace Dialog Box 45...
Page 88: ...70...
Page 110: ...92...
Page 123: ...Figure 6 10 Source Window Break State 105...
Page 146: ...128...
Page 148: ...130...
Page 154: ...136...
Page 160: ...142...
Page 164: ...146...