Searching \ for 'stack check in mplab simulator (5.62)' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=mplab
Search entire site for: 'stack check in mplab simulator (5.62)'.

Truncated match.
PICList Thread
'stack check in mplab simulator (5.62)'
2002\09\11@011544 by Martin Buehler

flavicon
face
i simulate my code for a 16f876 using the mplab simulator.
this chip has 8 hardware stack levels. so i think the simulator does
automatically check, that i never use more than 8 levels.
for system integration, i would like to work with the icd, which uses 1
stack level itself.
how can i reduce the stack size for the simulation to 7, so that i can see

in the simulation, if i will get problems, using the icd?
i could not find a file, where i can define the number of stack levels.
tino

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2002\09\11@021852 by Scott Dattalo

face
flavicon
face
On Wed, 11 Sep 2002, Martin Buehler wrote:

> i simulate my code for a 16f876 using the mplab simulator.
> this chip has 8 hardware stack levels. so i think the simulator does
> automatically check, that i never use more than 8 levels.
> for system integration, i would like to work with the icd, which uses 1
> stack level itself.
> how can i reduce the stack size for the simulation to 7, so that i can see
>
> in the simulation, if i will get problems, using the icd?
> i could not find a file, where i can define the number of stack levels.
> tino

   org  0

ifdef   SIMULATING_ONLY
   call  $+1             ; push a bogus value onto the stack.
endif
   bra   start


Is that what you're looking for?

Scott

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...