Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing a Label and Loading Bytes

Status
Not open for further replies.

lax0nator

IS-IT--Management
Sep 22, 2004
1
0
0
US
I've created a string like so:

.data
STRING1: "76543210"
.text

how could I load the bytes of each individual character into the saved registers in MIPS? I assume the following:

lb $s0, 0(--What goes here--)

I can't load a label right? How do I do this using the registers? Please help! Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top