Saturday, 15 December 2012

Topic 5 Sub 1 : Memory access(introduction)

Memory Access

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

5 comments: