OpenBoot 3.x Quick Reference

Dictionary Compilation Commands

Table 1-29 Dictionary Compilation Commands

,

( n -- )

Place a number in the dictionary. 

c,

( byte -- )

Place a byte in the dictionary. 

w,

( word -- )

Place a 16-bit number in the dictionary. 

l,

( long -- )

Place a 32-bit number in the dictionary. 

allot

( n -- )

Allocate n bytes in the dictionary. 

forget name

( -- )

Remove word from dictionary and all subsequent words. 

here

( -- adr )

Address of top of dictionary. 

to name

( n -- )

Install a new action in a defer word or value.

patch new-word old-word word-to-patch

( -- )

Replace old-word with new-word in word-to-patch.

(patch)

( new-n old-n xt -- )

Replace old-n with new-n in word indicated by xt.