English
Language : 

R0E417250MCU00 Datasheet, PDF (35/228 Pages) Renesas Technology Corp – E100 Emulator MCU Unit for H8SX/1700 Series
R0E417250MCU00 User’s Manual
3. Tutorial
3. Tutorial
3.1 Introduction
A tutorial program for the E100 emulator is provided as a means of presenting the emulator’s main features to you. The tutorial
is described in this section.
The tutorial program was written in the C and C++ languages, and sorts random data (10 items) into ascending and descending
order.
Processing by the tutorial program is as follows.
The main function repeatedly calls the tutorial function in order to repeatedly execute the process of sorting.
The tutorial function generates the random data to be sorted and calls the sort and change functions, in that order.
The sort function accepts input of an array that contains the random data generated by the tutorial function and sorts this data
into ascending order.
The change function accepts input of the array that was sorted into ascending order by the sort function and sorts the data into
descending order.
The tutorial program is designed to help users to understand how to use the functions of the emulator and emulator debugger.
When developing a user system or user program, refer to the user’s manual for the target MCU.
CAUTION
If the tutorial program is recompiled, the addresses in the recompiled program may not be the same as those described in this
chapter.
REJ10J1831-0200 Rev.2.00 Jun.1, 2009
Page 35 of 228