mirror of
https://github.com/nineties/planckforth
synced 2025-01-14 08:01:27 +01:00
Add shl,shr and sar to C version
This commit is contained in:
parent
2eee79b174
commit
113f6d1225
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@ defbinary("^", xor, ^, uintptr_t)
|
||||||
defbinary("<", lt, <, intptr_t)
|
defbinary("<", lt, <, intptr_t)
|
||||||
defbinary("u", ult, <, uintptr_t)
|
defbinary("u", ult, <, uintptr_t)
|
||||||
defbinary("=", eq, ==, intptr_t)
|
defbinary("=", eq, ==, intptr_t)
|
||||||
|
defbinary("(", shl, <<, uintptr_t)
|
||||||
|
defbinary(")", shr, >>, uintptr_t)
|
||||||
|
defbinary("%", sar, >>, intptr_t)
|
||||||
|
|
||||||
/* File IO */
|
/* File IO */
|
||||||
#define SUCCESS 0
|
#define SUCCESS 0
|
||||||
|
|
Loading…
Reference in a new issue