diff options
Diffstat (limited to 'html/084emit-hex-array.subx.html')
-rw-r--r-- | html/084emit-hex-array.subx.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/084emit-hex-array.subx.html b/html/084emit-hex-array.subx.html index 22af54c8..288edd92 100644 --- a/html/084emit-hex-array.subx.html +++ b/html/084emit-hex-array.subx.html @@ -16,13 +16,13 @@ a { color:inherit; } * { font-size:12pt; font-size: 1em; } .subxComment { color: #005faf; } .subxS2Comment { color: #8a8a8a; } +.subxTest { color: #5f8700; } +.subxFunction { color: #af5f00; text-decoration: underline; } .LineNr { } .subxS1Comment { color: #0000af; } -.subxFunction { color: #af5f00; text-decoration: underline; } .Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; } .Folded { color: #080808; background-color: #949494; } .Constant { color: #008787; } -.subxTest { color: #5f8700; } --> </style> @@ -79,7 +79,7 @@ if ('onhashchange' in window) { <span id="L19" class="LineNr"> 19 </span> 8b/copy 1/mod/*+disp8 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 2/r32/edx 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ebp+12) to edx</span> <span id="L20" class="LineNr"> 20 </span> <span class="subxComment"># var curr/ecx: (addr byte) = arr->data</span> <span id="L21" class="LineNr"> 21 </span> 8d/copy-address 1/mod/*+disp8 2/rm32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 1/r32/ecx 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy edx+4 to ecx</span> -<span id="L22" class="LineNr"> 22 </span> <span class="subxComment"># var max/edx: (addr byte) = &arr->data[arr->length]</span> +<span id="L22" class="LineNr"> 22 </span> <span class="subxComment"># var max/edx: (addr byte) = &arr->data[arr->size]</span> <span id="L23" class="LineNr"> 23 </span> 8b/copy 0/mod/indirect 2/rm32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 2/r32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *edx to edx</span> <span id="L24" class="LineNr"> 24 </span> 01/add 3/mod/direct 2/rm32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 1/r32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># add ecx to edx</span> <span id="L25" class="LineNr"> 25 </span> <span class="subxComment"># var c/eax: byte = 0</span> @@ -133,7 +133,7 @@ if ('onhashchange' in window) { <span id="L73" class="LineNr"> 73 </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="L74" class="LineNr"> 74 </span> <span class="subxComment"># var arr/ecx (array byte) = [01, 02, 03]</span> <span id="L75" class="LineNr"> 75 </span> 68/push 0x00030201/imm32 <span class="subxComment"># bytes 01 02 03</span> -<span id="L76" class="LineNr"> 76 </span> 68/push 3/imm32/length +<span id="L76" class="LineNr"> 76 </span> 68/push 3/imm32/size <span id="L77" class="LineNr"> 77 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> <span id="L78" class="LineNr"> 78 </span> <span class="subxComment"># emit-hex-array(_test-output-buffered-file, arr)</span> <span id="L79" class="LineNr"> 79 </span> <span class="subxS2Comment"># . . push args</span> |