1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Add info about the boolxx functions

git-svn-id: svn://svn.cc65.org/cc65/trunk@1216 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2002-04-06 15:06:03 +00:00
parent c6fe12ef6b
commit 4a4e24623b

View File

@ -710,7 +710,7 @@ void CE_GenRegInfo (CodeEntry* E, RegContents* InputRegs)
if (Chg & REG_SREG_HI) {
Out->SRegHi = -1;
}
/* Quick hack for some known functions: */
/* ## FIXME: Quick hack for some known functions: */
if (strcmp (E->Arg, "tosandax") == 0) {
if (In->RegA == 0) {
Out->RegA = 0;
@ -725,6 +725,8 @@ void CE_GenRegInfo (CodeEntry* E, RegContents* InputRegs)
if (In->RegX == 0xFF) {
Out->RegX = 0xFF;
}
} else if (FindBoolCmpCond (E->Arg) != CMP_INV) {
Out->RegX = 0;
}
break;