A P P E N D I X D |
Forth Word Reference |
This appendix contains the Forth commands supported by OpenBoot.
The commands are usually listed in the order in which they were introduced in the chapters. Some of the tables in this appendix show commands that are not listed elsewhere in this manual. These additional commands (such as memory mapping or output display primitives, or machine-specific register commands) are also part of the set of words in the OpenBoot implementation of Forth; they are included with relevant groups of commands.
Multiplies 2 unsigned numbers, yielding an unsigned product. |
||
Divides unsigned number by an unsigned number, yielding remainder and quotient. |
Increases n1 if necessary to yield a variable aligned address. |
||
Allocates and maps size bytes of available memory; returns the virtual address. Unmap with free-mem . |
||
Defines a word for forward references or execution vectors using execution token. |
||
Turns off automatic display of the stack before each ok prompt. |
||
Selects device ( keyboard , or device-specifier ) for subsequent input. |
||
Selects device ( screen , or device-specifier ) for subsequent output. |
Returns from the current word. (Cannot be used in counted loops.) |
||
Continues disassembling where the last disassembly left off. |
||
Maps a region of physical addresses; returns the allocated virtual address. Unmaps with free-virtual . |
||
Changes the value stored in any of the above registers.
|
||
Copyright © 2002, Sun Microsystems, Inc. All rights reserved.