-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
59 lines (54 loc) · 1.86 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>VisuASM</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
<link rel="stylesheet" href="css/main.css"/>
<script src="libs/jquery.min.js"></script>
<script src="libs/blockly.min.js"></script>
<script src="libs/blocks.min.js"></script>
<script src="libs/blockly-msg-en.js"></script>
<script src="libs/javascript_compressed.js"></script>
<script src="libs/ocanvas.min.js"></script>
<script src="js/CustomBlocks.js"></script>
<script src="js/CPU.js"></script>
<script src="js/RAM.js"></script>
<script src="js/Register.js"></script>
<script src="js/RegistersBlock.js"></script>
<script src="js/Stack.js"></script>
<script src="js/BlocklyController.js"></script>
<script src="js/CanvasCell.js"></script>
<script src="js/CanvasController.js"></script>
<script src="js/CPUTimer.js"></script>
<script src="js/main.js"></script>
</head>
<body>
<div class="pure-g">
<div class="pure-u-1-2">
<div id="blockly-container"></div>
</div>
<div class="pure-u-1-2">
<canvas id="visualizer"></canvas>
<div id="control-bar">
<a id="restart-btn" class="pure-button">Restart</a>
<a id="step-btn" class="pure-button pure-button-primary">Step</a>
<a id="play-btn" class="pure-button">Play</a>
<a id="stop-btn" class="pure-button">Stop</a>
</div>
</div>
</div>
<!-- Toolbox definition -->
<xml id="toolbox" style="display: none">
<block type="label"></block>
<block type="mov"></block>
<block type="const"></block>
<block type="ref"></block>
<block type="arithmetic"></block>
<block type="incr"></block>
<block type="cmp"></block>
<block type="jump"></block>
<block type="stack"></block>
</xml>
</body>
</html>