Hey all, trying to get my head around some MIPS basics.
Quote
Since 8-bit bytes are are useful in many programs, most architectures address individual bytes. Therefore the address of a word matches the address of one of the 4 bytes within the word. Hence, addresses of sequential words differ by 4.
Eh? A word is 32 bits right. 4 x 8 bits = 32 bits (ie. 4 x 4 bytes = 1 word). How does the address of a word match the address of ONE of the 4 bytes WITHIN the word then?! That doesn't make sense to me!
Cheers for any help. This is driving me nutty cause it's meant to be basic but doesn't seem to sink in to my head :ninja:
Question
fault
Hey all, trying to get my head around some MIPS basics.
Eh? A word is 32 bits right. 4 x 8 bits = 32 bits (ie. 4 x 4 bytes = 1 word). How does the address of a word match the address of ONE of the 4 bytes WITHIN the word then?! That doesn't make sense to me!Cheers for any help. This is driving me nutty cause it's meant to be basic but doesn't seem to sink in to my head :ninja:
Link to comment
https://www.neowin.net/forum/topic/189763-assembly-mips-4-byte-words/Share on other sites
4 answers to this question
Recommended Posts