EasyManuals Logo
Home>Renesas>Computer Hardware>H8 Series

Renesas H8 Series User Manual

Renesas H8 Series
272 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #141 background imageLoading...
Page #141 background image
119
Section 6 Tutorial
6.1 Introduction
The following 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 repeatedly calls the tutorial function to repeat sorting.
• The tutorial function generates random data to be sorted and calls the sort and tutorial functions
in order.
• The sort function enters the array where the random data generated by the tutorial function are stored,
and sorts them in ascending order.
• The change function then sorts the array, which was sorted in ascending order by the sort function, in
descending order.
The file tutorial.cpp contains source code for the tutorial program. The file Tutorial.abs is a
compiled load module in the Dwarf2 format.
Notes: 1. After recompilation, the addresses may differ from those given in this section.
2. This section describes general usage examples for the emulator. For the specifications of particular
products, refer to section 8, Software Specifications Specific to This Product, or the online help.
3. The operation address of Tutorial.abs attached to each product differs according to products.
Replace the address used in this section with the relevant address in each product after checking that
it is placed on the corresponding line of the source program.
4. In this tutorial, the H8S/2646 E6000 emulator is taken as an example. File paths or the appearance of
figures differs according to products.

Table of Contents

Other manuals for Renesas H8 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas H8 Series and is the answer not in the manual?

Renesas H8 Series Specifications

General IconGeneral
BrandRenesas
ModelH8 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals