Mark Yourself Question
A laboratory wants to give each of its 300 distinct reagent vials a unique binary code stored in a fixed-width field.
Unlock full course notes by signing up
Digital Electronics and Binary Representation: difficulty 4
An eight-bit adder is given the operands 0x5A and 0x3C and stores the eight-bit result in a register. The surrounding firmware reads that register in two places: once as an unsigned integer and once as an eight-bit two's-complement signed integer.
Give the stored eight-bit result in binary and in hexadecimal.
State the value the unsigned reader sees, and whether an unsigned overflow occurred.