about summary refs log tree commit diff stats
path: root/html/subx/examples/ex11.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-02-18 22:43:01 -0800
committerKartik Agaram <vc@akkartik.com>2019-02-18 22:43:01 -0800
commite99038ea514a8703b170689d5a0730c8d2e542e7 (patch)
tree841f1bb5b26c8110ba272dcae9d6a84d083c783e /html/subx/examples/ex11.subx.html
parent8188bbbc9408322c18cdc2d1049126900abf793c (diff)
downloadmu-e99038ea514a8703b170689d5a0730c8d2e542e7.tar.gz
4982
Diffstat (limited to 'html/subx/examples/ex11.subx.html')
-rw-r--r--html/subx/examples/ex11.subx.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/subx/examples/ex11.subx.html b/html/subx/examples/ex11.subx.html
index 2aa43cf3..26de0fa6 100644
--- a/html/subx/examples/ex11.subx.html
+++ b/html/subx/examples/ex11.subx.html
@@ -81,7 +81,7 @@ if ('onhashchange' in window) {
 <span id="L19" class="LineNr"> 19 </span><span class="subxS1Comment"># . op          subop               mod             rm32          base        index         scale       r32</span>
 <span id="L20" class="LineNr"> 20 </span><span class="subxS1Comment"># . 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes</span>
 <span id="L21" class="LineNr"> 21 </span>
-<span id="L22" class="LineNr"> 22 </span><span class="subxComment"># main:</span>
+<span id="L22" class="LineNr"> 22 </span><span class="SpecialChar">Entry</span>:  <span class="subxComment"># run all tests</span>
 <span id="L23" class="LineNr"> 23 </span>    e8/call  run-tests/disp32  <span class="subxComment"># 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'.</span>
 <span id="L24" class="LineNr"> 24 </span>    <span class="subxComment"># syscall(exit, EAX)</span>
 <span id="L25" class="LineNr"> 25 </span>    89/copy                         3/mod/direct    3/rm32/EBX   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/EAX  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy EAX to EBX</span>
@@ -405,7 +405,7 @@ if ('onhashchange' in window) {
 <span id="L343" class="LineNr">343 </span>
 <span id="L344" class="LineNr">344 </span><span class="SpecialChar">Newline</span>:
 <span id="L345" class="LineNr">345 </span>    <span class="subxComment"># size</span>
-<span id="L346" class="LineNr">346 </span>    01 00 00 00
+<span id="L346" class="LineNr">346 </span>    1/imm32
 <span id="L347" class="LineNr">347 </span>    <span class="subxComment"># data</span>
 <span id="L348" class="LineNr">348 </span>    0a/newline
 <span id="L349" class="LineNr">349 </span>