Difference between revisions of "Instruction Set/carry"
From Mill Computing Wiki
Line 4: | Line 4: | ||
</div> | </div> | ||
− | carry/borrow | + | Gets the carry/borrow flag or condition code of the ganged operation and puts it on the belt. |
+ | <br />This is always available for condition code producing operations, regardless of overflow behavior. | ||
+ | |||
+ | <b>related operations:</b> [[Instruction_Set/eql|eql]], [[Instruction_Set/neq|neq]], [[Instruction_Set/gtr|gtr]], [[Instruction_Set/geq|geq]], [[Instruction_Set/lss|lss]], [[Instruction_Set/leq|leq]], [[Instruction_Set/overflow|overflow]], [[Instruction_Set/fault|fault]] | ||
+ | |||
---- | ---- | ||
<code style="font-size:130%"><b style="color:#050">carry</b>([[Condition_Code|<span style="color:#666">conditioncode</span>]]) → [[Domains#op|op]] r<sub>0</sub></code> | <code style="font-size:130%"><b style="color:#050">carry</b>([[Condition_Code|<span style="color:#666">conditioncode</span>]]) → [[Domains#op|op]] r<sub>0</sub></code> |
Revision as of 17:10, 16 December 2014
Gets the carry/borrow flag or condition code of the ganged operation and puts it on the belt.
This is always available for condition code producing operations, regardless of overflow behavior.
related operations: eql, neq, gtr, geq, lss, leq, overflow, fault
carry(conditioncode) → op r0
operands: like Identity [xx:x]
Core | In Slots | Latencies |
---|---|---|
Tin | E0 E1 | 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 |
Instruction Set, alphabetical, Instruction Set by Category, Instruction Set, sortable, filterable