Renesas SH7058 Technical Information Page 64

  • Download
  • Add to my manuals
  • Print
  • Page
    / 323
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 63
33
Section 4 Tutorial
4.1 Introduction
The following describes the main functions of the HDI by using a sample program for sorting
random data. For more complicated usage, refer to section 5, Emulator Functions. This tutorial
assumes that the user system is not connected.
The sample program performs the following actions:
The
main
function generates 10 pieces of random data to be sorted.
The
sort
function generates the array and inputs the random data in the array, and sorts the
random data in ascending order.
The
change
function inputs the array generated by the
sort
function, and changes the data
in descending order.
Note: This sample program is created by using the SuperH RISC engine C/C
++
compiler
Package (V6.0A).
Page view 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 322 323

Comments to this Manuals

No comments