Renesas M32R-FPU Manual do Utilizador Página 131

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 194
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 130
3
3-93 M32R-FPU Software Manual (Rev.1.01)
RACHRACH
DSP function instruction
Round accumulator halfword
[Mnemonic]
RACH
[Function]
Saturation Process
{ signed64bit tmp;
tmp = ( signed64bit ) accumulator << 1;
tmp = tmp + 0x0000 0000 8000 0000;
if( 0x0000 7fff 0000 0000 < tmp )
accumulator = 0x0000 7fff 0000 0000;
else if( tmp < 0xffff 8000 0000 0000 )
accumulator = 0xffff 8000 0000 0000;
else
accumulator = tmp & 0xffff ffff 0000 0000; }
[Description]
RACH rounds the contents in the accumulator to halfword size and stores the result in the
accumulator.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
RACH00000101 00001000
INSTRUCTIONS
3.2 Instruction description
Vista de página 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 193 194

Comentários a estes Manuais

Sem comentários