Fix control register number
This commit is contained in:
parent
9a7751f1a2
commit
2533f7ac05
|
@ -831,7 +831,7 @@ static int movec_illg (int regno)
|
||||||
case 3:
|
case 3:
|
||||||
if ((regno & 0x7ff) <= 2)
|
if ((regno & 0x7ff) <= 2)
|
||||||
return 0;
|
return 0;
|
||||||
if (regno == 3 || regno == 4)
|
if (regno == 0x803 || regno == 0x804)
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
Loading…
Reference in New Issue