Difference between revisions of "R32V2020 Flow control"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) (Created page with "* Flow control operates based on bits in the the Condition Code Register ** CCR bits are set by ALU-Arithmetic-operations|arit...") |
Blwikiadmin (talk | contribs) |
||
Line 1: | Line 1: | ||
− | * Flow control operates based on bits in the the [[ | + | * Flow control operates based on bits in the the [[R32V2020 Condition_Code_Register|Condition Code Register]] |
− | ** CCR bits are set by [[ALU-Arithmetic-operations|arithmetic]] or [[ALU-Logical-operations|logical]] operations | + | ** CCR bits are set by [[R32V2020 ALU-Arithmetic-operations|arithmetic]] or [[R32V2020 ALU-Logical-operations|logical]] operations |
* Flow control is performed by several instructions | * Flow control is performed by several instructions | ||
** BEZ - Branch if the result of the last arithmetic or logical operation was equal to zero | ** BEZ - Branch if the result of the last arithmetic or logical operation was equal to zero |
Latest revision as of 12:08, 10 April 2022
- Flow control operates based on bits in the the Condition Code Register
- CCR bits are set by arithmetic or logical operations
- Flow control is performed by several instructions
- BEZ - Branch if the result of the last arithmetic or logical operation was equal to zero
- BE1 - Branch if the result of the last arithmetic or logical operation was equal to zero
- BCC - Branch if the carry is clear from the result of the last arithmetic or logical operation
- BCC - Branch if overflow is set from the result of the last arithmetic or logical operation
- BCS - Branch if the carry is set from the result of the last arithmetic or logical operation
- BRA - Branch always - Relative to PC?
- JMP - Jump to address pointed to by a register
- JSR - Jump to subroutine
- RTS - Return from subroutine