Binary Arithmetic and Logic Operations, Exercises of Digital Logic Design and Programming

Examples of binary arithmetic and logic operations, including addition, subtraction, multiplication, and division, as well as logical and, or, and not gates. It also includes conversions between binary and decimal numbers.

Typology: Exercises

2011/2012

Uploaded on 07/20/2012

annapurna
annapurna ๐Ÿ‡ฎ๐Ÿ‡ณ

4.4

(21)

91 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
79
6-3.
6-9.
6-15.
6-18.
a) A = 13, D = 32 b) A = 18, D = 64 c) A = 25, D = 32 d) A = 32, D = 8
(633)10 = (10 0111 1001)2, (2731)10 = (0000 1010 1010 1011)2
a) 32 b) 20,15 c) 5, 5โ€“toโ€“32
PTERM INPUTS OUTPUTS
XYZABCD
Y Z 1 โ€“1111โ€“1
X Y 2 11โ€“1โ€“โ€“โ€“
X Y 3 01โ€“โ€“111
X Y Z 4 100โ€“โ€“11
PTERM INPUTS
ABCD
A11โ€“-โ€“
BC 2 โ€“11โ€“
BD 3 โ€“ 1- - 1
BC 4 โ€“01โ€“
BD5โ€“0-1
BC D6 โ€“100
CD 7 โ€“โ€“11
C D 8 โ€“โ€“00
- - โ€“โ€“โ€“โ€“
D9 โ€“โ€“โ€“0
- - โ€“โ€“โ€“โ€“
- - โ€“โ€“โ€“โ€“
docsity.com

Partial preview of the text

Download Binary Arithmetic and Logic Operations and more Exercises Digital Logic Design and Programming in PDF only on Docsity!

a) A = 13, D = 32 b) A = 18, D = 64 c) A = 25, D = 32 d) A = 32, D = 8

a) 32 b) 20,15 c) 5, 5โ€“toโ€“

PTERM INPUTS OUTPUTS

X Y Z A B C D

Y Z 1 โ€“ 1 1 1 1 โ€“ 1

X Y 2 1 1 โ€“ 1 โ€“ โ€“ โ€“

X Y 3 0 1 โ€“ โ€“ 1 1 1

X Y Z 4 1 0 0 โ€“ โ€“ 1 1

PTERM INPUTS

A B C D

A 1 1 โ€“ - โ€“

BC 2 โ€“ 1 1 โ€“

BD 3 โ€“ 1- - 1

BC 4 โ€“ 0 1 โ€“

BD 5 โ€“ 0 - 1

BC D 6 โ€“ 1 0 0

CD 7 โ€“ โ€“ 1 1

C D 8 โ€“ โ€“ 0 0

D 9 โ€“ โ€“ โ€“ 0

docsity.com