-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathassembler.html
More file actions
132 lines (122 loc) · 3.48 KB
/
assembler.html
File metadata and controls
132 lines (122 loc) · 3.48 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
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
<html>
<head>
<title>ASSEMBLER</title>
<style type="text/css">
* {
outline:none;
border:none;
margin:0px;
padding:0px;
font-family:Courier, monospace;
}
body {
background:#333 url(https://static.tumblr.com/maopbtg/a5emgtoju/inflicted.png) repeat;
}
#paper {
color:#FFF;
font-size:20px;
}
#margin {
margin-left:12px;
margin-bottom:20px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
#text {
background-color:#FFF;
color:#222;
font-family:Courier, monospace;
font-weight:normal;
font-size:24px;
resize:none;
line-height:40px;
padding-left:100px;
padding-right:100px;
padding-top:45px;
padding-bottom:34px;
background-image:url(https://static.tumblr.com/maopbtg/E9Bmgtoht/lines.png), url(https://static.tumblr.com/maopbtg/nBUmgtogx/paper.png);
background-repeat:repeat-y, repeat;
-webkit-border-radius:12px;
border-radius:12px;
-webkit-box-shadow: 0px 2px 14px #000;
box-shadow: 0px 2px 14px #000;
border-top:1px solid #FFF;
border-bottom:1px solid #FFF;
overflow-y: scroll;
}
#title {
background-color:transparent;
border-bottom:3px solid #FFF;
color:#FFF;
font-size:20px;
font-family:Courier, monospace;
height:28px;
font-weight:bold;
width:220px;
}
#button {
cursor:pointer;
margin-top:20px;
height:40px;
padding-left:24px;
padding-right:24px;
font-family:Arial, Helvetica, sans-serif;
font-weight:bold;
font-size:20px;
color:#FFF;
text-shadow: 0px -1px 0px #000000;
-webkit-border-radius:8px;
border-radius:8px;
border-top:1px solid #FFF;
-webkit-box-shadow: 0px 2px 14px #000;
box-shadow: 0px 2px 14px #000;
background-color: #62add6;
background-image:url(https://static.tumblr.com/maopbtg/ZHLmgtok7/button.png);
background-repeat:repeat-x;
}
#button:active {
zoom: 1;
filter: alpha(opacity=80);
opacity: 0.8;
}
#button:focus {
zoom: 1;
filter: alpha(opacity=80);
opacity: 0.8;
}
#wrapper {
width:700px;
height:auto;
margin-left:auto;
margin-right:auto;
margin-top:24px;
margin-bottom:100px;
}
</style>
<script type="text/javascript">
$(document).ready(function(){
$('#title').focus();
$('#text').autosize();
});
</script>
</head>
<body>
<div id="wrapper" >
<form id="paper" method="post" action="#" name="f1" target="_blank">
<div id="margin">Title: <input id="title" type="text" name="title"></div>
<textarea placeholder="Enter your assembly code here..." id="text" name="text" rows="4" style="overflow-y: scroll; word-wrap: break-word; resize: none; height: 400px;width:800px;" ></textarea>
<br>
<center>
<input id="button" type="submit" value="MOT" align="center" onclick="f1.action='http://localhost/assembler/MOT.php'; return true;">
<input id="button" type="submit" value="POT" align="center" onclick="f1.action='http://localhost/assembler/POT.php'; return true;">
<input id="button" type="submit" value="REGISTER" align="center" onclick="f1.action='http://localhost/assembler/REGISTER.php'; return true;">
<input id="button" type="submit" value="SYMTAB" align="center" onclick="f1.action='http://localhost/assembler/SYMTAB.php'; return true;">
<input id="button" type="submit" value="INTERRUPT" align="center" onclick="f1.action='http://localhost/assembler/INTERRUPT.php'; return true;">
<input id="button" type="submit" value="DIRECTIVES" align="center" onclick="f1.action='http://localhost/assembler/DIRECTIVES.php'; return true;">
</center>
</form>
</div> </body>
</html>