Fix control register number

This commit is contained in:
kanjitalk755 2023-10-08 19:42:42 +09:00
parent 9a7751f1a2
commit 2533f7ac05

View File

@ -831,7 +831,7 @@ static int movec_illg (int regno)
case 3:
if ((regno & 0x7ff) <= 2)
return 0;
if (regno == 3 || regno == 4)
if (regno == 0x803 || regno == 0x804)
return 0;
break;
case 4: