Return correct value for a2/lcnt index register
This commit is contained in:
parent
36fa1cd15a
commit
02c0cd4b08
@ -542,7 +542,7 @@ static inline int convertIdxRegName(const char* reg)
|
|||||||
{
|
{
|
||||||
if (stricmp(reg, "a0")==0) return 1;
|
if (stricmp(reg, "a0")==0) return 1;
|
||||||
if (stricmp(reg, "a1")==0) return 2;
|
if (stricmp(reg, "a1")==0) return 2;
|
||||||
if (stricmp(reg, "a2")==0 || stricmp(reg, "lcnt")==0) return 2;
|
if (stricmp(reg, "a2")==0 || stricmp(reg, "lcnt")==0) return 3;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user