Chapter 5 Detailed Applications
- 91 -
5.9.1 Section Allocation of start.a30
The section allocation of the sample startup program for the assembly language "start.a30" is defined in
"asm_sec.inc".
Edit "asm_sec.inc" if section reallocation is required.
The following explains each section that is defined in the sample section definition file "asm_sec.inc".
• MR_RAM_DBG section
This section stores the MR308's Debug functions RAM data.
This section must be mapped the internal area.
• MR_RAM_NE section
• MR_RAM_NO section
This section is where the RAM data, MR308's system management data, is stored that is referenced in
absolute addressing.
This section must be mapped between 0 and 0FFFFH (near area).
• MR_RAM section
This section is where the RAM data, MR308's system management data, is stored that is referenced in
absolute addressing.
• stack section
This is the section for the default user stack of each task and for the system stack.
• MR_HEAP section
This is the section in which the variable-size memory pool, fixed-size memory pool, and data queue
area are stored.
• MR_KERNEL section
This section stores MR308 kernel program..
• MR_CIF section
This section stores the MR308 C language interface library.
• MR_ROM section
This section stores data such as task start addresses that area referenced by the MR308 kernel.
• program section
This section stores user programs.
This section is not used by the MR308 kernel at all. Therefore, you can use this section as desired.
• program_S section
This section stores the functions invoked by aspecial page call.
This section is not used by the MR308 kernel at all.
• fvector section
This section stores the vector address of special page calls.
This section is not used by the MR308 kernel at all.
• INTERRUPT_VECTOR section
• FIX_INTERRUPT_VECTOR section
This section stores interrupt vectors. The start address of this section varies with the type of M16C/80
series microcomputer used. The address in the sample startup program is provided for use by the
M16C/80 series micro-computers. This address must be modified if you are using a microcomputer of
some other group.