about summary refs log tree commit diff stats
path: root/083subx-widths.subx
diff options
context:
space:
mode:
Diffstat (limited to '083subx-widths.subx')
-rw-r--r--083subx-widths.subx8
1 files changed, 4 insertions, 4 deletions
diff --git a/083subx-widths.subx b/083subx-widths.subx
index d384ea91..511693b1 100644
--- a/083subx-widths.subx
+++ b/083subx-widths.subx
@@ -8,7 +8,7 @@
 # . op          subop               mod             rm32          base        index         scale       r32
 # . 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
 
-compute-width: # word : (addr array byte) -> eax : int
+compute-width: # word: (addr array byte) -> eax: int
     # . prologue
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp
@@ -16,12 +16,12 @@ compute-width: # word : (addr array byte) -> eax : int
     51/push-ecx
     # eax = word
     8b/copy                         1/mod/*+disp8   5/rm32/ebp    .           .             .           0/r32/eax   8/disp8         .                 # copy *(ebp+8) to ecx
-    # var ecx : (addr byte) = &word[word->length]
+    # var ecx: (addr byte) = &word[word->length]
     8b/copy                         0/mod/indirect  0/rm32/eax    .           .             .           1/r32/ecx   .               .                 # copy *eax to ecx
     8d/copy-address                 1/mod/*+disp8   4/rm32/sib    0/base/eax  1/index/ecx   .           1/r32/ecx   4/disp8         .                 # copy eax+ecx+4 to ecx
     # eax = word->data
     05/add-to-eax  4/imm32
-    # var in/ecx : slice = {eax, ecx}
+    # var in/ecx: slice = {eax, ecx}
     51/push-ecx
     50/push-eax
     89/copy                         3/mod/direct    1/rm32/ecx    .           .             .           4/r32/esp   .               .                 # copy esp to ecx
@@ -42,7 +42,7 @@ $compute-width:end:
     5d/pop-to-ebp
     c3/return
 
-compute-width-of-slice: # s : (addr slice) -> eax : int
+compute-width-of-slice: # s: (addr slice) -> eax: int
     # . prologue
     55/push-ebp
     89/copy                         3/mod/direct    5/rm32/ebp    .           .             .           4/r32/esp   .               .                 # copy esp to ebp