Add files via upload
This commit is contained in:
parent
64c6352265
commit
35131ba393
90 changed files with 1738 additions and 0 deletions
9
Examples/Core/Operators/bitwise.bas
Normal file
9
Examples/Core/Operators/bitwise.bas
Normal file
|
@ -0,0 +1,9 @@
|
|||
SUB MAIN
|
||||
PRINT "0x0ffff & 0x00ff = " + STRING(0x0ffff & 0x00ff)
|
||||
PRINT "0xff00 | 0x00ff = " + STRING(0xff00 | 0x00ff)
|
||||
PRINT "0xff00 ^ 0x00ff = " + STRING(0xff00 ^ 0x00ff)
|
||||
PRINT "~0xffffffff = " + STRING(~0xffffffff)
|
||||
PRINT "~0xfffffffe = " + STRING(~0xfffffffe)
|
||||
PRINT "~0xffffffffffffffffL = " + STRING(~0xffffffffffffffffL)
|
||||
PRINT "~0xfffffffffffffffeL = " + STRING(~0xfffffffffffffffeL)
|
||||
END SUB
|
Loading…
Add table
Add a link
Reference in a new issue