aboutsummaryrefslogtreecommitdiffstats
path: root/cat.s
diff options
context:
space:
mode:
Diffstat (limited to 'cat.s')
-rw-r--r--cat.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/cat.s b/cat.s
index 37ade09..ec2106a 100644
--- a/cat.s
+++ b/cat.s
@@ -77,7 +77,9 @@ process_fd:
call outpstring
mov rcx, [r10]
and rcx, 0xff
+ mov rax, 128
sub rcx, rax
+ sub [r10], rax
jmp .docaret
.endsmflushandcont:
mov [smallbuf], rcx