C to MIPS - Introduction to Memory

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

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

This little video explained in simple terms that last 2 weeks of my graduate level class. Thank you!

Kimpossibility
Автор

excellent video but please work better on the sound quality

saoussenslii
Автор

Thanks man your tutorials are brilliant

tinomudaishechitsiko
Автор

Your videos are so helpful and easily understandable. Thank you very

comparchi
Автор

Wait, @19:05, shouldn't denominator and numerator be opposite, the numerator is the second member of the struct and should therefore have an offset 4 from &F and denominator is first member, therefore offset = 0? In other words, the other way around from in the video.

johndoesson
Автор

for the code "lw $t0, 12($s3)" - How do we know that 12 corresponds with the array at index three? Does A[3] = 12?

I am wondering if this references the first part of the video where it says the ADDRESS at A[3] is 0x1001000C, and C in hex is 12.

Please let me know :)

kronkodile
Автор

hey does anyone knows how to get the offset for memory address? i am currently need help to store word but i dont understand how to get the offset for addressing the memory.

believadyanne
Автор

Hello can you help me to convert this C++ code to MIPS

#include<iostream>
using namespace std;
int largest(int arr[], int n)
{
int i;
// Initialize maximum element
int max = arr[0];
// Traverse array elements
// from second and compare
// every element with current max
for (i = 1; i < n; i++)
if (arr[i] > max)
max = arr[i];
return max;
}
// Driver Code
int main()
{
int arr[] = {10, 324, 45, 90, 9808};
int n = 5;
cout << "Largest in given array is "
<< largest(arr, n);
return 0;
}

ardiimeri