Name: Anonymous 2009-11-11 1:35
I'm having some trouble figuring out how to express the following C segment, specifically the compound if statement, in MIPS32 assembly:
if((text[i] >= 65 && text[i] <= 90) || (text[i] >= 97 && text[i] <= 122))
{
text[j] = text[i];
charCount++;
}
else
{
badword = true;
last = last - charCount;
}
Can anybody give me some help with this?
if((text[i] >= 65 && text[i] <= 90) || (text[i] >= 97 && text[i] <= 122))
{
text[j] = text[i];
charCount++;
}
else
{
badword = true;
last = last - charCount;
}
Can anybody give me some help with this?