Fix: merge conflict
[myslice.git] / third-party / codemirror-3.15 / mode / z80 / index.html
1 <!doctype html>
2 <html>
3   <head>
4     <meta charset="utf-8">
5     <title>CodeMirror: Z80 assembly mode</title>
6     <link rel="stylesheet" href="../../lib/codemirror.css">
7     <script src="../../lib/codemirror.js"></script>
8     <script src="z80.js"></script>
9     <link rel="stylesheet" href="../../doc/docs.css">
10     <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
11   </head>
12   <body>
13     <h1>CodeMirror: Z80 assembly mode</h1>
14
15 <div><textarea id="code" name="code">
16 #include    "ti83plus.inc"
17 #define     progStart   $9D95
18 .org        progStart-2
19 .db         $BB,$6D
20     bcall(_ClrLCDFull)
21     ld  HL, 0
22     ld  (PenCol),   HL
23     ld  HL, Message
24     bcall(_PutS) ; Displays the string
25     bcall(_NewLine)
26     ret
27 Message:
28 .db         "Hello world!",0
29 </textarea></div>
30
31     <script>
32       var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
33         lineNumbers: true
34       });
35     </script>
36
37     <p><strong>MIME type defined:</strong> <code>text/x-z80</code>.</p>
38   </body>
39 </html>