Basic support for advanced instructions

This commit is contained in:
Dr-Noob
2018-03-25 00:20:42 +01:00
parent 97e21a64ba
commit d857799002
4 changed files with 147 additions and 2 deletions

6
main.c
View File

@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
#include "01h.h"
#include "02h.h"
#include "extended.h"
@@ -26,5 +27,10 @@ int main() {
struct level2* level2 = fillLevel2(level2);
debugLevel2(level2);
freeLevel2(level2);
struct cpuInfo* cpu = getCPUInfo(cpu);
debugCpuInfo(cpu);
free(cpu);
printf("%s\n",getCPUName());
}