8
Binary Codes Resources Chapter No. 1 Digital Logic and Computer Design M Morris Mano PEARSON Binary Coded Decimal (BCD) Decimal/Binary Conversion Technique

Binary Codes Binary Coded Decimal (BCD) · Decimal/binary conversion ... Convert the binary number 11000110 to Gray code. ... 220 221 223 HEX C4 DB DE SYMBOL DEC 224 225 226 227

Embed Size (px)

Citation preview

Page 1: Binary Codes Binary Coded Decimal (BCD) · Decimal/binary conversion ... Convert the binary number 11000110 to Gray code. ... 220 221 223 HEX C4 DB DE SYMBOL DEC 224 225 226 227

Binary Codes

Resources

Chapter No. 1

Digital Logic and Computer Design M Morris Mano

PEARSON

Binary Coded Decimal (BCD)

Decimal/Binary Conversion

Technique

Page 2: Binary Codes Binary Coded Decimal (BCD) · Decimal/binary conversion ... Convert the binary number 11000110 to Gray code. ... 220 221 223 HEX C4 DB DE SYMBOL DEC 224 225 226 227

Examples

Questions!

Any questions so far?

BCD Addition

Examples (Valid Cases)

Page 3: Binary Codes Binary Coded Decimal (BCD) · Decimal/binary conversion ... Convert the binary number 11000110 to Gray code. ... 220 221 223 HEX C4 DB DE SYMBOL DEC 224 225 226 227

Examples (Invalid cases) 1/4

Examples (Invalid cases) 2/4

Examples (Invalid cases) 3/4

Examples (Invalid cases) 4/4

Page 4: Binary Codes Binary Coded Decimal (BCD) · Decimal/binary conversion ... Convert the binary number 11000110 to Gray code. ... 220 221 223 HEX C4 DB DE SYMBOL DEC 224 225 226 227

Questions!

Any questions so far?

Digital Codes

Gray codes

Binary vs Gray code

Page 5: Binary Codes Binary Coded Decimal (BCD) · Decimal/binary conversion ... Convert the binary number 11000110 to Gray code. ... 220 221 223 HEX C4 DB DE SYMBOL DEC 224 225 226 227

Binary to Gray code conversion

Example

Questions!

Any questions so far?

Gray code to Binary conversion

Page 6: Binary Codes Binary Coded Decimal (BCD) · Decimal/binary conversion ... Convert the binary number 11000110 to Gray code. ... 220 221 223 HEX C4 DB DE SYMBOL DEC 224 225 226 227

Example

Class task

Solution

What are ASCII codes?

Page 7: Binary Codes Binary Coded Decimal (BCD) · Decimal/binary conversion ... Convert the binary number 11000110 to Gray code. ... 220 221 223 HEX C4 DB DE SYMBOL DEC 224 225 226 227

ASCII

ASCII

Page 8: Binary Codes Binary Coded Decimal (BCD) · Decimal/binary conversion ... Convert the binary number 11000110 to Gray code. ... 220 221 223 HEX C4 DB DE SYMBOL DEC 224 225 226 227

Remember Home work counts

● Assignment 1 = Random Home work before mid term + Designated task

● Any question Please?

Thanks for the patience!