Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,9 @@
|
|||
"a=" "b=" [ write readln string>number ] bi@
|
||||
{
|
||||
[ bitand "a AND b: " write . ]
|
||||
[ bitor "a OR b: " write . ]
|
||||
[ bitxor "a XOR b: " write . ]
|
||||
[ drop bitnot "NOT a: " write . ]
|
||||
[ abs shift "a asl b: " write . ]
|
||||
[ neg shift "a asr b: " write . ]
|
||||
} 2cleave
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
a=255
|
||||
b=5
|
||||
a AND b: 5
|
||||
a OR b: 255
|
||||
a XOR b: 250
|
||||
NOT a: -256
|
||||
a asl b: 8160
|
||||
a asr b: 7
|
||||
Loading…
Add table
Add a link
Reference in a new issue