Why do some processors provide support for double?precision shifting operations? What other doubleprecision operations are supported by processors?

What will be an ideal response?

Double precision shifting allows you to shift over two registers. In a 32?bit machine, this means shifting over 64 bits. Many processors have some form of add or subtract instruction that allows you to add two numbers and include the carry out or borrow from a previous operation. Multiplication creates a double?length result.
Normally, half is lost. However, some processors yield a double?precision operation that deposits the double
precision result in two registers. Division is the inverse of multiplication. Some processors allow you to use a
register pair to hold, say, a 64 bit value that you can divide by a 32?bit value to yield a 32?bit result and a 32?bit
remainder.

Computer Science & Information Technology

You might also like to view...

The selection sort continues until ______ of the n items in an array have been swapped.

a. n/2 b. n – 2 c. n – 1 d. n

Computer Science & Information Technology

Find and correct the error in each of the following program segments:

``` int[] b = new int[10]; 2 for (int i = 0; i <= b.length; i++) 3 b[i] = 1; ```

Computer Science & Information Technology