git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1876
4a8a32a2-be11-0410-ad9d-
d568d2c75423
MOVA (s);
}
{
- symbol *lbl = newiTempLabel (NULL);
- emitcode ("clr", "c");
- emitcode ("jz", "!tlabel", lbl->key + 100);
- emitcode ("cpl", "c");
- emitcode ("", "!tlabeldef", lbl->key + 100);
+ /* set C, if a >= 1 */
+ emitcode ("add", "a,0xff");
emitcode ("mov", "%s,c", aop->aopu.aop_dir);
}
}
MOVA (s);
}
{
- symbol *lbl = newiTempLabel (NULL);
- emitcode ("clr", "c");
- emitcode ("jz", "%05d$", lbl->key + 100);
- emitcode ("cpl", "c");
- emitcode ("", "%05d$:", lbl->key + 100);
+ /* set C, if a >= 1 */
+ emitcode ("add", "a,#0xff");
emitcode ("mov", "%s,c", aop->aopu.aop_dir);
}
}