projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/mcs51/ralloc.c (spillThis, spilSomething): fixed bug 2435941
[fw/sdcc]
/
src
/
regression
/
and2.c
diff --git
a/src/regression/and2.c
b/src/regression/and2.c
index 3cfcff219f4be8104d326c68cc1cfb0b0b25035c..c667bad435d46d99220756e475834a512a71670f 100644
(file)
--- a/
src/regression/and2.c
+++ b/
src/regression/and2.c
@@
-1,9
+1,6
@@
-#define __16F873
-#include "p16f873.h"
+#include "gpsim_assert.h"
-unsigned char success=0;
unsigned char failures=0;
unsigned char failures=0;
-unsigned char dummy=0;
unsigned int uint0 = 0;
unsigned int uint0 = 0;
@@
-12,11
+9,11
@@
unsigned char uchar0 = 0;
unsigned char uchar1 = 0;
unsigned long ulong0 = 0;
unsigned char uchar1 = 0;
unsigned long ulong0 = 0;
-void done()
+void
+done()
{
{
-
- dummy++;
-
+ ASSERT(MANGLE(failures) == 0);
+ PASSED();
}
// uchar0 = 0x13;
}
// uchar0 = 0x13;
@@
-114,6
+111,5
@@
void main(void)
uchar0 = 0x13;
neg_compound1();
uchar0 = 0x13;
neg_compound1();
- success = failures;
done();
}
done();
}