Specifications

Table Of Contents
8–22 Altera Corporation
Nios II Processor Reference Handbook October 2007
bltu
bltu
branch if less than unsigned
Operation: if ((unsigned) rA < (unsigned) rB)
then PC
PC + 4 + σ (IMM16)
else PC
PC + 4
Assembler Syntax:
bltu rA, rB, label
Example:
bltu r6, r7, top_of_loop
Description:
If (unsigned) rA < (unsigned) rB, then
bltu transfers program control to the
instruction at label. In the instruction encoding, the offset given by IMM16 is treated as
a signed number of bytes relative to the instruction immediately following
bltu. The
two least-significant bits of IMM16 are always zero, because instruction addresses
must be word-aligned.
Instruction Type: I
Instruction Fields: A = Register index of operand rA
B = Register index of operand rB
MM16 = 16-bit signed immediate value
313029282726252423222120191817161514131211109876543210
A B IMM16 0x36