Difference between revisions of "Template:Bitwise Command"

From WikiManual
Jump to: navigation, search
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="boilerplate metadata" id="sfd-c" style="margin: 0 5%; padding: 0 7px 7px 7px; background: #FFFCE6; border: 1px solid #aaa; text-align: left; font-size:95%;">
+
{| width="100%" style="background: transparent;"
===[[Bitwise Operators]]:===
+
{{Divred}}
 +
==[[Bitwise Command]]:==
 
<!-- This is part of a template, included in multiple articles like a procedure. Changing this changes more than one articles appearance-->
 
<!-- This is part of a template, included in multiple articles like a procedure. Changing this changes more than one articles appearance-->
  
:[[~]] Compliment
+
{| border="0" style=background:#fff3f3;
:[[&]] AND
+
|-
:[[pipe| |]] OR
+
|[[~]]|| Complement
:[[^]] XOR
+
|-
:[[valinc | ++]] increment stack value
+
|[[&]]|| AND
:[[valdec | --]] deincrement stack value
+
|-
:[[-]] negate stack value
+
|[[pipe| |]]|| OR
:[[Shift left | <<]] bit shift left
+
|-
:[[Shift right| >>]] bit shift right
+
|[[^]]|| XOR
</div>
+
|-
 +
|[[valinc | ++]]|| increment stack value
 +
|-
 +
|[[valdec | --]]|| deincrement stack value
 +
|-
 +
|[[-]]|| negate stack value
 +
|-
 +
|[[Shift left | <<]]|| bit shift left
 +
|-
 +
|[[Shift right| >>]]|| bit shift right
 +
|}
 +
|}

Latest revision as of 01:38, 1 April 2008

Bitwise Command:

~ Complement
& AND
| OR
^ XOR
++ increment stack value
-- deincrement stack value
- negate stack value
<< bit shift left
>> bit shift right