• I wrote the solution to the floating point format homework this morning. To do this I utilized some methods of the wrapper class Integer. Please look up the methods Integer.numberOfLeadingZeros(int i) and Integer.highestOneBit(int i).
    The first method returns the number of leading zeros in a binary integer value which can be used to determine the number of bits in the binary integer value. The second method returns the argument value with all but the leftmost 1 bit set to zero. You can use this to remove the hidden bit (for example).
  • Here are some Visual C++ programs that exhibit some examples of binary representation of integer and floating point data. (Right click and select Save Link As....) Then unzip the file to get the Visual C++ directory structure.
    1. FirstC.zip.
    2. DataRep.zip.
    3. BinStr.zip.
  • Here are some digital logic simulators. They are also zip files (follow directions above and below).
    1. CircuitMaker.zip.
    2. LogicSim.zip.
    3. MultiMedia Logic.zip.
  • You can download (right click and select Save Link As...) the Multimedia Logic circuit designer/simulator to explore circuit design fundamentals.
  • You can run (left click) or download (right click and select Save Link As...) the ARCTools simulator to explore assembler language programming and execution.
  • You can view (left click) or download (right click and select Save Link As...) the SPARC Architecture Manual V8.pdf documentation file.