Chapter 12 List of Machine Language Instructions
246 List of Machine Language Instructions
Conditional BRANCH for LOOP
Mnemonic Meaning Description of operation
LEQ =
ZF=1 If ZF = 1, branch to the top of the loop as specified with SETLB.
If ZF = 0, execute next instruction.
LNE =
ZF=0 If ZF = 0, branch to the top of the loop as specified with SETLB.
If ZF = 1, execute next instruction.
LGT < (signed) If ZF = 0 and NF = VF, branch to the top of the loop as specified with
SETLB.
If ZF = 1 or NF != VF, execute next instruction.
LGE < (signed) If NF = VF, branch to the top of the loop as specified with SETLB.
If NF != VF, execute next instruction.
LLE > (signed) If CF = 1 or ZF = 1, branch to the top of the loop as specified with
SETLB.
IUf CF = 0 and ZF = 0, execute next instruction.
LLT > (signed) If NF = 1 and VF = 1 or NF = 0 and VF = 0, branch to the top of the loop
as specified with SETLB.
If NF = 1 and VF = 0 or NF = 0 and VF = 1, execute next instruction.
LHI < (unsigned) If CF = 0 and ZF = 0, branch to the top of the loop as specified with
SETLB.
If CF = 1 or ZF = 1, execute next instruction.
LCC < (unsigned)
CF=0 If CF = 0, branch to the top of the loop as specified with SETLB.
If CF = 1, execute next instruction.
LLS > (unsigned) If CF = 1 or ZF = 1, branch to the top of the loop as specified with
SETLB.
If CF = 0 and ZF = 0, execute next instruction.
LCS < (unsigned)
CF=1 If CF = 1, branch to the top of the loop as specified with SETLB.
If CF = 0, execute next instruction.
LRA 1Unconditionally branch to the top of the loop as specified with SETLB.
Mnemonic Description of operation
SETLB Store the four bytes following the SETLB and the address of the fifth
byte in the Loop Instruction Register (LIR) and the Instruction Fetch
Address Register (LSR), respectively.