A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 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