answersLogoWhite

0

Alright, let's forget the - for a while

convert 5 to binary.

do this:

5/2=2.5

2/2=1

1/2=0,5

than this:

2.5 absolute value=2

1 absolute value=1

0,5 absolute value=0

finally this

2*2=4 and 5-4=1

2*1=2 and 2-2=0

2*0=0 and 1-0=1 <--(last digit) = 101

complete the binary number by placing a 0= 0101.

Now as you might know HW = 2 bytes and 1 byte is 8 bits

so to to complete you should place 0000 0000 0000 before your result:

0000 0000 0000 0101

Let's not forget about the - though...

you'll have to invert your result

0000 0000 0000 0101=

1111 1111 1111 1010

and increment it by 1=1111 1111 1111 1011 and there is your result...

You could check your result this way:

0000 0000 0000 0101

+1111 1111 1111 1011

1 0000 0000 0000 0000

The first bit defines if your decimal has a + or - (1=- and 0=+)

The rest is simple...

(1111=F) (1111=F) (1111=F) (1011=B)=FFFB (hex HW)

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is 1976 in hexadecimal?

The decimal number 1976 is represented in hexadecimal as 7B8.


What is 15 in hexadecimal number system represented by?

15 in the hexadecimal number system is represented by 21 in the decimal system.


Hexadecimal equivalent 1016?

1,016 converted from decimal to hexadecimal notation equals 3F816.


What hexadecimal numbers are represented by decimal number 28?

28 = 11100


What is the hexadecimal equivalent of 2795?

Assuming that 2795 is in decimal notation, it is ADB.


What is hexadecimal ASCII?

Hexadecimal ASCII refers to the representation of ASCII (American Standard Code for Information Interchange) characters using hexadecimal (base-16) notation. Each ASCII character is assigned a unique decimal value, which can be converted into a two-digit hexadecimal equivalent. For example, the ASCII character 'A' is represented as 65 in decimal and 41 in hexadecimal. This format is often used in programming and data encoding to compactly represent text data.


How is 16 represented in hexadecimal number system?

(10)hex = (16)decimal


What is another way to write hex numbers?

There is basically one way to write hexadecimal numbers. Of course, the numbers represent information, and this information can be represented in may other ways; some of them are in binary (4 binary digits for each hexadecimal digit), in decimal, or each byte as as decimal number (as in the dotted decimal notation used for IP version 4 numbers).


The largest six digit number is?

In decimal notation it would be 999,999. However, as the base was not specified, if you use base 16 (hexadecimal notation) it would be FFFFFF or 16,777,215 in decimal.


What is the biggest 3 digit number that can be represented in hexidecimal?

fff. fff in hexadecimal is 4095 in decimal.


How 85 and 102 wiil be represented in hexadecimal?

Decimal numbers 85 &amp; 102 would be represented in Hex as 55 and 66 respectively.


How is decimal number 20 represented in binary notation?

2010 = 101002