diff options
| author | Andreas Kapp Lindquist <alind24@student.sdu.dk> | 2025-10-08 12:23:06 +0200 |
|---|---|---|
| committer | mithe24 <mithe24@student.sdu.dk> | 2025-10-29 13:49:57 +0100 |
| commit | 202a8205a2e726b753ea83f2a65cb1b52cc470c4 (patch) | |
| tree | cc865f8ed20850e6ef4121f7cd95a8ef2963ffb6 /src | |
| parent | d716d7df9657e1f8d9ebd7dd829b0207871970a5 (diff) | |
| download | sorter-202a8205a2e726b753ea83f2a65cb1b52cc470c4.tar.gz sorter-202a8205a2e726b753ea83f2a65cb1b52cc470c4.zip | |
docs(file_parser): return type
Diffstat (limited to 'src')
| -rw-r--r-- | src/file_parser.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_parser.s b/src/file_parser.s index 4c5bd44..b63708f 100644 --- a/src/file_parser.s +++ b/src/file_parser.s @@ -3,7 +3,7 @@ # PURPOSE : Parses the file into the array format. # INPUTS : rdi = File descriptor # OUTPUTS : rax = address of array -# rdx = length of array +# rdx = length of array in 8 byte chunks # CLOBBERS: none # NOTES : Preserves all registers. # -------------------------------------------- @@ -47,7 +47,7 @@ parse_file: movq %r12, %rsi # Select number of coordinates call build_pointer_buffer # Create final array of pointers movq %rax, %rax # Return pointer to array - movq %r12, %rdx # Return line count + movq %r12, %rdx # Return Number of coordinates # Restore registers pop %r15 |