General Information for CDA-4101
-
General course info
-
Exam Information will be posted here prior to exams
-
Midterm: 5/25
-
Chapter 4 will not be on the midterm. Check the daily topics for a list of
topics that were covered.
-
Final: Thursday 6/17.
-
Assignments will be posted here
-
Extra Information
Running the Hamming Code Program
I have written a program that will allow you to calculate a Hamming codeword
using single-bit error correction with even-parity check bits. Run my
CGI Hamming Program. This should work from any
browser, including a text based browser like lynx.
It is also possible to run the program the old-fashioned way: log onto SOLIX!
When you log onto SOLIX, change to the directory
~downeyt/public_html/cop2400
and from there run the hamming program by typing
hamming_code
from the prompt.
Back to Index
-
It is not possible to use the N bit alone to determine the relative order
of unsigned numbers. Try to create the following examples:
-
Perform A - B where the result is negative, and B > A as unsigned numbers
-
Perform C - B where the result is positive, and B > C as unsigned numbers.
Use the same value for B as in the first example.
-
The C bit is implemented as I had described originally. It is set as if the
subtraction were done without using the 2's complement of the number. Perform
the subtraction as you would normally (not with 2's complement), if you need
to borrow to complete the subtraction, then the carry bit will be set. This
raises the question of how this would be implemented in hardware. One solution
would be to negate the carry-out of the highest ALU whenever the ALU forms
the 2's complement of the A bus.
Back to Index
You are visitor number to visit this
page since 10/4/96.