Keil Logo

Preset I/O Ports or Memory Contents

Some applications require that I/O port values or memory contents are set to specific values before program simulation. In the debug Initialization File you may include the commands that are required to preset the simulator. Example:

PORT3 = 0                                      /* set Port3 to zero */
LOAD MEMORY.HEX                                /* load hex file contents to memory */
                                               /* use the SAVE command to save memory contents */
  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.