about summary refs log tree commit diff stats
path: root/html/subx/examples/ex8.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-01-12 22:24:06 -0800
committerKartik Agaram <vc@akkartik.com>2019-01-12 22:24:06 -0800
commit220ac389640887388da2f9276b063e722b0c0f37 (patch)
tree5f53a611a8c10f364e7355e14abef7e235f26be2 /html/subx/examples/ex8.subx.html
parente92fa89edfd0236e655cea5d69c47aece40385a2 (diff)
downloadmu-220ac389640887388da2f9276b063e722b0c0f37.tar.gz
4923
We want slice-equal? for length-prefixed strings, not null-terminated "kernel"
strings.
Diffstat (limited to 'html/subx/examples/ex8.subx.html')
-rw-r--r--html/subx/examples/ex8.subx.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/subx/examples/ex8.subx.html b/html/subx/examples/ex8.subx.html
index 8495f188..e0f26b54 100644
--- a/html/subx/examples/ex8.subx.html
+++ b/html/subx/examples/ex8.subx.html
@@ -104,7 +104,7 @@ if ('onhashchange' in window) {
 <span id="L46" class="LineNr">46 </span>    81          7/subop/compare     3/mod/direct    1/rm32/ECX   <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 ECX</span>
 <span id="L47" class="LineNr">47 </span>    74/jump-if-equal  $ascii-length-ret/disp8
 <span id="L48" class="LineNr">48 </span>    <span class="subxComment"># ++s</span>
-<span id="L49" class="LineNr">49 </span>    81          0/subop/add         3/mod/direct    2/rm32/EDX   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              1/imm32           <span class="subxComment"># add to EDX</span>
+<span id="L49" class="LineNr">49 </span>    42/increment-EDX
 <span id="L50" class="LineNr">50 </span>    <span class="subxComment"># ++result</span>
 <span id="L51" class="LineNr">51 </span>    40/inc-EAX
 <span id="L52" class="LineNr">52 </span>    <span class="subxComment"># loop</span>