31.8k views
4 votes
What is 5ED4 − 07A4 when these values represent signed 16- bit hexadecimal numbers stored in sign-magnitude format? The result should be written in hexadecimal. Show your work.

User Kunok
by
6.0k points

2 Answers

5 votes

Answer: 5730

Step-by-step explanation:

5ED4 -07A4 = 5730

0101 1110. 1101 0100 (5ED4)

0000 0111 1010. 0100 (07A4)

0101 0111 0011. 0000

5 7 3 0

User Kdaveid
by
6.0k points
3 votes

Answer:

5730

Step-by-step explanation:

Binary notations for 5ED4: 5 = 0101; E = 1110; D = 1101; 4 = 0100

Also, for 07A4: 0 = 0000; 7 = 0111; A = 1010; 4 = 0100

5ED4 - 07A4 = 0101 1110 1101 0100 - 0000 0111 1010 0100

= 0101 0111 0011 0000

∴ Hexadecimal representation = 5730

User IlyaMuravjov
by
6.1k points