BLOGGER TEMPLATES AND TWITTER BACKGROUNDS »

Saturday 15 December 2012

BASE ADDRESSING


c)      Base Addressing
I)                   A data or instruction memory iocation is specified as a signed of set from a register.
II)                A register act as a pointer to an operand located at the memory location whose address is in the register.
III)             The register is called base that may point to a structure or some other collection of data an immediate value is loaded at a constant offset from the beginning of the structure.
IV)             The offset specifies how far the location of the operand data from the memory location pointed by the base.
V)                Address of operand = offset value + base value (rs). However, the size of operand is limited to 16 bits because each MIPS instruction fits into a word.
VI)             Offset value is a signed number which is represented in a 2’s complement format. Therefore, offset value can also be a negative value.
BY CHONG LEE MAN
B031210367

0 comments: