DIFFERENCE BETWEEN ASCII AND EBDIC
ASCII:
American standard Code for Information Interchange
PURPOSE:
To be widely used in small peripherals, computer instruments, and various communicating
devices.
It is a character encoding standard.
TYPES:
ASCII-7
ASCII-8
ASCII-7: 7 bit code that can represent 128(27) different characters.
Computers using 8 bit byte and 7 ASCII either set 8
th
bit of each byte as zero or use it
as parity bit.
ASCII – 8: extended version of ASCII-7
8-bit code that can represent 256(28) different characters.
Additional bit is added to left of 7
th
bit of ASCII-7 codes.
EXAMPLE:
GIRL n binary no : 1000111 1001001 1010010 1001100
G I R L
EBDIC :
Extended Binary Coded Decimal Interchange Code
PURPOSE:
Standard 8 bit code used for large computers
CHARACTER ZONE DIGIT
A 1100 0001
B 1100 0010
C 1100 0011
D 1100 0100
E 1100 0101
F 1100 0110
G 1100 0111
H 1100 1000
I 1100 1001
EXAMPLE:
BID in BINARY
11000010 11001001 11000100
B I D