Jump to content

Bitwise operations: Difference between revisions

→‎{{header|11l}}: `(-)` -> `~`
m (→‎{{header|Wren}}: Changed to Wren S/H)
(→‎{{header|11l}}: `(-)` -> `~`)
Line 15:
print(‘x = ’x)
print(‘y = ’y)
print(‘NOT x = ’(-)~x))
print(‘x AND y = ’(x [&] y))
print(‘x OR y = ’(x [|] y))
Line 36:
x ROR y = -2147483646
</pre>
 
=={{header|360 Assembly}}==
<syntaxhighlight lang="360asm">* Bitwise operations 15/02/2017
1,481

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.