String case: Difference between revisions

Content added Content deleted
Line 1,949: Line 1,949:


=={{header|MIPS Assembly}}==
=={{header|MIPS Assembly}}==
This example modifies a string in place.
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:
<lang mips>ToUpper:
;input: $a0 = pointer to beginning of string
;input: $a0 = pointer to beginning of string