Implementiral clock, dodal machine.h in popravu pol vsa shit v machine.cpp, naredu ukaze za f1, f2

This commit is contained in:
Timon 2025-11-28 19:35:15 +01:00
parent 3cfdd46516
commit cf3dd766d0
5 changed files with 308 additions and 88 deletions

12
ass2/main.cpp Normal file
View file

@ -0,0 +1,12 @@
#include "machine.h"
#include "cpu.h"
int main(int argc, char const *argv[]){
machine m;
cpu procesor(&m);
procesor.setSpeed(100);
procesor.start();
//stuff
procesor.stop();
return 0;
}