Altera Nios II Especificações Página 199

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 269
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 198
Assembler Syntax
blt rA, rB, label
Example
blt r6, r7, top_of_loop
Description
If (signed) rA < (signed) rB, then blt 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 blt. The two
least-significant bits of IMM16 are always zero, because
instruction addresses must be word-aligned.
Exceptions
Misaligned destination address
Instruction Type
I
Instruction Fields
A = Register index of operand rA
B = Register index of operand rB
IMM16 = 16-bit signed immediate value
Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
A B IMM16
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IMM16 0x16
bltu
Instruction
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.
Exceptions
Misaligned destination address
8-16
bltu
NII51017
2015.04.02
Altera Corporation
Instruction Set Reference
Send Feedback
Vista de página 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 268 269

Comentários a estes Manuais

Sem comentários