
R0E417250MCU00 User
’s Manual
R20UT3587EJ0302 Rev.3.02
Page 38 of 232
Sep.01. 21
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.