diff options
Diffstat (limited to 'html/subx/050_write.subx.html')
-rw-r--r-- | html/subx/050_write.subx.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/html/subx/050_write.subx.html b/html/subx/050_write.subx.html index b7e6bffc..78d9cf0c 100644 --- a/html/subx/050_write.subx.html +++ b/html/subx/050_write.subx.html @@ -18,6 +18,7 @@ a { color:inherit; } .subxS2Comment { color: #8a8a8a; } .LineNr { } .subxS1Comment { color: #0000af; } +.SpecialChar { color: #d70000; } .Constant { color: #008787; } .subxMinorFunction { color: #875f5f; } .Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; } @@ -63,8 +64,8 @@ if ('onhashchange' in window) { <span id="L5" class="LineNr"> 5 </span><span class="subxS1Comment"># . op subop mod rm32 base index scale r32</span> <span id="L6" class="LineNr"> 6 </span><span class="subxS1Comment"># . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes</span> <span id="L7" class="LineNr"> 7 </span> -<span id="L8" class="LineNr"> 8 </span><span class="subxComment"># main:</span> -<span id="L9" class="LineNr"> 9 </span> <span class="subxComment"># syscall(exit, 0) -- can't test _write just yet</span> +<span id="L8" class="LineNr"> 8 </span><span class="SpecialChar">Entry</span>: <span class="subxComment"># just exit; can't test _write just yet</span> +<span id="L9" class="LineNr"> 9 </span> <span class="subxS1Comment"># . syscall(exit, 0)</span> <span id="L10" class="LineNr">10 </span> bb/copy-to-EBX 0/imm32 <span id="L11" class="LineNr">11 </span> b8/copy-to-EAX 1/imm32/exit <span id="L12" class="LineNr">12 </span> cd/syscall 0x80/imm8 |