about summary refs log tree commit diff stats
path: root/html/subx/examples
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-06 09:41:40 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-06 09:41:40 -0800
commit81605224f085ec85ea11302c938a53cf2dd8a2bc (patch)
tree2c5840f43d01f69ae7acde462fd7bbbc971a4db3 /html/subx/examples
parent33e7c3a75196fbf8bd8412eda797cfa170eb189d (diff)
downloadmu-81605224f085ec85ea11302c938a53cf2dd8a2bc.tar.gz
4847
Diffstat (limited to 'html/subx/examples')
-rw-r--r--html/subx/examples/ex10.subx.html2
-rw-r--r--html/subx/examples/ex11.subx.html2
-rw-r--r--html/subx/examples/ex8.subx.html2
-rw-r--r--html/subx/examples/ex9.subx.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/html/subx/examples/ex10.subx.html b/html/subx/examples/ex10.subx.html
index 55b1c177..c951ca62 100644
--- a/html/subx/examples/ex10.subx.html
+++ b/html/subx/examples/ex10.subx.html
@@ -86,7 +86,7 @@ if ('onhashchange' in window) {
 <span id="L24" class="LineNr">24 </span>    <span class="subxS2Comment"># . . push argv[2]</span>
 <span id="L25" class="LineNr">25 </span>    ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>          0xc/disp8      <span class="CommentedCode"> . </span>                <span class="subxComment"># push *(EBP+12)</span>
 <span id="L26" class="LineNr">26 </span>    <span class="subxS2Comment"># . . push argv[1]</span>
-<span id="L27" class="LineNr">27 </span>    ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>          0x8/disp8      <span class="CommentedCode"> . </span>                <span class="subxComment"># push *(EBP+8)</span>
+<span id="L27" class="LineNr">27 </span>    ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>          8/disp8        <span class="CommentedCode"> . </span>                <span class="subxComment"># push *(EBP+8)</span>
 <span id="L28" class="LineNr">28 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L29" class="LineNr">29 </span>    e8/call argv-equal/disp32
 <span id="L30" class="LineNr">30 </span>    <span class="subxComment"># syscall(exit, EAX)</span>
diff --git a/html/subx/examples/ex11.subx.html b/html/subx/examples/ex11.subx.html
index cb2150db..ba1add8f 100644
--- a/html/subx/examples/ex11.subx.html
+++ b/html/subx/examples/ex11.subx.html
@@ -326,7 +326,7 @@ if ('onhashchange' in window) {
 <span id="L261" class="LineNr">261 </span>    51/push-ECX
 <span id="L262" class="LineNr">262 </span>    53/push-EBX
 <span id="L263" class="LineNr">263 </span>    <span class="subxComment"># load args into EAX, EBX and ECX</span>
-<span id="L264" class="LineNr">264 </span>    8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>          0/r32/EAX   0x8/disp8      <span class="CommentedCode"> . </span>                <span class="subxComment"># copy *(EBP+8) to EAX</span>
+<span id="L264" class="LineNr">264 </span>    8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>          0/r32/EAX   8/disp8        <span class="CommentedCode"> . </span>                <span class="subxComment"># copy *(EBP+8) to EAX</span>
 <span id="L265" class="LineNr">265 </span>    8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>          3/r32/EBX   0xc/disp8      <span class="CommentedCode"> . </span>                <span class="subxComment"># copy *(EBP+12) to EBX</span>
 <span id="L266" class="LineNr">266 </span>    <span class="subxComment"># if EAX == b/EBX print('.') and return</span>
 <span id="L267" class="LineNr">267 </span>    39/compare                      3/mod/direct    0/rm32/EAX   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          3/r32/EBX  <span class="CommentedCode"> . </span>             <span class="CommentedCode"> . </span>                <span class="subxComment"># compare EAX and EBX</span>
diff --git a/html/subx/examples/ex8.subx.html b/html/subx/examples/ex8.subx.html
index 07534b4d..41cf1abe 100644
--- a/html/subx/examples/ex8.subx.html
+++ b/html/subx/examples/ex8.subx.html
@@ -85,7 +85,7 @@ if ('onhashchange' in window) {
 <span id="L23" class="LineNr">23 </span>    89/copy                         3/mod/direct    5/rm32/EBP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          4/r32/ESP  <span class="CommentedCode"> . </span>             <span class="CommentedCode"> . </span>                <span class="subxComment"># copy ESP to EBP</span>
 <span id="L24" class="LineNr">24 </span>    <span class="subxComment"># EAX = ascii-length(argv[1])</span>
 <span id="L25" class="LineNr">25 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L26" class="LineNr">26 </span>    ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>          0x8/disp8      <span class="CommentedCode"> . </span>                <span class="subxComment"># push *(EBP+8)</span>
+<span id="L26" class="LineNr">26 </span>    ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>          8/disp8        <span class="CommentedCode"> . </span>                <span class="subxComment"># push *(EBP+8)</span>
 <span id="L27" class="LineNr">27 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L28" class="LineNr">28 </span>    e8/call  ascii-length/disp32
 <span id="L29" class="LineNr">29 </span>    <span class="subxS2Comment"># . . discard args</span>
diff --git a/html/subx/examples/ex9.subx.html b/html/subx/examples/ex9.subx.html
index 0bb4659c..27ac87ea 100644
--- a/html/subx/examples/ex9.subx.html
+++ b/html/subx/examples/ex9.subx.html
@@ -89,7 +89,7 @@ if ('onhashchange' in window) {
 <span id="L28" class="LineNr">28 </span>    <span class="subxS2Comment"># . . push argv[2]</span>
 <span id="L29" class="LineNr">29 </span>    ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>          0xc/disp8      <span class="CommentedCode"> . </span>                <span class="subxComment"># push *(EBP+12)</span>
 <span id="L30" class="LineNr">30 </span>    <span class="subxS2Comment"># . . push argv[1]</span>
-<span id="L31" class="LineNr">31 </span>    ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>          0x8/disp8      <span class="CommentedCode"> . </span>                <span class="subxComment"># push *(EBP+8)</span>
+<span id="L31" class="LineNr">31 </span>    ff          6/subop/push        1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>          8/disp8        <span class="CommentedCode"> . </span>                <span class="subxComment"># push *(EBP+8)</span>
 <span id="L32" class="LineNr">32 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L33" class="LineNr">33 </span>    e8/call  ascii-difference/disp32
 <span id="L34" class="LineNr">34 </span>    <span class="subxS2Comment"># . . discard args</span>