/* */
/* */
/* */
-/* (C) 1998-2001 Ullrich von Bassewitz */
+/* (C) 1998-2002 Ullrich von Bassewitz */
/* Wacholderweg 14 */
/* D-70597 Stuttgart */
/* EMail: uz@cc65.org */
}
} else {
/* Signed compare */
- if (val < 0x7F) {
+ if ((long) val < 0x7F) {
/* Use < instead of <= because the former gives
* better code on the 6502 than the latter.
*/
}
} else {
/* Signed compare */
- if (val < 0x7FFF) {
+ if ((long) val < 0x7FFF) {
g_lt (flags, val+1);
} else {
/* Always true */
}
} else {
/* Signed compare */
- if (val < 0x7FFFFFFF) {
+ if ((long) val < 0x7FFFFFFF) {
g_lt (flags, val+1);
} else {
/* Always true */
/* Test for greater than */
{
static char* ops [12] = {
- "tosgt00", "tosgta0", "tosgtax",
+ "tosgt00", "tosgta0", "tosgtax",
"tosugt00", "tosugta0", "tosugtax",
0, 0, "tosgteax",
0, 0, "tosugteax",
AddCodeLine ("jsr return0");
}
} else {
- if (val < 0x7F) {
+ if ((long) val < 0x7F) {
/* Use >= instead of > because the former gives
* better code on the 6502 than the latter.
*/
}
} else {
/* Signed compare */
- if (val < 0x7FFF) {
+ if ((long) val < 0x7FFF) {
g_ge (flags, val+1);
} else {
/* Never true */
}
} else {
/* Signed compare */
- if (val < 0x7FFFFFFF) {
+ if ((long) val < 0x7FFFFFFF) {
g_ge (flags, val+1);
} else {
/* Never true */