Submitted by: Submitted by Yankees888
Views: 346
Words: 259
Pages: 2
Category: Science and Technology
Date Submitted: 06/18/2012 05:51 PM
Assume that you have a byte in a memory address (xxxxxxxx) and you want to force the four rightmost bits to the one value (xxxx1111). How do you do that? Please show your work.
Mask: (xxxx1111)
(xxxxxxxx) OR (xxxx1111) = (xxxx1111)
Assume that you have a byte in a memory address (01101000 which is the ASCII code for “h”) and you want to change that to an upper case H. Please explain what you what you do and how you would do it. Please show your work
First find the binary for H which is 01001000 then take 01101000 and unset the third bit with AND.
Mask= 11011111
(01101000) AND (11011111) = (01001000) = H
Please explain the concept of floating point format and normalization.
Floating Point format is a way to represent numbers that allows the decimal point to float. Floating point representation is made up of a sign, shifter, and fixed-point number. Essentially, floating point takes a very large or small number and makes the written form smaller while maintaining the current value.
Normalization is the manipulation of a decimal or binary number to have only one non-zero digit to the left of a decimal point. Normalization helps to keep numbers easy to read and understand.
Please normalize the following binary numbers:
10101010.101 = + 27 x 1.0101010101
0.00000000110011 = + 2-9 x 1.10011
Who is Gordon Moore and what is Moore’s Law?
What is a logic gate?
A logic gate is an electronic device that normally takes 1 to N inputs and creates one output.