I need some help using the MIPS ISA. Given a word I need to extract the four byte values that make up the word.

For example, given
.word 5

if I store the word in a register, $t1, I need to need perform some operation on this to get out the 4 bytes that make up the word as four byte values make up one word. My question is what instruction can I use to do this and how would I go about it. thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.