4 digit HEX number in MIPS

The first one is an hex number it is straightforward to convert it into binary. Every HEX digit can be converted in 4 binary digit as in the following example

Ex *72221200111*

For your hex number 0x71014802 is

0x71014802 0111 0001 0000 0001 0100 1000 0000 0010

```
7 1 0 1 4 8 0 2
```

Regarding to a conversion from decimal to binary I suggest you converting the decimal in hex and then hex to binary, let's do an example with a decimal (I choose 71014802 DEC)

71014802 0x43B9992 0000 0100 0011 1011 1001 1001 1001 0010

```
0 4 3 B 9 9 9 2
```

another way to convert a decimal number into a binary one is by dividing by two and picking the remainder... but it is a...

4 digit

solarc

**Excerpt from file: **4digitHEXnumberinMIPS Thefirstoneisanhexnumberitisstraightforwardtoconvertitintobinary.EveryHEXdigitcanbeconvertedin4binarydigitasinthe followingexample Ex _72221200111_ Foryourhexnumber0x71014802is 0x71014802 0111 0001 0000 0001 0100 1000 0000 0010 7 1 0 1 4 8 0 2...

**Filename: **
4-digit-hex-number-in-mips-44.docx

**Filesize: **
< 2 MB

**Downloads: **
0

**Print Length: **
4 Pages/Slides

**Words: **
471

Surround your text in `*italics*`

or `**bold**`

, to write a math equation use, for example, `$x^2+2x+1=0$`

or `$$\beta^2-1=0$$`

Stats

Views: 1

Asked: 2 years ago