a) How many bytes are required to represent the decimal number -6357 in the EBCDIC packed decimal format?
EBCDIC uses a unique eight-bit binary code for each number and alphabetic character as well as punctuation marks and accented letters and nonalphabetic characters. Therefore, "-6357" will be stored as five 8-bit values. The answer is 40.
Comments
Leave a comment