Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
6 var a 3 var b
|
||||
|
||||
def tab
|
||||
9 tochar print
|
||||
enddef
|
||||
|
||||
def printBits
|
||||
8 int>bit reverse print nl
|
||||
enddef
|
||||
|
||||
a print " = " print tab a printBits
|
||||
b print " = " print tab b printBits
|
||||
tab "------------------------" print nl
|
||||
"AND = " print tab a b bitand printBits
|
||||
"OR = " print tab a b bitor printBits
|
||||
"XOR = " print tab a b bitxor printBits
|
||||
"NOT = " print tab a bitnot printBits
|
||||
Loading…
Add table
Add a link
Reference in a new issue