Data update
This commit is contained in:
parent
ed705008a8
commit
0df55f9f24
2196 changed files with 32999 additions and 3075 deletions
11
Task/Bitwise-operations/S-BASIC/bitwise-operations.basic
Normal file
11
Task/Bitwise-operations/S-BASIC/bitwise-operations.basic
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
var a, b = integer
|
||||
a = 10
|
||||
b = 2
|
||||
print "a ="; a; tab(16); hex$(a)
|
||||
print "b ="; b; tab(16); hex$(b)
|
||||
print "a and b ="; a and b; tab(16); hex$(a and b)
|
||||
print "a or b ="; a or b; tab(16); hex$(a or b)
|
||||
print "a xor b ="; a xor b; tab(16); hex$(a xor b)
|
||||
print "not a ="; not a; tab(16); hex$(not a)
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue