There are two kinds of instructions in MIPS that access memory: loads and stores.
- load - copy a value from memory at some memory address, to a register. The value might be a word (32 bits), half word (16 bits) or byte (8 bits). I
- store S- copies a value from register to memory.
To transfer a word of data,we need to specify two things:
1) Must specify the register by number($0-$31) or symbolic name ($s0,...,...$t0,...)
2) Must specify the address by supplying a pointer to a memory address.
TONG WENG SENG
B0312010084
well done......
ReplyDeletenice...
ReplyDeletethx for sharing
ReplyDeleteThis comment has been removed by the author.
ReplyDeletecan see u put a lot of effort ...well done
ReplyDelete