diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-02 15:23:01 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-02 15:23:01 -0800 |
commit | c9bda4d13ea33873dd5bce1eef0434cb11763d19 (patch) | |
tree | 6a4488fc7c7dd3408687ecd03b94cac97a606f0a /html/apps/ex1.subx.html | |
parent | 6f1581e77b8587da86a2fdaa461f83ab464447ce (diff) | |
download | mu-c9bda4d13ea33873dd5bce1eef0434cb11763d19.tar.gz |
5875
Diffstat (limited to 'html/apps/ex1.subx.html')
-rw-r--r-- | html/apps/ex1.subx.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/apps/ex1.subx.html b/html/apps/ex1.subx.html index c4105769..4cc9e90f 100644 --- a/html/apps/ex1.subx.html +++ b/html/apps/ex1.subx.html @@ -2,7 +2,7 @@ <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> -<title>Mu - examples/ex1.subx</title> +<title>Mu - apps/ex1.subx</title> <meta name="Generator" content="Vim/8.1"> <meta name="plugin-version" content="vim8.1_v1"> <meta name="syntax" content="none"> @@ -51,7 +51,7 @@ if ('onhashchange' in window) { </script> </head> <body onload='JumpToLine();'> -<a href='https://github.com/akkartik/mu/blob/master/examples/ex1.subx'>https://github.com/akkartik/mu/blob/master/examples/ex1.subx</a> +<a href='https://github.com/akkartik/mu/blob/master/apps/ex1.subx'>https://github.com/akkartik/mu/blob/master/apps/ex1.subx</a> <pre id='vimCodeElement'> <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># First program: same as <a href="https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html">https://www.muppetlabs.com/~breadbox/software/tiny/teensy.html</a></span> <span id="L2" class="LineNr"> 2 </span><span class="subxComment"># Just return 42.</span> @@ -67,7 +67,7 @@ if ('onhashchange' in window) { <span id="L12" class="LineNr">12 </span> <span id="L13" class="LineNr">13 </span><span class="SpecialChar">Entry</span>: <span id="L14" class="LineNr">14 </span><span class="subxComment"># exit(42)</span> -<span id="L15" class="LineNr">15 </span>bb/copy-to-ebx 2a/imm32 <span class="subxComment"># 42 in hex</span> +<span id="L15" class="LineNr">15 </span>bb/copy-to-ebx 0x2a/imm32 <span class="subxComment"># 42 in hex</span> <span id="L16" class="LineNr">16 </span>e8/call syscall_exit/disp32 <span id="L17" class="LineNr">17 </span> <span id="L18" class="LineNr">18 </span><span class="subxS2Comment"># . . vim:nowrap:textwidth=0</span> |