Question

# Signed values: Convert each as indicated. You do not need to show your work. (But please...

Signed values: Convert each as indicated. You do not need to show your work. (But please do some explain,thanks)

If the answer must be a byte, then it must be the correct size.

1. Hexadecimal to decimal (signed magnitude)
1. 0x86
2. 0xE9

1. Hexadecimal to decimal (1’s complement)
1. 0x86
2. 0xE9

1. Hexadecimal to decimal (2’s complement)
1. 0x86
2. 0xE9
3. 0x14

in order to convert any number to the decimal form

the magnitude of the number *base of the number(position of the number) additio of all possible spaces gives us the corresponding decimal number

for example

a.)

(86)16 is an hexadecimal number with base 16

now

8*161+6*160(this will give us the decimal)

=128+6=134 (unsigned)

now in order to see if the number is negative, we need a binary representation (is MSB is one for signed number the number is negative else it's positive

a signed number have n-1 number of bit since MSB defined the sign

now, 0x86 in binary=1000(8)0110(6)=10000110= -6 in decimal since MSB is 1 and magnitude is 6

now doing the same for part b.)

E9

unsigned 14*161+9*160=233

binary representation 1110(E)1001(9)=11101001= -105

now 1's complement

when a negative number is present all the bits of the number are inverted 0 to 1 and 1 to 0 respectively

1's complement for 86 hex

will be

an invert of signed binary 10000110

01111001 =121

for E9

an invert of signed binary11101001

00010110=22decimal

now for 2's complement adding 1 to the LSB of the 1's complement of a negative number gives the corresponding 2;s complement

for 86

01111001+00000001=01111010=122

for E9

00010110+00000001=00010111=23

for 0x14

binary 0001(1)0100(4)=00010100 since the number is not a negative number since MSB =0 no need for an 2's complement

representation.

#### Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
• ### Please do the last problem 2.7.6 and explain step by step, I will rate the answer,...

Please do the last problem 2.7.6 and explain step by step, I will rate the answer, thanks. The following problems explore number conversions from decimal to signed and unsigned binary numbers a.ten | b. | 1024ten 2.7.4 15] <2.4> For the base ten numbers above, convert to 2's complement binary. 2.7.5 [5] <2.4> For the base ten numbers above, convert to 2's complement hexadecimal. 2.7.6 [5] <2.4> For the base ten numbers above, convert the negated values from the table...

• ### CS 3503-06 Homework 1 Due: 11:59pm, Friday, Jan. 24. Please show the details of your work....

CS 3503-06 Homework 1 Due: 11:59pm, Friday, Jan. 24. Please show the details of your work. Please submit in D2L using the associated link. Problems (total: 100 points) Representation of signed numbers (5 x 4 = 20 points) In an 8-bit system, find out the binary representation for the following numbers using sign-and-magnitude, ones’ complement, and two’s complement, respectively: 55 -47 In a 4-bit system, find out the binary representation for the following numbers using sign-and-magnitude, ones’ complement, and two’s...

Show all work please! Convert to octal. Convert to hexadecimal. Then convert both of your answer to decimal, and verify that they are the same: (a) 111011001.112 (b) 11000011001.012 4-

• ### PLEASE SHOW MATH OF IT ALL Given n bits, how many signed numbers can be represented...

PLEASE SHOW MATH OF IT ALL Given n bits, how many signed numbers can be represented using the sign-and-magnitude method, the ones’ complement method, and the two’s complement method, respectively? (5 points) Number conversion (2.5 x 22 = 55 points) Convert the following unsigned binary numbers to decimal: 11111 101 Convert the following decimal numbers to binary: 111 35 Convert the following octal numbers to binary: 1111 731 Convert the following unsigned binary numbers to octal: 101010111001 1001 Convert the...

• ### Show work if possible please 4. Convert the following: a) Convert 219a into binary. Your answer...

Show work if possible please 4. Convert the following: a) Convert 219a into binary. Your answer should be 12 bits long. b) Convert-66,0 into binary (twos complement). Your answer should be 12 bits long. c) Convert 00011111 into base 10 (the binary value is signed) d) Convert 11100000, into base 10(the binary value is signed) e) Convert the fllowing floating point SINGLE predsion number 4048000into a floating point number

• ### Please show all work Convert the following hexadecimal IEEE-754 32-bit values to their decimal equivalents. Ox...

Please show all work Convert the following hexadecimal IEEE-754 32-bit values to their decimal equivalents. Ox 40A80000 Oxc0000000

• ### Help Convert the decimal number 348 to a. binary b. hexadecimal Show your work. Show the...

Help Convert the decimal number 348 to a. binary b. hexadecimal Show your work. Show the decimal equivalent of each of the numbers if they are interpreted as: 10111001 00101101 a. Unsigned binary b. Signed binary Subtract the two pairs of numbers. Show the operand and the results in decimal and binary. (Indicate if there is overflow) a. Assuming there arc unsigned b. Assuming they are signed 1101-0100 1011-1100

• ### please show your steps and note that question 2 has a byte address of 000002 not...

please show your steps and note that question 2 has a byte address of 000002 not 000000. thanks Hex Viewer Case Study to be used for questions 1: Review this excerpt from a hex viewer. You can assume that all data shown is in hex. You can assume that two's complement is used to store signed integers with a 16-bit architecture which is byte addressable. Refer to this excerpt to answer the questions below: 000000 8A00 8E00 CFA1 48BF 7900...

• ### Please show work for each a-f 2. Convert the following decimal numbers to IEEE-754 hex values....

Please show work for each a-f 2. Convert the following decimal numbers to IEEE-754 hex values. While you can use the online tool to check your answers, you must show how each calculations is done by hand. a) -2 b) 0 c) +16 d) +200 e) -50 f) -5888

Please help me with the following question. Please show your work so I can understand how you arrived at the solution. PLEASE DO NOT COPY OTHER ANSWERS FROM THE INTERNET. Those answers are incorrect and or do not show work. The following is a page table for a system with 12-bit virtual and physical addresses and 256-byte pages. Free page frames are to be allocated in the order 9, F, D. **A dash for a page frame indicates that the...