Instruction set architecture: Difference between revisions

Content deleted Content added
Control flow operations: add predication link on control flow section, surprised it is missing
Instruction encoding: no - branches can have predication as well, such as the SuperH bf and bt instructions.
Line 92:
 
<!-- A conditional branch that falls though may still have other effects, e.g., decrementing a count register. -->
Conditional instructions often have a predicate field—a few bits that encode the specific condition to cause an operation to be performed rather than not performed. For example, a conditional branch instruction will transfer control if the condition is true, so that execution proceeds to a different part of the program, and not transfer control if the condition is false, so that execution continues sequentially. Some instruction sets also have conditional moves, so that the move will be executed, and the data stored in the target ___location, if the condition is true, and not executed, and the target ___location not modified, if the condition is false. Similarly, IBM [[z/Architecture]] has a conditional store instruction. A few instruction sets include a predicate field in every instruction. Having predicates for non-branchon instructions is called [[predication (computer architecture)|predication]].
 
====Number of operands====