about summary refs log tree commit diff stats
path: root/html/examples
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-09-20 11:19:30 -0700
committerKartik Agaram <vc@akkartik.com>2019-09-20 11:25:59 -0700
commit4a4a392dc7c81b301ad6b760525c5549f2f6644c (patch)
tree9ce3225fd2b87c57090509d0fd42a9d4147d1b2e /html/examples
parent0ca3aa4acce4f5a1378f87754761197673cdd6db (diff)
downloadmu-4a4a392dc7c81b301ad6b760525c5549f2f6644c.tar.gz
5683
Diffstat (limited to 'html/examples')
-rw-r--r--html/examples/ex10.subx.html4
-rw-r--r--html/examples/ex11.subx.html4
-rw-r--r--html/examples/ex3.subx.html2
-rw-r--r--html/examples/ex8.subx.html2
4 files changed, 6 insertions, 6 deletions
diff --git a/html/examples/ex10.subx.html b/html/examples/ex10.subx.html
index df869486..553af66a 100644
--- a/html/examples/ex10.subx.html
+++ b/html/examples/ex10.subx.html
@@ -104,7 +104,7 @@ if ('onhashchange' in window) {
 <span id="L45" class="LineNr">45 </span>    8a/copy-byte                    0/mod/indirect  2/rm32/edx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/BL   <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy byte at *edx to BL</span>
 <span id="L46" class="LineNr">46 </span>    <span class="subxComment"># if (c1 == 0) break</span>
 <span id="L47" class="LineNr">47 </span>    3d/compare-eax-and  0/imm32
-<span id="L48" class="LineNr">48 </span>    74/jump-if-equal  $argv-equal:break/disp8
+<span id="L48" class="LineNr">48 </span>    74/jump-if-equal  $argv-equal:<span class="Constant">break</span>/disp8
 <span id="L49" class="LineNr">49 </span>    <span class="subxComment"># if (c1 != c2) return false</span>
 <span id="L50" class="LineNr">50 </span>    39/compare                      3/mod/direct    0/rm32/eax   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/ebx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># compare eax and ebx</span>
 <span id="L51" class="LineNr">51 </span>    75/jump-if-not-equal  $argv-equal:false/disp8
@@ -112,7 +112,7 @@ if ('onhashchange' in window) {
 <span id="L53" class="LineNr">53 </span>    41/increment-ecx
 <span id="L54" class="LineNr">54 </span>    42/increment-edx
 <span id="L55" class="LineNr">55 </span>    <span class="subxComment"># end while</span>
-<span id="L56" class="LineNr">56 </span>    eb/jump  $argv-equal:loop/disp8
+<span id="L56" class="LineNr">56 </span>    eb/jump  $argv-equal:<span class="Constant">loop</span>/disp8
 <span id="L57" class="LineNr">57 </span><span class="Constant">$argv-equal:break</span>:
 <span id="L58" class="LineNr">58 </span>    <span class="subxComment"># if (c2 == 0) return true</span>
 <span id="L59" class="LineNr">59 </span>    81          7/subop/compare     3/mod/direct    3/rm32/ebx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              0/imm32           <span class="subxComment"># compare ebx</span>
diff --git a/html/examples/ex11.subx.html b/html/examples/ex11.subx.html
index 51d220e5..40f2d124 100644
--- a/html/examples/ex11.subx.html
+++ b/html/examples/ex11.subx.html
@@ -135,7 +135,7 @@ if ('onhashchange' in window) {
 <span id="L73" class="LineNr"> 73 </span><span class="Constant">$kernel-string-equal?:loop</span>:
 <span id="L74" class="LineNr"> 74 </span>    <span class="subxComment"># if (i &gt;= n) break</span>
 <span id="L75" class="LineNr"> 75 </span>    39/compare                      3/mod/direct    1/rm32/ecx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># compare ecx with edx</span>
-<span id="L76" class="LineNr"> 76 </span>    7d/jump-if-greater-or-equal  $kernel-string-equal?:break/disp8
+<span id="L76" class="LineNr"> 76 </span>    7d/jump-if-greater-or-equal  $kernel-string-equal?:<span class="Constant">break</span>/disp8
 <span id="L77" class="LineNr"> 77 </span>    <span class="subxComment"># c1 = *s1</span>
 <span id="L78" class="LineNr"> 78 </span>    8a/copy-byte                    0/mod/indirect  7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/AL   <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy byte at *edi to AL</span>
 <span id="L79" class="LineNr"> 79 </span>    <span class="subxComment"># c2 = *s2</span>
@@ -152,7 +152,7 @@ if ('onhashchange' in window) {
 <span id="L90" class="LineNr"> 90 </span>    47/increment-edi
 <span id="L91" class="LineNr"> 91 </span>    <span class="subxComment"># ++s2</span>
 <span id="L92" class="LineNr"> 92 </span>    46/increment-esi
-<span id="L93" class="LineNr"> 93 </span>    eb/jump  $kernel-string-equal?:loop/disp8
+<span id="L93" class="LineNr"> 93 </span>    eb/jump  $kernel-string-equal?:<span class="Constant">loop</span>/disp8
 <span id="L94" class="LineNr"> 94 </span><span class="Constant">$kernel-string-equal?:break</span>:
 <span id="L95" class="LineNr"> 95 </span>    <span class="subxComment"># return *s1 == 0</span>
 <span id="L96" class="LineNr"> 96 </span>    8a/copy-byte                    0/mod/indirect  7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          0/r32/AL   <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy byte at *edi to AL</span>
diff --git a/html/examples/ex3.subx.html b/html/examples/ex3.subx.html
index 5ca5eac7..7c3da099 100644
--- a/html/examples/ex3.subx.html
+++ b/html/examples/ex3.subx.html
@@ -85,7 +85,7 @@ if ('onhashchange' in window) {
 <span id="L27" class="LineNr">27 </span>    <span class="subxComment"># ++counter</span>
 <span id="L28" class="LineNr">28 </span>    41/increment-ecx
 <span id="L29" class="LineNr">29 </span>    <span class="subxComment"># loop</span>
-<span id="L30" class="LineNr">30 </span>    eb/jump  $loop/disp8
+<span id="L30" class="LineNr">30 </span>    eb/jump  $<span class="Constant">loop</span>/disp8
 <span id="L31" class="LineNr">31 </span>
 <span id="L32" class="LineNr">32 </span><span class="Constant">$exit</span>:
 <span id="L33" class="LineNr">33 </span>    <span class="subxComment"># exit(ebx)</span>
diff --git a/html/examples/ex8.subx.html b/html/examples/ex8.subx.html
index 29fd713d..2a2c0741 100644
--- a/html/examples/ex8.subx.html
+++ b/html/examples/ex8.subx.html
@@ -109,7 +109,7 @@ if ('onhashchange' in window) {
 <span id="L50" class="LineNr">50 </span>    <span class="subxComment"># ++result</span>
 <span id="L51" class="LineNr">51 </span>    40/increment-eax
 <span id="L52" class="LineNr">52 </span>    <span class="subxComment"># loop</span>
-<span id="L53" class="LineNr">53 </span>    eb/jump  $ascii-length:loop/disp8
+<span id="L53" class="LineNr">53 </span>    eb/jump  $ascii-length:<span class="Constant">loop</span>/disp8
 <span id="L54" class="LineNr">54 </span><span class="Constant">$ascii-length:end</span>:
 <span id="L55" class="LineNr">55 </span>    <span class="subxComment"># return eax</span>
 <span id="L56" class="LineNr">56 </span>    c3/return