Renesas M32R-FPU Uživatelský manuál Strana 129

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 194
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 128
3
3-91 M32R-FPU Software Manual (Rev.1.01)
RACRAC
DSP function instruction
Round accumulator
[Mnemonic]
RAC
[Function]
Saturation Process
{ signed64bit tmp;
tmp = ( signed64bit ) accumulator << 1;
tmp = tmp + 0x0000 0000 0000 8000;
if( 0x0000 7fff ffff 0000 < tmp )
accumulator = 0x0000 7fff ffff 0000;
else if( tmp < 0xffff 8000 0000 0000 )
accumulator = 0xffff 8000 0000 0000;
else
accumulator = tmp & 0xffff ffff ffff 0000; }
[Description]
RAC rounds the contents in the accumulator to word size and stores the result in the accumu-
lator.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
RAC00000101 00001001
INSTRUCTIONS
3.2 Instruction description
Zobrazit stránku 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 193 194

Komentáře k této Příručce

Žádné komentáře