RTX-51 Full reentrant stack problem



Has anyone had a problem with the RTX-51 reentrant stack? I am using
the "compact reentrant" declaration for my reentrant functions. The
stack is located in PDATA (< 0x100), yet during a task switch,
RTX-51thinks the stack is located near the task control block in XDATA
and is not saved or restored.

Any help would be appreciated.

.



Relevant Pages

  • Re: RTX-51 Full reentrant stack problem
    ... the "compact reentrant" declaration for my reentrant functions. ... RTX-51thinks the stack is located near the task control block in XDATA ... space located inside XDATA ram page allocated to each stack it by RTX51. ... When the context changes, RTX51 manages reentrant stack pointer to ...
    (comp.arch.embedded)
  • Re: Help Constructing Fictional Cross-Religious Movement
    ... >>>This is an area in which the more sophisticated programmer learns to ... >>>distinguish between reentrant code and serially reusable code. ... stupid to access variables on a stack ... ...
    (rec.arts.sf.composition)