String case: Difference between revisions
→{{header|MIPS Assembly}}
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 1,949:
=={{header|MIPS Assembly}}==
This example modifies a string in place. <code>$a0</code> is assumed to contain a pointer to the string ''in RAM,'' writes to ROM will obviously not have the desired effect.
<lang mips>ToUpper:
;input: $a0 = pointer to beginning of string
|