about summary refs log tree commit diff stats
path: root/html/subx/examples/ex3.subx.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/subx/examples/ex3.subx.html')
-rw-r--r--html/subx/examples/ex3.subx.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/html/subx/examples/ex3.subx.html b/html/subx/examples/ex3.subx.html
index 533bea07..d814af53 100644
--- a/html/subx/examples/ex3.subx.html
+++ b/html/subx/examples/ex3.subx.html
@@ -23,6 +23,7 @@ body { font-size:12pt; font-family: monospace; color: #aaaaaa; background-color:
 .LineNr { color:#444444; }
 .subxS1Comment { color:#2d8cff; }
 .CommentedCode { color: #6c6c6c; }
+.Constant { color:#00a0a0; }
 -->
 </style>
 
@@ -77,7 +78,7 @@ if ('onhashchange' in window) {
 <span id="L17" class="LineNr">17 </span>    <span class="subxComment"># counter: ECX = 1</span>
 <span id="L18" class="LineNr">18 </span>    b9/copy-to-ECX  1/imm32
 <span id="L19" class="LineNr">19 </span>
-<span id="L20" class="LineNr">20 </span>$loop:
+<span id="L20" class="LineNr">20 </span><span class="Constant">$loop</span>:
 <span id="L21" class="LineNr">21 </span>    <span class="subxComment"># while (counter &lt;= 10)</span>
 <span id="L22" class="LineNr">22 </span>    81          7/subop/compare     3/mod/direct    1/rm32/ECX   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              0xa/imm32         <span class="subxComment"># compare ECX</span>
 <span id="L23" class="LineNr">23 </span>    7f/jump-if-greater  $exit/disp8
@@ -88,7 +89,7 @@ if ('onhashchange' in window) {
 <span id="L28" class="LineNr">28 </span>    <span class="subxComment"># loop</span>
 <span id="L29" class="LineNr">29 </span>    eb/jump  $loop/disp8
 <span id="L30" class="LineNr">30 </span>
-<span id="L31" class="LineNr">31 </span>$exit:
+<span id="L31" class="LineNr">31 </span><span class="Constant">$exit</span>:
 <span id="L32" class="LineNr">32 </span>    <span class="subxComment"># syscall(exit, EBX)</span>
 <span id="L33" class="LineNr">33 </span>    b8/copy-to-EAX  1/imm32
 <span id="L34" class="LineNr">34 </span>    cd/syscall  0x80/imm8