Download RSC-FORTH User`s Manual

Transcript
APPENDIX B
RSC-FORTH GLOSSARY
This glossary contains the definition of all words in the RSC-FORTH vocabulary.
The definitions are presented in ASCII sort order.
Stack Notation
The first line of each entry shows a symbolic description of the action of the
procedure on the parameter stack. The symbols on the left indicate the order in
which input parameters have been placed on the stack. Three dashes " —— "
indicate the execution point; any parameters left on the stack after execution
are listed on the right. In this notation, the top of the stack is to the
right.
Symbol Definition
addr ,addr1,...
b
c
d,di,...
flag
ff
n,n1,...
u,u1,...
ud,udi,...
tf
memory address
8-bit (with high eight bits zero)
7-bit ASCII character (with high nine bits zero)
32-bit signed double integer, most significant portion with
sign on top of stack
Boolean flag (0=false, non-zero=true)
Boolean false flag (value = 0)
16-bit signed integer number
16-bit unsigned integer number
32-bit unsigned number
Boolean true flag (value = non-zero)
Pronunciation
The natural language pronunciation of FORTH names is given in double quotes (").
Integer Format
Unless otherwise noted, all references to numbers are for 16-bit signed
integers. The high byte of a number is on top of the stack, with the sign in the
left-most bit. For 32-bit signed double numbers, the most significant part (with
the sign) is on top.
All arithmetic is implicitly 16-bit signed integer math, with error and
underflow indication unspecified.
Capitalization
Word names as used within the glossary are conventionally written in upper case
characters. Lower case is used when reference is made to the run-time machine
codes (not directly accessible), e.g., VARIABLE is the user word to create a
variable. Each use of that variable makes use of a code sequence 'variable'
which executes the function of the particular variable.
B-1