about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--subx/058read.subx8
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/058read.subx b/subx/058read.subx
index 7917faa5..3b7bc792 100644
--- a/subx/058read.subx
+++ b/subx/058read.subx
@@ -75,11 +75,11 @@ $read:fake:
   56/push-ESI
   57/push-EDI
   # ESI = f
-  8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none              6/r32/ESI   8/disp8         .                 # copy *(EBP+8) to ESI
+  8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none  .           6/r32/ESI   8/disp8         .                 # copy *(EBP+8) to ESI
   # EDI = s
-  8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none              7/r32/EDI   0xc/disp8       .                 # copy *(EBP+12) to ESI
+  8b/copy                         1/mod/*+disp8   4/rm32/sib    5/base/EBP  4/index/none  .           7/r32/EDI   0xc/disp8       .                 # copy *(EBP+12) to ESI
   # EAX = _append-4(out = &s->data[s->write], outend = &s->data[s->length],
-  #                 in  = &f->data[f->read],  inend =  &f->data[f->write])
+  #                 in  = &f->data[f->read],  inend  = &f->data[f->write])
     # push &f->data[f->write]
   8b/copy                         0/mod/indirect  6/rm32/ESI    .           .             .           0/r32/EAX   .               .                 # copy *ESI to EAX
   8d/copy-address                 1/mod/*+disp8   4/rm32/sib    6/base/ESI  0/index/EAX   .           0/r32/EAX   0xc/disp8       .                 # copy ESI+EAX+12 to EAX
@@ -115,7 +115,7 @@ $read:end:
 
 ## helpers
 
-# idea: we could create a clear-if-empty method that clears only if f.read == f.write
+# idea: a clear-if-empty method on streams that clears only if f.read == f.write
 # Unclear how I'd use it, though. Callers seem to need the check anyway.
 # Maybe a better helper would be 'empty-stream?'
 
2:39:31 -0800 committer Kartik K. Agaram <vc@akkartik.com> 2018-01-25 22:39:31 -0800 4199' href='/akkartik/mu/commit/html/http-client.mu.html?h=main&id=805d58c6aeeeba3e4989c0eed6781b3861e8fae0'>805d58c6 ^
fe8bf967 ^
805d58c6 ^

4bb57a55 ^


d059fe74 ^





e5c11a51 ^






















d059fe74 ^


e5c11a51 ^
d059fe74 ^
204dae92 ^

b301e0c0 ^
204dae92 ^
4a48bedc ^
5fe060d5 ^
4a48bedc ^

b301e0c0 ^
4a48bedc ^
805d58c6 ^









4a48bedc ^
b301e0c0 ^
4a48bedc ^
5fe060d5 ^
4a48bedc ^
5fe060d5 ^
4a48bedc ^


d059fe74 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92