<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


S0 Search:

In Built-in Constants in TurboForth Kernal

Word Name: S0
Type: Standard word
Data Stack Signature: -- address
Return Stack Signature: --
Availability: V1.0  V1.1  V1.2
Description:

Returns beginning address of data stack. Used to reset data stack.

Example:

none

Comment:

Pre-decrement is used on all data stack pushes. Thus, if the dats stack is set to (for example) $B000, then the first value pushed onto the stack shall be pushed to address >AFFE.

See Also: SP!  SP@ 

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>