Internal Representation of Integral Data Using a One's Complement Storage Mode

Given a decimal (base 10) integer, the associated application computes and displays the internal representation assuming a one's complement storage mode is being used. The internal representation is displayed in binary and hexadecimal. The user also indicates the word size in bits: either 4, 8, 16, or 32.

Word Size (bits)
Decimal Integer



Home Computer Science Physics Math