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


-2ROT Search:

In Programming and Stack Management Words in 32-bit library

Word Name: -2ROT
Type: Standard word
Data Stack Signature: d:x d:y d:z -- d:z d:x d:y
Return Stack Signature: --
Availability: V1.2
Description:

Rotates the top 3 double values on the stack to the right.

Example:

1. 2. 3. -2ROT .DS

(displays 3 1 2)

Comment:

The top of the stack (prior to the instruction being executed) is placed at the bottom.

See Also: -ROT  ROT  2ROT 

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