Accept %fp as an alias for %a6 (prefix *MUST* be present for this alias

to work).
This commit is contained in:
thorpej 1999-12-14 17:05:13 +00:00
parent fe0726b921
commit f777a401db
1 changed files with 10 additions and 0 deletions

View File

@ -690,6 +690,16 @@ register char **ccp;
n= (c[3] == 'r' ? 4 : 3);
ret = FPC;
}
#ifdef REGISTER_PREFIX
else if (has_register_prefix) {
/*
* Assume it's just %fp, which is
* an alias for %a6.
*/
n = 2;
ret = ADDR + 6;
}
#endif
}
break;
case 'i':