IBM PPC440X5 Manual do Utilizador Página 405

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 590
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 404
slw
Shift Left Word
Preliminary PPC440x5 CPU Core User’s Manual
instrset.fm.
September 12, 2002 Page 405 of 589
slw
Shift Left Word
n (RB)
26:31
r ROTL((RS), n)
if n < 32 then
m
MASK(0, 31 – n)
else
m
32
0
(RA)
r m
The contents of register RS are shifted left by the number of bits specified by the contents of register RB
26:31
.
Bits shifted left out of the most significant bit are lost, and 0-bits fill vacated bit positions on the right. The
result is placed into register RA.
Note that if RB
26
= 1, then the shift amount is 32 bits or more, and thus all bits are shifted out such that
register RA is set to zero.
Registers Altered
•RA
CR[CR0] if Rc contains 1
slw RA, RS, RB Rc=0
slw. RA, RS, RB Rc=1
31 RS RA RB 24 Rc
0 6 11 16 21 31
Vista de página 404
1 2 ... 400 401 402 403 404 405 406 407 408 409 410 ... 589 590

Comentários a estes Manuais

Sem comentários