Bitwise operations: Difference between revisions

Content added Content deleted
m (→‎{{header|Wren}}: Changed to Wren S/H)
(→‎{{header|11l}}: `(-)` -> `~`)
Line 15: Line 15:
print(‘x = ’x)
print(‘x = ’x)
print(‘y = ’y)
print(‘y = ’y)
print(‘NOT x = ’(-)x)
print(‘NOT x = ’(~x))
print(‘x AND y = ’(x [&] y))
print(‘x AND y = ’(x [&] y))
print(‘x OR y = ’(x [|] y))
print(‘x OR y = ’(x [|] y))
Line 36: Line 36:
x ROR y = -2147483646
x ROR y = -2147483646
</pre>
</pre>

=={{header|360 Assembly}}==
=={{header|360 Assembly}}==
<syntaxhighlight lang="360asm">* Bitwise operations 15/02/2017
<syntaxhighlight lang="360asm">* Bitwise operations 15/02/2017