1 / 16
文档名称:

1-2 Natural Binary Coded Decimal.ppt

格式:ppt   页数:16
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

1-2 Natural Binary Coded Decimal.ppt

上传人:中国课件站 2011/8/29 文件大小:0 KB

下载得到文件列表

1-2 Natural Binary Coded Decimal.ppt

文档介绍

文档介绍:Digital concept and Number system
Chapter 1
Binary Codes
Shall pare thee to a summer’s day?
group of four binary digits represent a single decimal digit
0 1 2 3 4 5 6 7 8 9
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001
Decimal BCD
Natural Binary Coded Decimal (BCD)
0 1 2 3 4 5 6 7 8 9
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001
Decimal 8421 2421 Ex-3
0000 0001 0010 0011 0100 1011 1100 1101 1110 1111
0011 0100 0101 0110 0111 1000 1001 1010 1011 1100
Assign fixed weight for each bit position
Weighted Binary Coded Decimal
plements
A plement of a binary digit is its opposite value.
The plement of 0 is 1 and the plement of 1 is 0.
Ex. plement of (0011)2 is 1100.
BCD plementing codes
*b is the radix of the numeral x
Two plements
plement of x is written x’
X’= (b) – X
diminish plement of x is written x-1’
X-1’= (b - 1) – X
plement (plement) of 610
10-6=410
plement ( Diminish plement ) of 610
10-1-6=310
1
0,
0
1
BCD plementing codes
BCD plement are designed so the arithmetic plement can be found by taking the plement ,a bit-by-bit inversion of BCD code
plementing code is a code whose arithmetic and plement are the same.
0 1 2 3 4 5 6 7 8 9
Decimal 2421 Ex-3
0000 0001 0010 0011 0100 1011 1100 1101 1110 1111
0011 0100 0101 0110 0111 1000 1001 1010 1011 1100
BCD plementing codes
Diminish plement
X=610
X-1’= 10-1-6=310
6ex-3 = 1001
plement of 6ex-3 is 0110.
3ex-3 = 0110
Only one bit change occurs between essive value in this code
Gray code
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111
Decimal binary Gray
0000 0001 0011 0010 0110 0111 0101 0100 1100 1101 1111 1110 1010 1011 1001 1000
B =Bn-1Bn-2…Bi+1Bi…B1B0
G =Gn-1Gn-2…Gi+1Gi…G1G0
Bn-1=Gn-1 ; Gi=Bi+1⊕Bi
Gn-1= Bn-1; Bi=Gi⊕Bi+1
Unit Distance Code
Alphanumeric code
Alphabet /Punctuation
7-bit/8-bit ASCII code
American standard code for information interchange (ASCII)
Use the most significant

最近更新

2024年合肥共达职业技术学院单招职业技能考试.. 40页

2024年合肥幼儿师范高等专科学校单招职业技能.. 40页

2024年合肥科技职业学院单招职业倾向性测试模.. 40页

2024年合肥经济技术职业学院单招职业适应性考.. 40页

2024年合肥财经职业学院单招职业技能考试题库.. 41页

2024年吉安幼儿师范高等专科学校单招职业倾向.. 39页

2024年吉林交通职业技术学院单招职业适应性测.. 40页

2024年吉林司法警官职业学院单招职业适应性测.. 40页

2024年吉林城市职业技术学院单招职业技能考试.. 39页

2024年吉林工业职业技术学院单招职业倾向性考.. 40页

2024年吉林工程职业学院单招职业倾向性考试模.. 42页

2024年吉林电子信息职业技术学院单招职业技能.. 40页

2024年吉林省吉林市单招职业适应性考试模拟测.. 40页

2024年吉林省延边朝鲜族自治州单招职业倾向性.. 40页

2024年吉林省白山市单招职业倾向性测试模拟测.. 40页

2024年吉林省经济管理干部学院单招职业倾向性.. 40页

2024年吉林省辽源市单招职业倾向性测试题库最.. 40页

2024年吉林省通化市单招职业适应性测试模拟测.. 40页

2024年吉林科技职业技术学院单招综合素质考试.. 40页

2026年优秀的除夕夜作文 15页

2024年吉林通用航空职业技术学院单招职业技能.. 41页

2024年吉林铁道职业技术学院单招职业倾向性考.. 41页

2024年吐鲁番职业技术学院单招职业倾向性测试.. 40页

2026年优秀的元旦主题班会方案 58页

肥胖加剧肾脏纤维化 35页

过敏性疾病药物治疗 36页

2024年周口职业技术学院单招职业倾向性考试题.. 40页

2024年呼伦贝尔职业技术学院单招职业倾向性测.. 39页

小学数学六年级下册《鸽巢问题》作业设计 9页

【人教版英语字帖】七年级下册单词表衡水体字.. 42页