-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.h
More file actions
33 lines (29 loc) · 1.09 KB
/
Copy pathmain.h
File metadata and controls
33 lines (29 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __MAIN_H__
#define __MAIN_H__
/*===================================
| DEFINES |
====================================*/
#define _CRT_SECURE_NO_WARNINGS
/*===================================
| INCLUDES |
====================================*/
#include <stdio.h>
#include "Global.h"
#include "Simulator.h"
#include "Monitor.h"
#include "Loop.h"
/*===================================
| FUNCTIONS PROTOTYPE |
====================================*/
void InitializeSimulator(Simulator* sim);
void splitFileExtention (char* file_name, char* name, char* ext);
void checkCLIfile (char* act_name, const char* exp_name, Simulator* sim);
void ParseCLI (int argc, char* argv[], Simulator* sim);
void InitializeMemories (Simulator* sim);
void PrintMemory (Simulator* sim);
void PrintRegisters (Simulator* sim);
void PrintCycles (Simulator* sim);
void PrintHardDisk (Simulator* sim);
void PrintMonitor (Simulator* sim);
void FinalizeSimulation (Simulator* sim);
#endif // __MAIN_H__