Jump to content
IGNORED

You know your Forth app has a bug when..


JonnyBritish

Recommended Posts

It runs perfectly but at the end your stack still has values left over :-)

 

Just whistle as if nothing ever happend and type "SP!"...

 

Don't do that in TF!! That only works in TI Forth. TF's SP! requires an address on the stack or your system will likely go south. Usually, you will want the stack to start at S0 , so you would type:

S0 SP!

But, you can put the stack anywhere you want, to allow for a deeper stack. Of course, you need to know, at that point, where in memory there is enough free space.

 

...lee

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...