MGMT 1040 Lecture Notes - Lecture 14: Binary Number

20 views2 pages
MGMT 1040 Lecture 14 Notes Multiple Storage Locations
Introduction
Used together, these four locations can accept 232, or 4,294,967,296 different values.
The use of multiple storage locations to store a single binary number may increase the
difficulty of calculation and manipulation of these numbers
The calculation may have to be done one part at a time, possibly with carries or borrows
between the parts, but the additional difficulty is not unreasonable.
Most modern computers provide built-in instructions that perform data calculations 32
bits or 64 bits at a time, storing the data automatically in consecutive bytes.
For other number ranges, and for computers without this capability, these calculations
can be performed using software procedures within the computer.
An alternative approach known as binary-coded decimal (BCD), may be used in some
applications.
In this approach, the number is stored as a digit-by-digit binary representation of the
original decimal integer.
Each decimal digit is individually converted to binary.
This requires 4 bits per digit.
Thus, an 8-bit storage location could hold two binary-coded decimal digits
In other words, one of one hundred different values from 00 to 99.
For example, the decimal value 68 would be represented in BCD as 01101000.
Of course you remember that 01102 = 610 and 10002 = 810.
Four bits can hold sixteen different values, numbered 0 to F in hexadecimal notation
With BCD the values A to F are simply not used.
The hexadecimal and decimal values for 0 through 9 are equivalent.
The table compares the decimal range of values that can be stored in binary and BCD
forms.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents