Small optimization in the rlc instruction

This commit is contained in:
Agaxia
2022-08-27 22:36:39 +02:00
parent f502ca5d07
commit 5fcf0cddc9

View File

@@ -546,8 +546,7 @@ static zuint8 ggg(Z80 *self, zuint8 offset, zuint8 value)
| CF |<-----| 7 <-- 0 |<--'
'----' '--------*/
case 0:
ROL(value);
cf = value & 1;
cf = (ROL(value)) & 1;
break;
/* rrc .----------------.