diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-09-21 00:22:10 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-09-21 00:22:10 -0700 |
commit | a844bd058aaaedc9f4d23d3f5a4451e0fd1dca67 (patch) | |
tree | 2b079523c6ae13cd660784c3787d4da19814cb67 /html/apps/mulisp.subx.html | |
parent | 4a4a392dc7c81b301ad6b760525c5549f2f6644c (diff) | |
download | mu-a844bd058aaaedc9f4d23d3f5a4451e0fd1dca67.tar.gz |
5684
Support function-call syntax when linkifying functions in html files.
Diffstat (limited to 'html/apps/mulisp.subx.html')
-rw-r--r-- | html/apps/mulisp.subx.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/html/apps/mulisp.subx.html b/html/apps/mulisp.subx.html index a979613d..2013a7ed 100644 --- a/html/apps/mulisp.subx.html +++ b/html/apps/mulisp.subx.html @@ -71,12 +71,12 @@ if ('onhashchange' in window) { <span id="L14" class="LineNr"> 14 </span> <span class="subxS1Comment"># . prolog</span> <span id="L15" class="LineNr"> 15 </span> 89/<- %ebp 4/r32/esp <span id="L16" class="LineNr"> 16 </span> <span class="subxComment"># initialize heap</span> -<span id="L17" class="LineNr"> 17 </span> (new-segment <span class="SpecialChar"><a href='../069allocate.subx.html#L29'>Heap-size</a></span> <span class="SpecialChar"><a href='../069allocate.subx.html#L22'>Heap</a></span>) +<span id="L17" class="LineNr"> 17 </span> (<a href='../053new-segment.subx.html#L41'>new-segment</a> <span class="SpecialChar"><a href='../069allocate.subx.html#L29'>Heap-size</a></span> <span class="SpecialChar"><a href='../069allocate.subx.html#L22'>Heap</a></span>) <span id="L18" class="LineNr"> 18 </span> <span class="subxComment"># if (argc <= 1) goto run-main</span> <span id="L19" class="LineNr"> 19 </span> 81 7/subop/compare *ebp 1/imm32 <span id="L20" class="LineNr"> 20 </span> 7e/jump-if-lesser-or-equal $run-main/disp8 <span id="L21" class="LineNr"> 21 </span> <span class="subxComment"># if (argv[1] != "test")) goto run-main</span> -<span id="L22" class="LineNr"> 22 </span> (kernel-string-equal? *(ebp+8) <span class="Constant">"test"</span>) <span class="subxComment"># => eax</span> +<span id="L22" class="LineNr"> 22 </span> (<a href='../052kernel-string-equal.subx.html#L31'>kernel-string-equal?</a> *(ebp+8) <span class="Constant">"test"</span>) <span class="subxComment"># => eax</span> <span id="L23" class="LineNr"> 23 </span> 3d/compare-eax-and 0/imm32 <span id="L24" class="LineNr"> 24 </span> 74/jump-if-equal $run-main/disp8 <span id="L25" class="LineNr"> 25 </span> <span class="subxComment">#</span> @@ -85,7 +85,7 @@ if ('onhashchange' in window) { <span id="L28" class="LineNr"> 28 </span> 8b/-> *<span class="SpecialChar"><a href='../051test.subx.html#L90'>Num-test-failures</a></span> 3/r32/ebx <span id="L29" class="LineNr"> 29 </span> eb/jump $main:end/disp8 <span id="L30" class="LineNr"> 30 </span><span class="Constant">$run-main</span>: -<span id="L31" class="LineNr"> 31 </span> (repl <span class="SpecialChar"><a href='../061read-byte.subx.html#L14'>Stdin</a></span> <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span>) +<span id="L31" class="LineNr"> 31 </span> (<a href='mulisp.subx.html#L76'>repl</a> <span class="SpecialChar"><a href='../061read-byte.subx.html#L14'>Stdin</a></span> <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span>) <span id="L32" class="LineNr"> 32 </span> <span class="subxComment"># syscall(exit, 0)</span> <span id="L33" class="LineNr"> 33 </span> bb/copy-to-ebx 0/imm32 <span id="L34" class="LineNr"> 34 </span><span class="Constant">$main:end</span>: @@ -137,13 +137,13 @@ if ('onhashchange' in window) { <span id="L80" class="LineNr"> 80 </span> <span class="subxS1Comment"># . save registers</span> <span id="L81" class="LineNr"> 81 </span> 50/push-eax <span id="L82" class="LineNr"> 82 </span><span class="Constant">$repl:loop</span>: -<span id="L83" class="LineNr"> 83 </span> (lisp-read <span class="SpecialChar"><a href='../061read-byte.subx.html#L14'>Stdin</a></span>) <span class="subxComment"># => eax : (address cell)</span> +<span id="L83" class="LineNr"> 83 </span> (<a href='mulisp.subx.html#L106'>lisp-read</a> <span class="SpecialChar"><a href='../061read-byte.subx.html#L14'>Stdin</a></span>) <span class="subxComment"># => eax : (address cell)</span> <span id="L84" class="LineNr"> 84 </span> <span class="subxComment"># if (eax == 0) break</span> <span id="L85" class="LineNr"> 85 </span> 3d/compare-eax-and 0/imm32 <span id="L86" class="LineNr"> 86 </span> 74/jump-if-equal $repl:end/disp8 <span id="L87" class="LineNr"> 87 </span> <span class="subxComment">#</span> -<span id="L88" class="LineNr"> 88 </span> (lisp-eval %eax) <span class="subxComment"># => eax : (address cell)</span> -<span id="L89" class="LineNr"> 89 </span> (lisp-print <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span> %eax) +<span id="L88" class="LineNr"> 88 </span> (<a href='mulisp.subx.html#L195'>lisp-eval</a> %eax) <span class="subxComment"># => eax : (address cell)</span> +<span id="L89" class="LineNr"> 89 </span> (<a href='mulisp.subx.html#L208'>lisp-print</a> <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span> %eax) <span id="L90" class="LineNr"> 90 </span> <span class="subxComment"># loop</span> <span id="L91" class="LineNr"> 91 </span> eb/jump $repl:<span class="Constant">loop</span>/disp8 <span id="L92" class="LineNr"> 92 </span><span class="Constant">$repl:end</span>: @@ -174,8 +174,8 @@ if ('onhashchange' in window) { <span id="L117" class="LineNr">117 </span> 89/<- %ecx 4/r32/esp <span id="L118" class="LineNr">118 </span><span class="Constant">$lisp-read:loop</span>: <span id="L119" class="LineNr">119 </span> <span class="subxComment"># read line into s</span> -<span id="L120" class="LineNr">120 </span> (clear-stream %ecx) -<span id="L121" class="LineNr">121 </span> (read-line-buffered *(ebp+8) %ecx) +<span id="L120" class="LineNr">120 </span> (<a href='../055stream.subx.html#L17'>clear-stream</a> %ecx) +<span id="L121" class="LineNr">121 </span> (<a href='../071read-line.subx.html#L9'>read-line-buffered</a> *(ebp+8) %ecx) <span id="L122" class="LineNr">122 </span> <span class="subxComment"># if (s->write == 0) return null</span> <span id="L123" class="LineNr">123 </span> 81 7/subop/compare *ecx 0/imm32 <span id="L124" class="LineNr">124 </span> 75/jump-if-not-equal $lisp-read:<span class="Constant">loop</span>/disp8 @@ -268,9 +268,9 @@ if ('onhashchange' in window) { <span id="L211" class="LineNr">211 </span> 89/<- %ebp 4/r32/esp <span id="L212" class="LineNr">212 </span> <span class="subxS1Comment"># . save registers</span> <span id="L213" class="LineNr">213 </span> <span class="subxComment"># write(x)</span> -<span id="L214" class="LineNr">214 </span> (write-buffered <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span> <span class="Constant">"=> "</span>) -<span id="L215" class="LineNr">215 </span> (write-stream-data <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span> *(ebp+0xc)) -<span id="L216" class="LineNr">216 </span> (flush <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span>) +<span id="L214" class="LineNr">214 </span> (<a href='../065write-buffered.subx.html#L8'>write-buffered</a> <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span> <span class="Constant">"=> "</span>) +<span id="L215" class="LineNr">215 </span> (<a href='../074write-stream-data.subx.html#L11'>write-stream-data</a> <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span> *(ebp+0xc)) +<span id="L216" class="LineNr">216 </span> (<a href='../064write-byte.subx.html#L79'>flush</a> <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span>) <span id="L217" class="LineNr">217 </span><span class="Constant">$lisp-print:end</span>: <span id="L218" class="LineNr">218 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L219" class="LineNr">219 </span> <span class="subxS1Comment"># . epilog</span> |