tmp = (signed long long) ACC << src;
tmp = tmp + 0000000080000000h;
if (tmp > (signed long long) 00007FFF00000000h)
else if (tmp < (signed long long) FFFF800000000000h)
tmp = (signed 72bit) Adest << src;
tmp73 = (signed 73bit) tmp + 0000000000080000000h;
if (tmp73 > (signed 73bit) 00000007FFF00000000h)
else if (tmp73 < (signed 73bit) 1FFFFFF800000000000h)
Adest = tmp & FFFFFFFFFF00000000h;
This instruction rounds the value of the accumulator into a word and stores the result in the accumulator. |
The value of the accumulator is shifted to the left by one or two bits as specified by src
The value of the accumulator changes according to the value of 64 bits after the contents have been shifted to the left by one or two bits.
* For the RX Family assembler manufactured by Renesas Electronics Corp., enter 1 or 2 as the immediate value (IMM:1). The value minus 1 will be stored in the instruction code. |