3.1 ComF 03 Number System
3.1 ComF 03 Number System
• Character Code:
• Character codes are the binary patterns used to represent the character set.
• Some codes are specific to the manufacturer but there are a number of
standard codes which help the exchange of data between systems.
• ASCII Code:
• ASCII stands for American Standard Code for Information Interchange.
• It is the commonest code and is popularly used for data transmission and
microcomputer storage.
• ASCII is a 7-bit code and use three zone bits and four numeric bits to
represent characters, with an eight bit added for parity checking.
Character Codes
• EBCDIC Code:
• EBCDIC stands for Extended Binary Coded Decimal Interchange
Code.
• It was developed by IBM (International Business Machine).
• It is an 8-bit code which therefore permits 28 = 256 distinct characters.
• In computers that use EBCDIC code, each addressable unit of storage
is 8 bits in length and is referred to as a byte i.e., each character can be
stored in 1 byte of computer memory.
• BCD Code:
• The Binary Coded Decimal (BCD) code is one of the early computer
codes.
• It is based on the idea of converting each digit of a decimal number
into its binary equivalent, rather than converting the entire decimal
value into a pure binary form.
• This makes the conversion process easier. The BCD equivalent of each
decimal digit is shown in Figure 2.8. Since 8 and 9 require 4 bits, all
decimal digits are represented in BCD by 4 bits.
• For example, (42)10 is equal to (101010)2 in a pure binary form.
bit, Nibble, Byte, Word, Bit-string and Memory Sizes
• bit: All data stored in memory uses binary logic, where each binary digit or
bit can be set to 0 or 1.
• Word: A word consists of one or more bytes and is the largest amount of
memory that the computer can handle in any one operation.