Encoding & Decoding MIPS Assembly Language Programming

preview_player
Показать описание

Don't forget to subscribe! ➨ Website -
---------------------------------------------------------------
This video will describe the process of encoding MIPS code into machine level binary language as well as the decoding process.

MIPS Reference Sheet:

Base Calculator:

Instruction Coding Sheet:
Рекомендации по теме
Комментарии
Автор

Absolutely excellent video this man may have just saved my university career

Brlitzkreig
Автор

I'm a simple person, nothing else than appreciation and thankfulness. You're the saviour, salute to you!

tuannguyentranle
Автор

Thanks for the helpful video ! Well, he did mess up on bits and bytes but I still get his idea.

suzydang
Автор

Awesome explanation. Thank you for being so thorough.

JAlternative
Автор

pls bro make a video that explain I and J types

aboudramlawi
Автор

Hello!

I have a question. How did you know how to rearrange XOR as RD, RS, RT? It doesn't show on my MIPS Reference Data sheet.

Seieukos
Автор

Can you link the second reference sheet used during 16:31 ?

cole
Автор

Thank you for a great video! it was really helpful! ( P.S. bits)

irinaalekseyeva
Автор

So much wrong or missing information... Op code has 6 bytes (8:46)? A byte is 4 bits so that would mean 24 bits for opcode. No, it has 6 bits; the size of the instruction is not 32 bytes, it's 32 bits, the size of register designation is 5 bits, not bytes. A fundamental and important difference. But why 5 bits? It takes 5 bits to encode a 32 bit value from 0-31 (i.e., 2^5 = 32). The arrow associating the function code to the operation is not right. Can't convert 13 to base 2 without a calculator? Sure you can... successive subtraction. 13 - 8 = 5, 5- 4 = 1. Thus, 13 in base 10 encoded in 5 bits base 2 = 01101 (1*2^3 + 1*2^2 + 1^2^0). Can't convert 23? 23-16 = 7 - 4 = 4 - 2 = 1, meaning 10111 (1 for 16's place, 0 for 8's place, 1 for 4's, 1 for 2's, 1 for 1's). Why do you need binary to hex converter? Just group the binary values by 4 (each hex value is representative of 1 byte or 4 bits) and convert to base 16, with 9-15 = A-F respectively. Result would be 0x00EDB826 (groupings below).

0 0 E D B 8 2 6

JohnDoe-rxln
Автор

you can convert any value to any base in the browser console.
(value).toString(base);
e.g.
decimal to binary: (192).toString(2) //output:
binary to decimal: //output: 192
binary to hex: //output: c0
hex to binary: (0xc0).toString(2) //output:

Strasbourgeois
Автор

Thank you so much!!! You saved me from my own stupidity :)

ironears
Автор

The Instruction Coding Sheet file doesn't exist. Help, please!!!

AKASHSOVIS
Автор

First of all. Thanks for this video !
May I make a sort of "Dissambler" with this ?
Read the dumped file by Mars as Binary and convert it to Mips Assembly ?
I can read the file but can't make it work to convert the functions...

Ghaleon
Автор

a binary digit is not a byte it is a bit. a byte is eight binary digits.

billythesunbeltsamurainapi
Автор

Beautifully explained. Please ignore comments made by somebody about bit/byte tongue slip errors. This is great tutorial. Please make a video on I and J also. If your precious time permits please make a video on 8086 processor for the same topic. Thanks for your time and effort to upload this video.

GFactFinder
Автор

Whyd he say 31-26=6 @8:46 ish?
Otherwise fantastic video

liquidred
Автор

Hi The Simple Engineer,
What software are you using in this video?

msterdang
Автор

Would you please tell me the starting song/music 😋

kashifaliwadhio
Автор

why did you not decoode from tthe hex rep

TrillDSeaux
Автор

Lets say I do a beq $t2, $s0, E : How do I know on which address my label "E" is for the immediate value? The only information I have is that the linker of the code starts at address 1000 ?

rickk