-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (78 loc) · 3.39 KB
/
index.html
File metadata and controls
78 lines (78 loc) · 3.39 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
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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>lc2.js - a Little-Computer-2 Simulator in JavaScript</title>
<link rel="stylesheet" type="text/css"
href="http://fonts.googleapis.com/css?family=Open+Sans" >
<link rel="stylesheet" type="text/css"
href="http://spratt.github.io/EasyCSS/readabilitysans.css" />
<link rel="stylesheet" type="text/css"
href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/codemirror.min.css" />
<link rel="stylesheet" type="text/css"
href="docs/style.css" />
<style type="text/css">
.mark, .pc {width: .8em;}
h1, h3 { display: inline; }
h1 a { text-decoration: none; }
h1 a:hover { text-decoration: underline; }
</style>
</head>
<body>
<h1><a href="index.html">lc2.js</a></h1>
<h3>By <a href="http://pr4tt.com">Simon Pratt</a></h3>
<p>
A simulator of
the <a href="http://www.cs.utexas.edu/users/fussell/courses/cs310h/simulator/lc2.pdf">LC-2</a>
in JavaScript. See the
<a href="docs/index.html">documentation</a>,
and <a href="tests/index.html">unit tests</a>.
</p>
<p>
<textarea id="editor"></textarea>
<button id="assemble">Reset and Assemble</button>
<select id="loader">
<option value="asm/helloworld.asm">helloworld.asm</option>
<option value="asm/test_console.asm">test_console.asm</option>
<option value="asm/traps.asm">traps.asm</option>
<option value="asm/getc.asm">getc.asm</option>
<option value="asm/out.asm">out.asm</option>
<option value="asm/puts.asm">puts.asm</option>
<option value="asm/in.asm">in.asm</option>
<option value="asm/halt.asm">halt.asm</option>
<option value="tests/reverse.asm">reverse.asm</option>
<option value="tests/dumbadd.asm">dumbadd.asm</option>
<option value="tests/justtest.asm">justtest.asm</option>
</select>
<span>Follow PC:</span>
<input id="codeFollowPC" type="checkbox" checked="true"></input>
<span id="errors" style="float: right"></span>
<br />
<div id="lc2"></div>
</p>
<p>
<a href="https://github.com/spratt/lc2.js">Source code</a>
available under <a href="http://opensource.org/licenses/ISC">the
ISC license</a>.
</p>
<a href="https://github.com/spratt/lc2.js">
<img style="position: absolute; top: 0; right: 0; border: 0;" alt="Fork me on GitHub"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png">
</a>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/codemirror.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.22.0/addon/mode/simple.min.js"></script>
<script src="lc2mode.js"></script>
<script src="lc2.js"></script>
<script src="lexer.js"></script>
<script src="lib.js"></script>
<script src="lc2asm.js"></script>
<script src="lc2os.js"></script>
<script src="lc2editor.js"></script>
<script src="lc2display.js"></script>
<script src="index.js"></script>
</body>
</html>