about summary refs log tree commit diff stats
path: root/subx/055trace.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-30 22:38:37 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-30 22:38:37 -0700
commit2f55dd757e4ae68849baf5481ff099ab3be29092 (patch)
tree61fef1054f8dd3689e2ec7e746e88504fa7369c7 /subx/055trace.subx
parentdd63f4dcb43a4271e620a125c4110a72e25f65a9 (diff)
downloadmu-2f55dd757e4ae68849baf5481ff099ab3be29092.tar.gz
4739
Diffstat (limited to 'subx/055trace.subx')
-rw-r--r--subx/055trace.subx6
1 files changed, 3 insertions, 3 deletions
diff --git a/subx/055trace.subx b/subx/055trace.subx
index 00fb2208..f547e650 100644
--- a/subx/055trace.subx
+++ b/subx/055trace.subx
@@ -153,11 +153,11 @@ _append-3:  # out : address, outend : address, s : (array byte) -> num_bytes_app
   8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none              2/r32/EDX   0xc/disp8       .                 # copy *(EBP+12) to EDX
   # ESI = s
   8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none              6/r32/ESI   0x10/disp8      .                 # copy *(EBP+16) to ESI
-  # ECX = line.length
+  # ECX = s.length
   8b/copy                         0/mod/indirect  6/rm32/ESI    .           .             .           1/r32/ECX   .               .                 # copy *ESI to ECX
-  # ECX/srcend = &line.data[line.length]
+  # ECX/srcend = &s.data[s.length]
   8d/copy-address                 1/mod/*+disp8   4/rm32/sib    6/base/ESI  1/index/ECX   .           1/r32/ECX   4/disp8         .                 # copy ESI+ECX+4 to ECX
-  # ESI/src = &line.data[0]
+  # ESI/src = &s.data[0]
   81          0/subop/add         3/mod/direct    6/rm32/ESI    .           .             .           .           .               4/imm32           # add to ESI
 $_append-3:loop:
   # if ESI/src >= ECX/srcend break