about summary refs log tree commit diff stats
path: root/html/apps/hex.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-03-06 18:39:16 -0800
committerKartik Agaram <vc@akkartik.com>2020-03-06 18:39:16 -0800
commitee0e67b9d7c275480827d856b926d2c403057bb8 (patch)
tree4c64d0b7bd4f25292fa73868a7ad3a7820ae4644 /html/apps/hex.subx.html
parent8f256f1f2ee6a2a49816dd23d26cd120f526bf0b (diff)
downloadmu-ee0e67b9d7c275480827d856b926d2c403057bb8.tar.gz
6091
Diffstat (limited to 'html/apps/hex.subx.html')
-rw-r--r--html/apps/hex.subx.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/html/apps/hex.subx.html b/html/apps/hex.subx.html
index 4018c82f..936a37e5 100644
--- a/html/apps/hex.subx.html
+++ b/html/apps/hex.subx.html
@@ -64,8 +64,8 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr">   3 </span><span class="subxComment"># comments between '#' and newline.</span>
 <span id="L4" class="LineNr">   4 </span><span class="subxComment">#</span>
 <span id="L5" class="LineNr">   5 </span><span class="subxComment"># To run:</span>
-<span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ ./subx translate init.linux 0*.subx apps/subx-params.subx apps/hex.subx  -o apps/hex</span>
-<span id="L7" class="LineNr">   7 </span><span class="subxComment">#   $ echo '80 81 82  # comment'  |./subx run apps/hex  |xxd -</span>
+<span id="L6" class="LineNr">   6 </span><span class="subxComment">#   $ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/hex.subx  -o apps/hex</span>
+<span id="L7" class="LineNr">   7 </span><span class="subxComment">#   $ echo '80 81 82  # comment'  |./bootstrap run apps/hex  |xxd -</span>
 <span id="L8" class="LineNr">   8 </span><span class="subxComment"># Expected output:</span>
 <span id="L9" class="LineNr">   9 </span><span class="subxComment">#   00000000: 8081 82</span>
 <span id="L10" class="LineNr">  10 </span><span class="subxComment">#</span>
@@ -225,7 +225,7 @@ if ('onhashchange' in window) {
 <span id="L164" class="LineNr"> 164 </span>    3d/compare-eax-and  0xffffffff/imm32/Eof
 <span id="L165" class="LineNr"> 165 </span>    74/jump-if-=  $convert-next-octet:end/disp8
 <span id="L166" class="LineNr"> 166 </span>    <span class="subxComment"># eax = from-hex-char(eax)</span>
-<span id="L167" class="LineNr"> 167 </span>    e8/call <a href='../067parse-hex.subx.html#L803'>from-hex-char</a>/disp32
+<span id="L167" class="LineNr"> 167 </span>    e8/call <a href='../067parse-hex.subx.html#L864'>from-hex-char</a>/disp32
 <span id="L168" class="LineNr"> 168 </span>    <span class="subxComment"># ecx = eax</span>
 <span id="L169" class="LineNr"> 169 </span>    89/copy                         3/mod/direct    1/rm32/ecx   <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 ecx</span>
 <span id="L170" class="LineNr"> 170 </span>    <span class="subxComment"># eax = scan-next-byte(in, err, ed)</span>
@@ -250,7 +250,7 @@ if ('onhashchange' in window) {
 <span id="L189" class="LineNr"> 189 </span>    e8/call  <a href='../068error-byte.subx.html#L27'>error-byte</a>/disp32  <span class="subxComment"># never returns</span>
 <span id="L190" class="LineNr"> 190 </span><span class="Constant">$convert-next-octet:convert</span>:
 <span id="L191" class="LineNr"> 191 </span>    <span class="subxComment"># eax = from-hex-char(eax)</span>
-<span id="L192" class="LineNr"> 192 </span>    e8/call <a href='../067parse-hex.subx.html#L803'>from-hex-char</a>/disp32
+<span id="L192" class="LineNr"> 192 </span>    e8/call <a href='../067parse-hex.subx.html#L864'>from-hex-char</a>/disp32
 <span id="L193" class="LineNr"> 193 </span>    <span class="subxComment"># eax = (ecx &lt;&lt; 4) | eax</span>
 <span id="L194" class="LineNr"> 194 </span>    <span class="subxS1Comment"># . ecx &lt;&lt;= 4</span>
 <span id="L195" class="LineNr"> 195 </span>    c1/shift    4/subop/left        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>              4/imm8            <span class="subxComment"># shift ecx left by 4 bits</span>
@@ -574,7 +574,7 @@ if ('onhashchange' in window) {
 <span id="L513" class="LineNr"> 513 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L514" class="LineNr"> 514 </span>    50/push-eax
 <span id="L515" class="LineNr"> 515 </span>    <span class="subxS2Comment"># . . call</span>
-<span id="L516" class="LineNr"> 516 </span>    e8/call  <a href='../067parse-hex.subx.html#L640'>is-hex-digit?</a>/disp32
+<span id="L516" class="LineNr"> 516 </span>    e8/call  <a href='../067parse-hex.subx.html#L701'>is-hex-digit?</a>/disp32
 <span id="L517" class="LineNr"> 517 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L518" class="LineNr"> 518 </span>    81          0/subop/add         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>              4/imm32           <span class="subxComment"># add to esp</span>
 <span id="L519" class="LineNr"> 519 </span>    <span class="subxS1Comment"># . compare with 'false'</span>