-#define __16F873
-#include "p16f873.h"
-//#include "p16c84.h"
+#include "gpsim_assert.h"
+#include "picregs.h"
-unsigned char success=0;
unsigned char failures=0;
-unsigned char dummy=0;
-bit bit0 = 0;
unsigned int uint0 = 0;
unsigned int uint1 = 0;
unsigned char uchar0 = 0;
unsigned char uchar1 = 0;
-unsigned char call3(void);
-
void dput(unsigned char val)
{
PORTB = val;
PORTA = 0x00;
}
-void done()
+void
+done()
{
-
- dummy++;
-
+ ASSERT(MANGLE(failures) == 0);
+ PASSED();
}
/* both loops use the loop variable inside the inner loop */
for4();
for5();
- success = failures;
done();
}