1. Trang chủ
  2. » Tất cả

C1-P2-Ma Và Chuyển Đổi.pdf

24 4 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề Kỹ Thuật Số
Tác giả Assoc. Prof. Nguyen Thanh Hai
Người hướng dẫn Assoc. Prof. Nguyen Thanh Hai
Trường học HCMC University of Technology and Education
Chuyên ngành Electrical & Electronic Engineering
Thể loại Giáo trình
Năm xuất bản N/A
Thành phố Ho Chi Minh City
Định dạng
Số trang 24
Dung lượng 598,53 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Slide 1 1 KỸ THUẬT SỐ HCMC University of Technology and Education Faculty of Electrical & Electronic Engineering CHƯƠNG 1 GIỚI THIỆU VÀ MÃ Assoc Prof Nguyen Thanh Hai HCMC University of Technology and[.]

Trang 2

Basic Concepts

Bit: a binary digit composed of 0 or 1

Byte: composed of 8 bits

Word: composed of 4 bytes and equal to 32 bits

Base 2 (binary digits): numbers composed of bits, VD 1000 2

Base 10 (decimal digit): numbers composed of the digits from 0-9

Base 16 (hexa digit or hexadecimal): numbers composed of the

Base 8 (octal digit): numbers composed of the digits from 0-7

BCD code: 0000 to 1001 tương đương 0 đến 9

Trang 3

Binary digits:

MSB (Most Significant Bit)

LSB (Least Significant Bit)

bit

1 Byte = 8 bits

bit bit

Trang 4

Ex 1: 110101012 =

= (1x 27) + (1x 26) + (0x25) + (1x24) + (0x23)+ (1x22) + (0x 21 ) + (1x 20)

Trang 5

Ex 2: 1101.1012 =

= (1x 23) + (1x 22) + (0x21) + (1x20) + (1x2-1)+ (0x2-2) + (1x 2-3 )

Trang 13

Convert number 423:

Trang 14

Hex to Binary Conversion

Trang 16

Comparison of BCD and Binary

It is important to realize that BCD is not another

number system like binary, decimal, and

hexadecimal

number.

Trang 18

Application 1:

A typical CD-ROM can store 650 megabytes of

digital data Since 1 mega = 220, how many bits of data can a CD-ROM hold?

Solution:

650 x 220 x 8 = 5,452,595,200 bits

2.8 Applications

Trang 19

Application 2:

A small process-control computer

uses octal codes to represent its

12-bit memory addresses

a How many octal digits are

Trang 20

Application 3:

A typical PC uses a 20-bit

address code for its memory

a 20/4 = 5 hex digits

Trang 21

Application 4:

Most calculators use BCD to

store the decimal values as

they are entered into the

keyboard and to drive the digit

displays

a If a calculator is designed to

handle 8-digit decimal

numbers, how many bits does

this require?

b What bits are stored when the

number 375 is entered into the

calculators?

b 37510 converts to

0011 0111 0101 (BCD)Solution:

a 8 x 4 = 32 bits

Trang 22

Parallel transmission between two

computers with 8 bits

Trang 23

Series transmission between two

computers

Trang 24

The End

Ngày đăng: 21/02/2023, 12:13

w