mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
Merge pull request #10 from nineties/fix_docs_for_shift_operations
Fix README and comments about shift operations
This commit is contained in:
commit
629af82f59
2 changed files with 6 additions and 6 deletions
|
@ -84,9 +84,9 @@ $ ./planck < bootstrap.fs runtests.fs
|
|||
| < | less | ( a b -- c ) | c = (a < b) |
|
||||
| u | uless | ( a b -- c ) | c = (a unsigned< b) |
|
||||
| = | equal | ( a b -- c ) | c = (a == b) |
|
||||
| { | shl | ( a b -- c ) | c = a << b (logical) |
|
||||
| } | shr | ( a b -- c ) | c = a >> b (logical) |
|
||||
| ) | sar | ( a b -- c ) | c = a >> b (arithmetic) |
|
||||
| ( | shl | ( a b -- c ) | c = a << b (logical) |
|
||||
| ) | shr | ( a b -- c ) | c = a >> b (logical) |
|
||||
| % | sar | ( a b -- c ) | c = a >> b (arithmetic) |
|
||||
| v | argv | ( -- a-addr u ) | argv and argc |
|
||||
| V | version | ( -- c-addr ) | Runtime infomation string |
|
||||
|
||||
|
|
|
@ -56,9 +56,9 @@ l!
|
|||
\ '<' ( a b -- c ) c = (a < b)
|
||||
\ 'u' ( a b -- c ) c = (a unsigned< b)
|
||||
\ '=' ( a b -- c ) c = (a == b)
|
||||
\ '{' ( a b -- c ) c = a << b (logical)
|
||||
\ '}' ( a b -- c ) c = a >> b (logical)
|
||||
\ ')' ( a b -- c ) c = a >> b (arithmetic)
|
||||
\ '(' ( a b -- c ) c = a << b (logical)
|
||||
\ ')' ( a b -- c ) c = a >> b (logical)
|
||||
\ '%' ( a b -- c ) c = a >> b (arithmetic)
|
||||
\ 'v' ( -- a-addr u ) argv and argc
|
||||
\ 'V' ( -- c-addr ) Runtime information string
|
||||
|
||||
|
|
Loading…
Reference in a new issue