Addition using sign magnitude representation

Nasza ocena:

5
Wyświetleń: 2604
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Addition using sign magnitude representation - strona 1

Fragment notatki:

Addition using sign magnitude representation In the case of sign magnitude representation addition is a little complicated. The addition
algorithm contains several steps:
1. Check signs of both numbers.
2. If signs are equal (both are positive or negative) add magnitudes and use the sign as sign of the
result.
3. If numbers have different signs, convert one (negative) of them to 1's or 2's complement
representation, add both numbers using hints from sections 2.4 or 2.5 and if result is negative,
convert it into sing magnitude representation.
... zobacz całą notatkę

Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz