Branches
Examples above show no branches. For all interpreters, a branch changes the thread pointer (ip
above). As example, a conditional branch when the top-of-stack value is zero might be encoded as follows. Note that &thread
is the location to jump to, not the address of a handler, and so must be skipped (ip++
) whether or not the branch is taken.
Read more about this topic: Threaded Code
Famous quotes containing the word branches:
“We are nothing but ceremony; ceremony carries us away, and we leave the substance of things; we hang on to the branches and abandon the trunk and body.”
—Michel de Montaigne (15331592)
“The duty of government is to leave commerce to its own capital and credit as well as all other branches of business, protecting all in their legal pursuits, granting exclusive privileges to none.”
—Andrew Jackson (17671845)
“I know of no pursuit in which more real and important services can be rendered to any country than by improving its agriculture, its breed of useful animals, and other branches of a husbandmans cares.”
—George Washington (17321799)