about summary refs log tree commit diff stats
path: root/083subx-widths.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-03 01:36:34 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-03 01:36:34 -0800
commit7e7a8a6eaeb4c22acb94aaca87a7b15c180ca077 (patch)
tree405503a31b48f5c5e13f103efc5762e57b290625 /083subx-widths.subx
parentc9bda4d13ea33873dd5bce1eef0434cb11763d19 (diff)
downloadmu-7e7a8a6eaeb4c22acb94aaca87a7b15c180ca077.tar.gz
5876 - address -> addr
Diffstat (limited to '083subx-widths.subx')
-rw-r--r--083subx-widths.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/083subx-widths.subx b/083subx-widths.subx
index db5b84ba..524dd465 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 : (address 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,7 +16,7 @@ compute-width: # word : (address 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 : (address 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
@@ -42,7 +42,7 @@ $compute-width:end:
     5d/pop-to-ebp
     c3/return
 
-compute-width-of-slice: # s : (address 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