forked from silcnitc/silcnitc.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.html
147 lines (127 loc) · 4.17 KB
/
install.html
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!Doctype html>
<html lang="en">
<head>
<title>Installation</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header class="center clearfix" id="navtop"> <a href="index.html" class="logo fleft"><img src="img/logo.png" alt=""></a>
<nav class="fright">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Code</a></li>
<li><a href="#">Roadmap</a></li>
<li><a href="documentation.html" class="navactive">Documentation</a></li>
</ul>
</nav>
</header>
<div class="about center part clearfix">
<header class="title">
<h3 class="fleft">Contents</h3>
</header>
<aside class="column4 mright">
<menu>
<ul>
<li><a href="#navlex" class="sec">How to install LEX ?</a></li>
<li><a href="#navyacc" class="sec">How to install YACC?</a></li>
<li><a href="#navsim" class="sec">What is SIM and how to install it ?</a></li>
<li><!--For blank space between lines and download button--> </li>
<li><!--Blank line for space between download button and main title--> </li>
</ul>
</menu>
</aside>
<section class="columnthird content">
<article id="navlex" class="detail">
<h2>How to install LEX ?</h2>
<br>
<p>
For Ubuntu Users :
<div class="syntax">
<pre>
sudo apt-get update
sudo apt-get install flex
</pre>
</div>
</p>
<p>
For Fedora Users :
<div class="syntax">
<pre>
yum install flex
</pre>
</div>
</p>
</article>
<div class="up grid col-one-third" style="float:right">
<a href="#navtop" title="Go back up"> top ↑</a>
</div>
<article id="navyacc" class="detail">
<h2>How to install YACC ?</h2>
<p> For Ubuntu Users :</p>
<div class="syntax">
<pre>
sudo apt-get update
sudo apt-get install bison
</pre>
</div>
<br>
<p> For Fedora Users :</p>
<div class="syntax">
<pre>
yum install bison
</pre>
</div>
</article>
<div class="up grid col-one-third" style="float:right">
<a href="#navtop" title="Go back up"> top ↑</a>
</div>
<article id="navsim" class="detail">
<h2>What is SIM & How to install it ?</h2>
<p> SIM or Simple Integer Machine is a hypothetical machine with an
elementary instruction set that supports integer arithmetic.
The machine has eight General Purpose Registers R0..R7, each of which can hold an integer.
The Memory words are numbered 0,1,2… and each one can hold an integer.
The arithmetic operations supported by the ALU are addition, multiplication, subtraction, division and
modulo operation on integers. The logical operations support comparison between values in two registers.
The branching instructions allow control transfer based on the result of a comparison.
Each instruction in the instruction set of SIM fits into one memory word.
The machine has three special registers – Stack Pointer (SP), Base Pointer (BP) and Instruction Pointer (IP).</p>
<br>
<a href="http://athena.nitc.ac.in/~kmurali/Compiler/sim.html" > I want to learn more about SIM </a>
<p>
<h4>Let us install SIM</h4>
<h5> Step 1 : </h5>
<p> Go to this page and download SIM Simulator : <a href="http://athena.nitc.ac.in/~kmurali/Compiler/index.html" >Go</a> </p>
</p>
<h5> Step 2 :</h5>
<p> Extract this,go to this folder in terminal and type "make" </p>
<p> Kuddos ....you are good to go </p>
</article>
<div class="up grid col-one-third" style="float:right">
<a href="#navtop" title="Go back up"> top ↑</a>
</div>
<footer class="center part clearfix">
<ul class="social column3 mright">
<li><a href="https://github.com/silcnitc">Github</a></li>
</ul>
<div class="up column3 mright"> <a href="#navtop" class="ir">Go up</a> </div>
<nav class="column3">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="uc.html">Contact</a></li>
</ul>
</nav>
</footer>
</body>
<!-- Javascript - jQuery
<script src="http://code.jquery.com/jquery.min.js"></script>-->
<script>window.jQuery || document.write('<script src="js/jquery-1.7.2.min.js"><\/script>')</script>
<!--[if (gte IE 6)&(lte IE 8)]>
<script src="js/selectivizr.js"></script>
<![endif]-->
<script src="js/scripts.js"></script>
</html>