# Repeat Prob. 10-18 for signed-magnitude binary numbers. Prob. 10-18 Derive an algorithm in flowchart form for the

## Question:

Repeat Prob. 10-18 for signed-magnitude binary numbers.

**Prob. 10-18**

Derive an algorithm in flowchart form for the comparison of two signed binary numbers when negative numbers are in signed-2's complement representation:

a. By means of a subtraction operation with the signed-2's complement numbers.

b. By scanning and comparing pairs of bits from left to right.

Fantastic news! We've Found the answer you've been seeking!

## Step by Step Answer:

**Related Book For**