#include "auxiliary.h"
#include "cpu.h"
#include "Stopwatch.h"
#include "BigNums.h"

#include <iostream.h>
#include <fstream.h>

void main()
{	int i;
/*
	StopWatch timer;
	cout << " \n Increment a value s l o w l y."<<endl;
	int xx = 0;
	timer.start();
	for (i = 0; i< 25; i++)
	{	xx = inc(xx);
		timer.mark();
		cout <<i<<' '<< xx << endl;
	}
	timer.stop();
	
	cout << endl << "cpu test"<<endl;
	cpu xpd;
	xpd.push(3);
	xpd.push(5);
	xpd.mult();
	if(xpd.zero()) goto out;
	xpd.output();
	xpd.declare('a');
	xpd.pop('a');
	xpd.push(7);
	xpd.push('a');
	xpd.add();
out:
	xpd.output();
*/
ofstream os("ta.txt");
BigNum xxy("1234567890123456789");
//xxy.dump(os);
os << xxy.asString()<<endl;
BigNum xxx;
//xxx.dump(os);
os << xxx.asString()<<endl;
BigNum xxz("-1234567890123456789");
//xxz.dump(os);
os <<xxz.asString()<<endl;

}
