1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
what’s an array?
we basically group a bunch of values tg
where’s the array kept r or m?
memeory
and every byte also has it’s own addy
explain how much the values in the arrays take up space depending on the type
word- takes up 4 spaces
byte- takes up 1
half- takes up 2
what’s the formula to find the addy of a value in an array?
Address of item n= A+(n*b)
A→ starting point of addy
n→ index of the element u want
b→ the size of each element in bytes
how would we find the array’s addy by using mips?
get the array’s starting addy
then find the offset n*b
then load and store
what’s alignment?
it’s just multiples of n