








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This course includes logic operators, gates, combinational and sequential circuits are studied along with their constituent elements comprising adders, decoders, encoders, multiplexers, as well as latches, flip-flops, counters and registers. This lecture includes: Complements, Binary, Numbers, Significant, Bit, Base, Arithmetic, Rules, Suntraction, Carry, Borrow, Radix, Diminished
Typology: Slides
1 / 14
This page cannot be seen from the preview
Don't miss anything!









15 0 1 0 1 1 0 0 1 0 1 0 0 1 1 1 0 0 MSB LSB 1 1 1 1 1 1 1 1 2 7 2 6 2 5 2 4 2 3 2 2 2 1 2 0
the same rules as for decimal numbers.
remember to use only the r-allowable digits.
Given two binary digits (X,Y), a carry in (Z) we get the following sum (S) and carry (C): Carry in (Z) of 0: Carry in (Z) of 1:
carries
operations. We do subtraction by adding. A โ B = A+ (-B)
๏ The radix complement, called the rโs complement. ๏ The diminished radix complement, called the (r-1)โs complement.
๏ Given a number N in base r having n digits, the (r-1)โs complement of N is defined as: (r n
๏ For binary numbers r = 2 and (r-1) = 1. So, the 1โs complement would be defined as: ( n
๏ The rโs complement of an n-digit number N in base-r is defined as: r n
๏ If you are trying to determine the complement of a value that contains a radix point: ๏ Remove the radix point. ๏ Determine the complement. ๏ Replace the radix point in the same relative position. ๏ The complement of a complement will restore the original number.