Download MIPSproTM Assembly Language Programmer`s Guide

Transcript
2: Addressing
• Unaligned store halfword (USH)
The following instructions load and store aligned data:
• Load doubleword (LD)
• Load word (LW)
• Load halfword (LH)
• Load halfword unsigned (LHU)
• Load byte (LB)
• Load byte unsigned (LBU)
• Store doubleword (SD)
• Store word (SW)
• Store halfword (SH)
• Store byte (SB)
Address Formats
The assembler accepts the following formats for addresses: Table 2-2 explains these
formats in more detail.
Table 2-1 Address Formats
10
Format
Address
(base-register)
Base address (zero offset assumed)
expression
Absolute address
expression (base-register)
Based address
index-register (base-register)
Based address
relocatable-symbol
Relocatable address
007–2418–006