#endif
#ifdef BETTER_LITERAL_SHIFT
-//REMOVE ME!!!
/*-----------------------------------------------------------------*/
/* AccAXRshS - right shift signed a:x known count (0..7) */
/*-----------------------------------------------------------------*/
char *leftByte;
_startLazyDPSEvaluation();
- if (AOP_TYPE(left) == AOP_DPTR2)
+ if (AOP_TYPE(left) == AOP_DPTR2)
{
// Get MSB in A.
MOVA(aopGet(AOP(left), offl + MSB16, FALSE, FALSE, TRUE));
/* a:x >> shCount (x = lsb(result)) */
if (sign)
{
- AccAXRshS(aopGet(AOP(result), offr, FALSE, FALSE, FALSE), shCount);
+ AccAXRshS(lsb, shCount);
}
else
{
- AccAXRsh(aopGet(AOP(result), offr, FALSE, FALSE, FALSE), shCount);
+ AccAXRsh(lsb, shCount);
}
_storeAxResults(lsb, result, offr);