ARM Technical Support Knowledge Articles

STACK REQUIREMENTS

Applies to: MON51 Target Monitor

Answer


Information in this article applies to:


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

Article last edited on: 2001-02-28 00:00:00

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential