Keil Logo

OH166: SKIPPING UNUSED ADDRESS RANGE

Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.01

QUESTION

My program includes large empty areas in the address space. How can I avoid these blank spaces in the BINARY file that I create from the HEX file?

ANSWER

In the options for OH166, you can specify the address range of the code you want to include in the HEX file. Your command line would look like:

OH166 mycode H167 RANGE(0x010000-0x01FFFF)

Then, when you create the BINARY file, the unused area (from 0x000000 to 0x00FFFF) won't be included.

MORE INFORMATION

Last Reviewed: Sunday, October 29, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.