Keil Logo

MON51: MON51 Stack Requirements


Information in this article applies to:

  • C51
  • Keil MON51 monitor

QUESTION

What are the worst-case stack requirements of the Keil MON51 monitor?

ANSWER

MON51 uses at most 2 bytes of stack space.

When you set a breakpoint, the monitor actually replaces the instruction where you have set the breakpoint with an LJMP into the monitor breakpoint processor. The monitor then swaps internal DATA memory out to XDATA. The monitor is then free to use as much DATA memory as it needs without affecting the memory used by your target program. When the monitor is ready to start running your target program again, the DATA is swapped back in.

SEE ALSO


Last Reviewed: Thursday, February 25, 2021


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.