diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-11-30 20:01:41 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-11-30 20:01:41 -0800 |
commit | c6f522007de6f96e79d52ae9db2e23333c318c8f (patch) | |
tree | 545d6db816273a4099c45bc854728e2e13421449 /html/subx/examples/ex6.subx.html | |
parent | 87c606ee062077f51c37e819e458ddf9a6ef8bc9 (diff) | |
download | mu-c6f522007de6f96e79d52ae9db2e23333c318c8f.tar.gz |
4811
Diffstat (limited to 'html/subx/examples/ex6.subx.html')
-rw-r--r-- | html/subx/examples/ex6.subx.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/subx/examples/ex6.subx.html b/html/subx/examples/ex6.subx.html index a987f60c..092685e2 100644 --- a/html/subx/examples/ex6.subx.html +++ b/html/subx/examples/ex6.subx.html @@ -74,9 +74,9 @@ if ('onhashchange' in window) { <span id="L14" class="LineNr">14 </span> <span class="subxS1Comment"># . fd = 1 (stdout)</span> <span id="L15" class="LineNr">15 </span> bb/copy-to-EBX 1/imm32 <span id="L16" class="LineNr">16 </span> <span class="subxS1Comment"># . initialize X (location to write result to)</span> -<span id="L17" class="LineNr">17 </span> b9/copy-to-ECX <span class="SpecialChar"> X</span>/imm32 +<span id="L17" class="LineNr">17 </span> b9/copy-to-ECX <span class="SpecialChar">X</span>/imm32 <span id="L18" class="LineNr">18 </span> <span class="subxS1Comment"># . initialize Size</span> -<span id="L19" class="LineNr">19 </span> 8b/copy 0/mod/indirect 5/rm32/.disp32 <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 2/r32/EDX <span class="SpecialChar"> Size</span>/disp32 <span class="CommentedCode"> . </span> <span class="subxComment"># copy *Size to EDX</span> +<span id="L19" class="LineNr">19 </span> 8b/copy 0/mod/indirect 5/rm32/.disp32 <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 2/r32/EDX <span class="SpecialChar">Size</span>/disp32 <span class="CommentedCode"> . </span> <span class="subxComment"># copy *Size to EDX</span> <span id="L20" class="LineNr">20 </span> <span class="subxS1Comment"># . syscall</span> <span id="L21" class="LineNr">21 </span> b8/copy-to-EAX 4/imm32/write <span id="L22" class="LineNr">22 </span> cd/syscall 0x80/imm8 |