about summary refs log tree commit diff stats
path: root/html/subx/053new-segment.subx.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/subx/053new-segment.subx.html')
-rw-r--r--html/subx/053new-segment.subx.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/html/subx/053new-segment.subx.html b/html/subx/053new-segment.subx.html
index cce753d5..d2aa0b40 100644
--- a/html/subx/053new-segment.subx.html
+++ b/html/subx/053new-segment.subx.html
@@ -19,6 +19,7 @@ a { color:inherit; }
 .subxMinorFunction { color: #875f5f; }
 .LineNr { }
 .subxS1Comment { color: #0000af; }
+.SpecialChar { color: #d70000; }
 .subxFunction { color: #af5f00; text-decoration: underline; }
 .Constant { color: #008787; }
 .Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; }
@@ -64,7 +65,7 @@ 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:  (manual test if this is the last file loaded)</span>
+<span id="L8" class="LineNr"> 8 </span><span class="SpecialChar">Entry</span>:   <span class="subxComment"># manual test</span>
 <span id="L9" class="LineNr"> 9 </span>    <span class="subxComment"># EAX = new-segment(0x1000)</span>
 <span id="L10" class="LineNr">10 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L11" class="LineNr">11 </span>    68/push  0x1000/imm32
@@ -107,17 +108,17 @@ if ('onhashchange' in window) {
 <span id="L48" class="LineNr">48 </span><span class="subxComment"># various constants used here were found in the Linux sources (search for file mman-common.h)</span>
 <span id="L49" class="LineNr">49 </span><span class="subxMinorFunction">_mmap-new-segment</span>:  <span class="subxComment"># type mmap_arg_struct</span>
 <span id="L50" class="LineNr">50 </span>    <span class="subxComment"># addr</span>
-<span id="L51" class="LineNr">51 </span>    00 00 00 00  <span class="subxComment"># null</span>
+<span id="L51" class="LineNr">51 </span>    0/imm32
 <span id="L52" class="LineNr">52 </span>    <span class="subxComment"># len</span>
-<span id="L53" class="LineNr">53 </span>    00 00 00 00  <span class="subxComment"># 0x1000</span>
+<span id="L53" class="LineNr">53 </span>    0/imm32
 <span id="L54" class="LineNr">54 </span>    <span class="subxComment"># protection flags</span>
-<span id="L55" class="LineNr">55 </span>    03 00 00 00  <span class="subxComment"># PROT_READ | PROT_WRITE</span>
+<span id="L55" class="LineNr">55 </span>    3/imm32  <span class="subxComment"># PROT_READ | PROT_WRITE</span>
 <span id="L56" class="LineNr">56 </span>    <span class="subxComment"># sharing flags</span>
-<span id="L57" class="LineNr">57 </span>    22 00 00 00  <span class="subxComment"># MAP_PRIVATE | MAP_ANONYMOUS</span>
+<span id="L57" class="LineNr">57 </span>    0x22/imm32  <span class="subxComment"># MAP_PRIVATE | MAP_ANONYMOUS</span>
 <span id="L58" class="LineNr">58 </span>    <span class="subxComment"># fd</span>
-<span id="L59" class="LineNr">59 </span>    ff ff ff ff  <span class="subxComment"># -1 since MAP_ANONYMOUS is specified</span>
+<span id="L59" class="LineNr">59 </span>    -1/imm32  <span class="subxComment"># since MAP_ANONYMOUS is specified</span>
 <span id="L60" class="LineNr">60 </span>    <span class="subxComment"># offset</span>
-<span id="L61" class="LineNr">61 </span>    00 00 00 00  <span class="subxComment"># 0 since MAP_ANONYMOUS is specified</span>
+<span id="L61" class="LineNr">61 </span>    0/imm32  <span class="subxComment"># since MAP_ANONYMOUS is specified</span>
 <span id="L62" class="LineNr">62 </span>
 <span id="L63" class="LineNr">63 </span><span class="subxS2Comment"># . . vim&#0058;nowrap:textwidth=0</span>
 </pre>