This section shows an example of an actual startup program created for the simulator in the integrated development environment when the RX610 is selected as the CPU type.
The startup program consists of the files shown in table 7.4.
*1) This name is called in the case of the RXv1 instruction-set architecture.
This name is changed to Exception vector table in the case of RXv2 instruction-set architecture.
The following shows the contents of files (a) to (l).
// #pragma stacksize su=0x100 // Remove the comment when you use user stack #pragma stacksize si=0x300 |
The following shows an example of commands for building these files.
In this example, the name of the user program file (containing the main function) is UserProgram.c, and the body of the file names (names excluding extensions) for the load module or library to be created is LoadModule.