Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Bitwise-operations/LSE64/bitwise-operations.lse64
Normal file
11
Task/Bitwise-operations/LSE64/bitwise-operations.lse64
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
over : 2 pick
|
||||
2dup : over over
|
||||
|
||||
bitwise : \
|
||||
" A=" ,t over ,h sp " B=" ,t dup ,h nl \
|
||||
" A and B=" ,t 2dup & ,h nl \
|
||||
" A or B=" ,t 2dup | ,h nl \
|
||||
" A xor B=" ,t over ^ ,h nl \
|
||||
" not A=" ,t ~ ,h nl
|
||||
|
||||
\ a \ 7 bitwise # hex literals
|
||||
Loading…
Add table
Add a link
Reference in a new issue