blt
Branch if Less Than
blt target_addr
Branches to a target address if the condition 'less than' is true.
Encoding
Binary Layout
10
AA
LK
LI
Operands
-
target
Target Address
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
The instruction checks if the condition 'less than' in the specified CR field is true and branches to the target address if it is.
Operation
if CR[CR field][LT] then
PC <- target_address
Extended Mnemonics
| Extended Mnemonic | Equivalent Instruction |
|---|---|
Programming Note
The blt instruction is commonly used for conditional branching based on comparison results. Ensure that the correct condition register (CR) field is specified, as this directly affects the branch decision. The target address must be properly calculated to avoid incorrect jumps. This instruction operates at user privilege level and does not generate exceptions under normal circumstances.