mirror of
https://github.com/nineties/planckforth
synced 2024-12-27 21:58:35 +01:00
Change table style
This commit is contained in:
parent
a6d2b4aa06
commit
0032f10502
1 changed files with 18 additions and 18 deletions
36
README.md
36
README.md
|
@ -11,21 +11,21 @@ $ cat helloworld.fs | ./plank
|
|||
|
||||
# Builtin Words
|
||||
|
||||
| code | name | semantics |
|
||||
|:----:|:---------|:------------------------------------------|
|
||||
| Q | quit | ( -- ) Exit the process |
|
||||
| C | cell | ( -- n ) The size of Cells |
|
||||
| h | here | ( -- addr ) The address of 'here' cell |
|
||||
| l | latest | ( -- addr ) The address of 'latest' cell |
|
||||
| k | key | ( -- n ) Read character |
|
||||
| t | type | ( n -- ) Print character |
|
||||
| j | jump | ( -- ) Unconditional branch. |
|
||||
| J | 0jump | ( a -- ) Jump if a == 0. |
|
||||
| f | find | ( c -- xt ) Get execution token of c |
|
||||
| x | execute | ( xt -- ... ) Run the execution token |
|
||||
| @ | fetch | ( addr -- a ) Load value from addr |
|
||||
| ! | store | ( a addr -- ) Store value to addr |
|
||||
| ? | cfetch | ( addr -- c ) Load byte from addr |
|
||||
| $ | cstore | ( c addr -- ) Store byte to addr |
|
||||
| d | dfetch | ( -- addr ) Get data stack pointer |
|
||||
| D | dstore | ( addr -- ) Set data stack pointer |
|
||||
| code | name | stack effect | semantics |
|
||||
|:----:|:---------|:--------------|:-------------------------------|
|
||||
| Q | quit | ( -- ) | Exit the process |
|
||||
| C | cell | ( -- n ) | The size of Cells |
|
||||
| h | here | ( -- addr ) | The address of 'here' cell |
|
||||
| l | latest | ( -- addr ) | The address of 'latest' cell |
|
||||
| k | key | ( -- n ) | Read character |
|
||||
| t | type | ( n -- ) | Print character |
|
||||
| j | jump | ( -- ) | Unconditional branch. |
|
||||
| J | 0jump | ( a -- ) | Jump if a == 0. |
|
||||
| f | find | ( c -- xt ) | Get execution token of c |
|
||||
| x | execute | ( xt -- ... ) | Run the execution token |
|
||||
| @ | fetch | ( addr -- a ) | Load value from addr |
|
||||
| ! | store | ( a addr -- ) | Store value to addr |
|
||||
| ? | cfetch | ( addr -- c ) | Load byte from addr |
|
||||
| $ | cstore | ( c addr -- ) | Store byte to addr |
|
||||
| d | dfetch | ( -- addr ) | Get data stack pointer |
|
||||
| D | dstore | ( addr -- ) | Set data stack pointer |
|
||||
|
|
Loading…
Reference in a new issue