Difference between revisions of "Instruction Set/set"

From Mill Computing Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:set}} <div style="font-size:80%;line-height:90%;margin-bottom:2em">realizing  exu stream  exu block&...")
 
Line 4:Line 4:
 
</div>
 
</div>
  
bit set
+
Set a single indexed bit.
 +
 
 +
**related operations:** [[Instruction_Set/clear|clear], [[Instruction_Set/test|test]
 +
 
 
----
 
----
 
<code style="font-size:130%"><b style="color:#050">set</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</span>, <i><span style="color:#009">[[Immediates#bit|bit]]</span> <span title="bit number">bit</span></i>) &#8594; [[Domains#op|op]] r<sub>0</sub></code>
 
<code style="font-size:130%"><b style="color:#050">set</b>(<span style="color:#009">[[Domains#op|op]]</span> <span title="belt operand from ops window">x</span>, <i><span style="color:#009">[[Immediates#bit|bit]]</span> <span title="bit number">bit</span></i>) &#8594; [[Domains#op|op]] r<sub>0</sub></code>

Revision as of 18:46, 26 November 2014

realizing  exu stream  exu block  compute phase   operation   in the logical value domain  

native on: all

Set a single indexed bit.

    • related operations:** [[Instruction_Set/clear|clear], [[Instruction_Set/test|test]

set(op x, bit bit) → op r0

operands: like Shift [xi:x]


Core In Slots Latencies
Tin E0 1
Copper E0 E1 1
Silver E0 E1 E2 E3 1
Gold E0 E1 E2 E3 E4 E5 E6 E7 1
Decimal8 E0 E1 E2 E3 1
Decimal16 E0 E1 E2 E3 1

set(op x, n bit) → op r0

operands: like Shift [xi:x]


Core In Slots Latencies
Tin E0 1
Copper E0 E1 1
Silver E0 E1 E2 E3 1
Gold E0 E1 E2 E3 E4 E5 E6 E7 1
Decimal8 E0 E1 E2 E3 1
Decimal16 E0 E1 E2 E3 1