Professional Documents
Culture Documents
TUTORIAL -1
Signed Arithmetic
Calculate the result and identify the nature of the result for the following operations.
All operations should be done using sign- magnitude form of representation.
100 + 48
100 – 48
100 + (-48)
(-100) + 48
(-100) + (-48)
(-100) – (-48)
(-48) – (-100)
Indicate the Flag conditions (ZF, CF, AC, OF, SF, PF) after each of the operation.
Assume that all flags are reset (‘0’) before each operation.