aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file_parser.s4
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