What is the meaning of sign?extension in the context of copying data from one location to another?
What will be an ideal response?
Sometimes data is copied from part of a register to a larger part of a register. Typically, 16 bits might be copied into a 32?bit register (or 8 bits into a 64?bit register, etc.). What happens to the unused bits in the larger register? They could remain what they were. They could be set to zero. However, many systems sign?extend the number being copied to the full size of the destination register by treating it as a two’s complement value. For example, a 16?bit two’s complement value is converted to 32 bits by replicating the sign bit. The value 0000010101110011 would be converted to 0000000000000000000010101110011. Similarly 1000010101110011 would be converted to 11111111111111111000010101110011.
You might also like to view...
A __________ is an example of a NORMA system.
a) network of computers b) system with a large number of processors that share physical memory. Access to memory modules local to a processor is much faster than access to global memory modules. c) distributed system d) dual-processor personal computer
You easily can convert from one color mode to another using the ____ command on the Image menu.
a. Change b. Convert c. Grayscale d. Mode
When you assign a NULL value to a variable, you ensure that the variable does not contain any data.
Answer the following statement true (T) or false (F)
InDesign is an unsurpassed layout program for print and for the web, but not currently for mobile devices like the iPad.
Answer the following statement true (T) or false (F)