Home
Search For Notes
All Search Criteria Are Optional
After:Before:
In Course:
Contains String:
0 1 2 3 4 5 6 7 8
Date tag: January 18 2010 5:49:7
To be more precise, by AND OR and NOT we mean the following functions. It can be easily checked that AND and OR are associative.
Date tag: January 18 2010 5:42:53
Click here to add notes.
Date tag: January 18 2010 5:39:43
Click here to add notes.
Date tag: January 18 2010 5:39:27
Think of 0 as false and 1 as true.
Date tag: January 18 2010 5:37:18
Boolean algebra and logic gates. To begin we will look at combinations circuits. These are circuits that depend only on the current input value to decide output.
Date tag: January 15 2010 6:14:37
Ch
Date tag: January 15 2010 6:12:1
If more parity bits are used, and if say only one bit is likely to be corrupted in a given word. It may be possible to determine which bit was corrupted, and therefore to correct the error. Suppose we start with 5 data bits and 3 parity bits. The idea is to use 3 parity bits to represent the position of the corrupted bit.
Date tag: January 15 2010 6:4:3
If parity changes, then some odd number of bits have been corrupted. This is called an error detecting code.
Date tag: January 15 2010 6:0:43
Error detecting code: Bits can be corrupted by noise, changing a 0 to a 1 or vice versa. We can add an extra parity bit. So that, for example, every word has an even number of ones called even parity or every word has an odd number of ones which is odd parity.
Date tag: January 15 2010 5:57:7
Given an n bit Gray code we can construct an n plus one bit by reflection.
Date tag: January 15 2010 5:57:1
Gray code is a code in which only 1 bit changes when going from one word to the next.
Date tag: January 15 2010 5:45:36
Click here to add notes.
Date tag: January 15 2010 5:39:2
BCD is not self complementing
Date tag: January 15 2010 5:38:51
Click here to add notes.
Date tag: January 15 2010 5:34:31
BCD arithmetic: To represent signed numbers, use signed 10s complement. Add a sign digit of 0000 for non negative numbers...
Date tag: January 13 2010 6:20:1
Click here to add notes.
Date tag: January 13 2010 6:17:8
To perform addition add BCD digits as if they were binary numbers... if the result is one of the unsigned 4 bit combinations add six to it in binary.
Date tag: January 13 2010 6:16:41
Click here to add notes.
Date tag: January 13 2010 6:9:52
Signed rs complement: above can be generalized to signed rs complement, where the sign bits are 0 and r minus 1.
Date tag: January 13 2010 6:9:38
Click here to add notes.
Date tag: January 13 2010 6:5:31
Click here to add notes.
Date tag: January 13 2010 6:5:25
Click here to add notes.
Date tag: January 13 2010 5:58:22
Click here to add notes.
Date tag: January 13 2010 5:49:14
Click here to add notes.
Date tag: January 13 2010 5:43:27
Overflow occurs if and only if adding two number of the same sign gives a number of the other sign.
Date tag: January 13 2010 5:43:18
Addition of signed numbers: Signed 2s complement number can be added in the same way as unsigned 2s complement numbers treating the sign bit like any other... and discarding end carries. We need to watch for overflows which happen when the result lies outside the range of number that can be represented with the bits we have.
Date tag: January 13 2010 5:39:45
Note: To change sign, take the appropriate complement, treating the sign bit like any other. Signed 2s complement is most convenient for computer arithmetic. Note: in n bit signed 2s complement, numbers range from ...
Date tag: January 13 2010 5:28:11
Signed binary numbers
Date tag: January 12 2010 8:21:53
Click here to add notes.
Date tag: January 12 2010 8:17:48
Click here to add notes.
Date tag: January 12 2010 8:4:28
Click here to add notes.
Date tag: January 12 2010 7:59:47
Click here to add notes.
Date tag: January 12 2010 7:57:32
Click here to add notes.
Date tag: January 12 2010 7:50:29
Click here to add notes.
Date tag: January 12 2010 7:43:57
Click here to add notes.
Date tag: January 12 2010 7:38:36
Click here to add notes.
Date tag: January 12 2010 7:36:10
Click here to add notes.
Date tag: January 12 2010 7:30:16
Click here to add notes.
Date tag: January 11 2010 6:20:54
To change the sign in any of the signed number representations, take the appropriate complement, treating the sign bit like any other. An exception is negative two to the power of n minus one in signed 2s complement its negative is too large.
Date tag: January 11 2010 6:17:28
Click here to add notes.
Date tag: January 11 2010 6:14:51
1.6 Signed Binary Numbers: Add another bit on the left . If this sign bit is 0, the number is positive. If it s 1, the number is negative.
Date tag: January 11 2010 6:10:27
We can generalize the 2s complement to the rs complement or radix complement. For either type of complement, the complement of the complement is the original number.
Date tag: January 11 2010 6:2:40
Click here to add notes.
Date tag: January 11 2010 6:2:17
Click here to add notes.
Date tag: January 11 2010 6:2:11
To subtract using the ones complement instead, just add the end carry to the result. If M is greater than or equal to N, this gives the same result as before. If M is less than N, this gives one less than the earlier result i.e. the ones complement of M minus M View page 13 in the textbook for black text on white background...
Date tag: January 11 2010 5:50:21
7 bit adder circuit
Date tag: January 11 2010 5:47:0
Click here to add notes.
Date tag: January 11 2010 5:46:49
Click here to add notes.
Date tag: January 11 2010 5:45:42
Example of subtraction in binary.
Date tag: January 11 2010 5:35:22
Binary Subtraction using 2s complement: Add the minuend M and the 2s complement of the subtraend N. Discard and end carry. If an end carry is generated, the difference M minus N is nonnegative and the result of the calculation is M minus N in binary. If no end carry is generated the difference M minus N is negative, and the result of the calculation is the 2s complement of N minus M.
0 1 2 3 4 5 6 7 8