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
Содержание Emulator System E8
Страница 12: ......
Страница 17: ......
Страница 18: ......
Страница 24: ...6...
Страница 32: ...14...
Страница 63: ...Figure 4 7 New Project Workspace Dialog Box 45...
Страница 84: ...g Select Debug Setting from the Debug menu Figure 4 27 High performance Embedded Workshop Window 66...
Страница 88: ...70...
Страница 110: ...92...
Страница 123: ...Figure 6 10 Source Window Break State 105...
Страница 146: ...128...
Страница 148: ...130...
Страница 154: ...136...
Страница 160: ...142...
Страница 164: ...146...