Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ print_byte:
add rsp, 8 ; restore stack
pop rcx ; restore rcx
inc rcx
cmp rcx, [rbp - 80]
cmp rcx, [rbp - 88]
jl print_byte

; Final puts
Expand Down
2 changes: 1 addition & 1 deletion labs/lab-10/tasks/read-stdin-gets/support/read_stdin.asm
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ print_byte:
pop rcx ; restore rcx

inc rcx
cmp rcx, [rbp - 80]
cmp rcx, [rbp - 88]
jl print_byte

mov rdi, null_string
Expand Down
Loading