diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-12-08 13:56:46 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-12-08 23:31:05 -0800 |
commit | 2a2a5b1e43b6aa650a41ab1ec68d9778c14cb649 (patch) | |
tree | 734619639755cf5b95490bdc4362bbef0a504881 /065write-buffered.subx | |
parent | a93cd189c95fc82a8f1db4e42e5f278bc642bb0c (diff) | |
download | mu-2a2a5b1e43b6aa650a41ab1ec68d9778c14cb649.tar.gz |
5804
Try to make the comments consistent with the type system we'll eventually have.
Diffstat (limited to '065write-buffered.subx')
-rw-r--r-- | 065write-buffered.subx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/065write-buffered.subx b/065write-buffered.subx index bc829a51..8c7ae9c5 100644 --- a/065write-buffered.subx +++ b/065write-buffered.subx @@ -38,9 +38,9 @@ write-buffered: # f : (address buffered-file), msg : (address array byte) 57/push-edi # eax = msg 8b/copy 1/mod/*+disp8 5/rm32/ebp . . 0/r32/eax 0xc/disp8 . # copy *(ebp+12) to eax - # in/esi = msg->data + # var in/esi : (address byte) = msg->data 8d/copy-address 1/mod/*+disp8 0/rm32/eax . . . 6/r32/esi 4/disp8 . # copy eax+4 to esi - # inend/ecx = &msg->data[msg->length] + # var inend/ecx : (address byte) = &msg->data[msg->length] 8b/copy 0/mod/indirect 0/rm32/eax . . . 1/r32/ecx . . # copy *eax to ecx 8d/copy-address 0/mod/indirect 4/rm32/sib 6/base/esi 1/index/ecx . 1/r32/ecx . . # copy esi+ecx to ecx # edi = f @@ -206,8 +206,8 @@ test-write-buffered-with-intermediate-flush: == data # The buffered file for standard error. -Stderr: - # file descriptor or (address stream) +Stderr: # (ref buffered-file) + # file descriptor or (address stream byte) 2/imm32 # standard error $Stderr->buffer: # inlined fields for a stream |