Arithmetic Quiz
- For an 8-bit group, work out the representation for −3710 in
- Sign & Magnitude
- One's Complement
- Two's Complement
- Excess-256
(Note: The n in Excess-n does not have to equal 2m−1, where m is the number of bits in the bit-group)
- Excess-128
For a 10-bit group, what range of integers cen be represented using
- Sign & Magnitude
- One's Complement
- Two's Complement
- Excess-512
Express 9876510 in Binary Coded Decimal
Form the negative equivalent of the following 8-bit Two's Complement numbers
00011001
00011110
01101000
01110100
by comparing the resulting bitpatterns to the originals, can you spot a "short cut" method for the conversion?
Perform the following 12-bit two’s complement subtraction
1010 1010 1011
−1011 0000 1101
Check your answer by determining the decimal representation of the numbers and the result
[ Index ]
last updated: 24-Oct-06
Ian Harries
<ih@doc.ic.ac.uk>