eForth1
v2.4
|
Functions | |
void | _dump (int b, int u) |
void | _rdump () |
More... | |
void | _header (int lex, const char *seq) |
int | _code (const char *seg, int len,...) |
int | _colon (const char *seg, int len,...) |
int | _immed (const char *seg, int len,...) |
int | _label (int len,...) |
void | _begin (int len,...) |
void | _while (int len,...) |
void | _repeat (int len,...) |
void | _until (int len,...) |
void | _again (int len,...) |
void | _for (int len,...) |
void | _aft (int len,...) |
void | _nxt (int len,...) |
More... | |
void | _if (int len,...) |
void | _else (int len,...) |
void | _then (int len,...) |
void | _dotq (const char *seq) |
Memory Dumper helpers
void _dump | ( | int | b, |
int | u | ||
) |
dump memory between previous word and this
void _rdump | ( | ) |
dump return stack
void _header | ( | int | lex, |
const char * | seq | ||
) |
create a word hearder
create a word header in dictionary
int _code | ( | const char * | seg, |
int | len, | ||
... | |||
) |
create an opcode stream for built-in word
< keep address of current word
address to be kept in local var
int _colon | ( | const char * | seg, |
int | len, | ||
... | |||
) |
create a colon word
int _immed | ( | const char * | seg, |
int | len, | ||
... | |||
) |
create a immediate word
int _label | ( | int | len, |
... | |||
) |
create a label
void _begin | ( | int | len, |
... | |||
) |
Branching Ops
BEGIN-(once)-WHILE-(loop)-UNTIL/REPEAT
BEGIN-AGAIN
void _while | ( | int | len, |
... | |||
) |
BEGIN-(once)–**WHILE**-(loop)-UNTIL/REPEAT
void _repeat | ( | int | len, |
... | |||
) |
BEGIN-(once)-WHILE-(loop)- REPEAT
void _until | ( | int | len, |
... | |||
) |
BEGIN-(once)-WHILE-(loop)–**UNTIL**
void _again | ( | int | len, |
... | |||
) |
BEGIN–**AGAIN**
void _for | ( | int | len, |
... | |||
) |
FOR-(first)-AFT-(2nd,...)-THEN-(every)-NEXT
void _aft | ( | int | len, |
... | |||
) |
FOR-(first)–**AFT**-(2nd,...)-THEN-(every)-NEXT
void _nxt | ( | int | len, |
... | |||
) |
Note: _next() is multi-defined in vm
FOR-(first)-AFT-(2nd,...)-THEN-(every)–**NEXT**
void _if | ( | int | len, |
... | |||
) |
IF-THEN, IF-ELSE-THEN
void _else | ( | int | len, |
... | |||
) |
IF–**ELSE**-THEN
void _then | ( | int | len, |
... | |||
) |
IF-ELSE–**THEN**
void _dotq | ( | const char * | seq | ) |
IO Functions