ref: 32a5ff9658cfa2d0d15cecf3b2a27be6b0742227
parent: 2619be4d4d175a1ad4782bcd298b8ff37141135d
author: Alex Musolino <[email protected]>
date: Sat Nov 28 18:03:44 EST 2020
games/mix: fix decoding of shift instructions
--- a/sys/src/games/mix/mix.c
+++ b/sys/src/games/mix/mix.c
@@ -997,9 +997,9 @@
case 0: mixslra(m, 1); break;
case 1: mixslra(m, 0); break;
case 2: mixslrax(m, 1); break;
- case 4: mixslrax(m, 0); break;
- case 5: mixslc(m); break;
- case 6: mixsrc(m); break;
+ case 3: mixslrax(m, 0); break;
+ case 4: mixslc(m); break;
+ case 5: mixsrc(m); break;
}
break;
case 7: