30.12.2013 Views

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

264 CHAPTER 6. T-KERNEL/DS FUNCTIONS<br />

The stack area extends from the stack pointer initial value toward the low addresses for the number of<br />

bytes designated as the stack size.<br />

istack − stksz ≤ user stack area < istack<br />

isstack − sstksz ≤ system stack area < isstack<br />

Note that the stack pointer initial value (istack, isstack) is not the same as its current position. The<br />

stack area may be used even before a task is started. Calling td get reg gets the stack pointer current<br />

position.<br />

Copyright c○ 2002, 2003 by T-Engine Forum<br />

T-<strong>Kernel</strong> <strong>1.B0.02</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!