about summary refs log tree commit diff stats
path: root/subx/053new_segment.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-02 14:41:21 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-02 14:41:21 -0800
commitc98d4b1c6ae2d103acc7b4f15e4dc6336f30de17 (patch)
tree46da18e339b2d87fc14b9f064cf1addf04a5ae64 /subx/053new_segment.subx
parentf75f333f52d42908ebf427f04fa6033f285ea5e5 (diff)
downloadmu-c98d4b1c6ae2d103acc7b4f15e4dc6336f30de17.tar.gz
4818
Diffstat (limited to 'subx/053new_segment.subx')
-rw-r--r--subx/053new_segment.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/053new_segment.subx b/subx/053new_segment.subx
index d12c94a0..efbfc1a3 100644
--- a/subx/053new_segment.subx
+++ b/subx/053new_segment.subx
@@ -27,7 +27,7 @@ new-segment:  # len : int -> address
     55/push-EBP
     89/copy                         3/mod/direct    5/rm32/EBP    .           .             .           4/r32/ESP   .               .                       # copy ESP to EBP
     53/push-EBX
-    # copy len to _mmap-new-segment.len
+    # copy len to _mmap-new-segment->len
     # TODO: compute _mmap-new-segment+4 before runtime
     8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none  .           0/r32/EAX   8/disp8         .                       # copy *(EBP+8) to EAX
     bb/copy-to-EBX  _mmap-new-segment/imm32