How do I fill data to unused area in the memory?
Latest Updated:09/18/2015
Question:
How do I fill data to unused area in the memory?
Answer:
There are two methods.
- Input at the end of a section
Specify the –padding option.
Input a value (0x00, the NOP instruction) at the end of a section so that the size of the section is an integer multiple of its alignment. Specifiable file types for output are *.abs, *.hex, *.mot, and *.bin.
Adjust sections with absolute addresses (sections generated under the “.org” assembler directive) by your own processing, since these are not padded automatically. - Input other than at the end of a section
Specify the –space option and fill the output area with the data (user-specified).
Specifiable file types for output are *.abs, *.hex, *.mot, and *.bin.
Suitable Products
C Compiler Package for RH850 Family |
C/C++ Compiler Package for RX Family |
C Compiler Package for RL78 Family |