diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-27 00:39:46 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-27 00:39:46 -0800 |
commit | 2104d1a75b76dbffc0b15a96c98d94e7a16594e8 (patch) | |
tree | 2a839b86e76431a9bbe4bf155f7411171a26d7f8 /html/apps/tests.subx.html | |
parent | 71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990 (diff) | |
download | mu-2104d1a75b76dbffc0b15a96c98d94e7a16594e8.tar.gz |
5925
Diffstat (limited to 'html/apps/tests.subx.html')
-rw-r--r-- | html/apps/tests.subx.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/apps/tests.subx.html b/html/apps/tests.subx.html index 8e31cc81..0411bb81 100644 --- a/html/apps/tests.subx.html +++ b/html/apps/tests.subx.html @@ -127,11 +127,11 @@ if ('onhashchange' in window) { <span id="L67" class="LineNr"> 67 </span> b8/copy-to-eax 1/imm32/exit <span id="L68" class="LineNr"> 68 </span> cd/syscall 0x80/imm8 <span id="L69" class="LineNr"> 69 </span> -<span id="L70" class="LineNr"> 70 </span><span class="subxFunction">subx-gen-run-tests</span>: <span class="subxComment"># in : (addr buffered-file), out : (addr buffered-file)</span> +<span id="L70" class="LineNr"> 70 </span><span class="subxFunction">subx-gen-run-tests</span>: <span class="subxComment"># in: (addr buffered-file), out: (addr buffered-file)</span> <span id="L71" class="LineNr"> 71 </span> <span class="subxComment"># pseudocode</span> <span id="L72" class="LineNr"> 72 </span> <span class="subxComment"># bool tests-found = false</span> -<span id="L73" class="LineNr"> 73 </span> <span class="subxComment"># var line : (stream byte 512)</span> -<span id="L74" class="LineNr"> 74 </span> <span class="subxComment"># var new-code-segment : (handle stream byte) = new-stream(Segment-size, 1)</span> +<span id="L73" class="LineNr"> 73 </span> <span class="subxComment"># var line: (stream byte 512)</span> +<span id="L74" class="LineNr"> 74 </span> <span class="subxComment"># var new-code-segment: (handle stream byte) = new-stream(Segment-size, 1)</span> <span id="L75" class="LineNr"> 75 </span> <span class="subxComment"># write(new-code-segment, "\n== code\n")</span> <span id="L76" class="LineNr"> 76 </span> <span class="subxComment"># write(new-code-segment, "run-tests:\n")</span> <span id="L77" class="LineNr"> 77 </span> <span class="subxComment"># while true</span> @@ -161,13 +161,13 @@ if ('onhashchange' in window) { <span id="L101" class="LineNr">101 </span> 52/push-edx <span id="L102" class="LineNr">102 </span> 53/push-ebx <span id="L103" class="LineNr">103 </span> 57/push-edi -<span id="L104" class="LineNr">104 </span> <span class="subxComment"># var line/ecx : (stream byte 512)</span> +<span id="L104" class="LineNr">104 </span> <span class="subxComment"># var line/ecx: (stream byte 512)</span> <span id="L105" class="LineNr">105 </span> 81 5/subop/subtract 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0x200/imm32 <span class="subxComment"># subtract from esp</span> <span id="L106" class="LineNr">106 </span> 68/push 0x200/imm32/length <span id="L107" class="LineNr">107 </span> 68/push 0/imm32/read <span id="L108" class="LineNr">108 </span> 68/push 0/imm32/write <span id="L109" class="LineNr">109 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> -<span id="L110" class="LineNr">110 </span> <span class="subxComment"># var word-slice/edx : slice</span> +<span id="L110" class="LineNr">110 </span> <span class="subxComment"># var word-slice/edx: slice</span> <span id="L111" class="LineNr">111 </span> 68/push 0/imm32/end <span id="L112" class="LineNr">112 </span> 68/push 0/imm32/start <span id="L113" class="LineNr">113 </span> 89/copy 3/mod/direct 2/rm32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to edx</span> |