5l: ROR instruction

This commit is contained in:
cinap_lenrek 2016-07-08 04:16:37 +02:00
parent 752ba45fbf
commit 49cd794fbd
3 changed files with 3 additions and 0 deletions

View file

@ -1522,6 +1522,7 @@ oprrr(int a, int sc)
case ASLL: return o | (0xd<<21) | (0<<5);
case ASRL: return o | (0xd<<21) | (1<<5);
case ASRA: return o | (0xd<<21) | (2<<5);
case AROR: return o | (0xd<<21) | (3<<5);
case ASWI: return o | (0xf<<24);
/* old arm 7500 fp using coproc 1 (1<<8) */

View file

@ -288,6 +288,7 @@ regused(Sch *s, Prog *realp)
case ASLL:
case ASRA:
case ASRL:
case AROR:
case ASUB:
case AEOR:

View file

@ -726,6 +726,7 @@ buildop(void)
case ASLL:
oprange[ASRL] = oprange[r];
oprange[ASRA] = oprange[r];
oprange[AROR] = oprange[r];
break;
case AMUL:
oprange[AMULU] = oprange[r];