Download CubeSuite+ V1.00.00 Integrated Development Environment User`s

Transcript
CubeSuite+ Ver.1.00.00
APPENDIX B COMMAND REFERENCE
}
}
(3) Example 1 of incorrect specification
extern unsigned long _S_romp;
char *cp;
func()
{
int
ret;
/* First argument is gp relative value because copied to variable */
cp = &_S_romp;
ret = _rcopy(cp, -1);
}
(4) Example 2 of incorrect specification
extern unsigned long _S_romp;
int
i;
func()
{
int
ret;
/* First argument is gp relative value because copied to variable */
i = 0x100;
ret = _rcopy(i, -1);
}
- The section number to be specified as number is a positive number that starts from 1.
The relationship between the section name and section number can be referenced from the memory map.
When CubeSuite+ is used, on the Property panel, from the [ROMization Process Options] tab, in the [Section
List] category, set the [Output ROMization section file] property to [Yes]. A C language header file in which
correspondence between the section number and label is established can be created. In other words, a label
can be used as number.
- If a section number or -1 is specified as number, nothing is copied.
- If two or more RAMs exist and two or more copy routines are used, and if -1 is specified as number, data
cannot be correctly copied due to problems such as alignment of all sections.
Do not specify -1 as number; specify a section number.
- If -1 is specified as number, data is copied in the order of section numbers.
If there are any sections that are not copied during this operation due to one of the problems above, a value of
-1 is returned.Sections following the section in which a problem has occurred are not copied.
R20UT0557EJ0100 Rev.1.00
Apr 01, 2011
Page 596 of 782