diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-06 18:39:16 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-06 18:39:16 -0800 |
commit | ee0e67b9d7c275480827d856b926d2c403057bb8 (patch) | |
tree | 4c64d0b7bd4f25292fa73868a7ad3a7820ae4644 /html/apps/pack.subx.html | |
parent | 8f256f1f2ee6a2a49816dd23d26cd120f526bf0b (diff) | |
download | mu-ee0e67b9d7c275480827d856b926d2c403057bb8.tar.gz |
6091
Diffstat (limited to 'html/apps/pack.subx.html')
-rw-r--r-- | html/apps/pack.subx.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/apps/pack.subx.html b/html/apps/pack.subx.html index 7bf6cc71..a01556fc 100644 --- a/html/apps/pack.subx.html +++ b/html/apps/pack.subx.html @@ -65,8 +65,8 @@ if ('onhashchange' in window) { <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># uses are left untouched.</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/pack.subx -o apps/pack</span> -<span id="L7" class="LineNr"> 7 </span><span class="subxComment"># $ echo '05/add-to-eax 0x20/imm32' |./subx run apps/pack</span> +<span id="L6" class="LineNr"> 6 </span><span class="subxComment"># $ ./bootstrap translate init.linux 0*.subx apps/subx-params.subx apps/pack.subx -o apps/pack</span> +<span id="L7" class="LineNr"> 7 </span><span class="subxComment"># $ echo '05/add-to-eax 0x20/imm32' |./bootstrap run apps/pack</span> <span id="L8" class="LineNr"> 8 </span><span class="subxComment"># Expected output:</span> <span id="L9" class="LineNr"> 9 </span><span class="subxComment"># 05 20 00 00 00 # 05/add-to-eax 0x20/imm32</span> <span id="L10" class="LineNr"> 10 </span><span class="subxComment"># The original instruction gets included as a comment at the end of each</span> @@ -4721,7 +4721,7 @@ if ('onhashchange' in window) { <span id="L5864" class="LineNr">5864 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5865" class="LineNr">5865 </span> 51/push-ecx <span id="L5866" class="LineNr">5866 </span> <span class="subxS2Comment"># . . call</span> -<span id="L5867" class="LineNr">5867 </span> e8/call <a href='../067parse-hex.subx.html#L354'>parse-hex-int-from-slice</a>/disp32 +<span id="L5867" class="LineNr">5867 </span> e8/call <a href='../067parse-hex.subx.html#L387'>parse-hex-int-from-slice</a>/disp32 <span id="L5868" class="LineNr">5868 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5869" class="LineNr">5869 </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="L5870" class="LineNr">5870 </span><span class="Constant">$parse-datum-of-word:end</span>: |