Skip to content

Commit

Permalink
remove unused instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
wilvk committed Oct 7, 2018
1 parent 2139d6c commit ce4c35f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fib3.s
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ _start:
cld # set direction down
repne scasb # iterate until we find the al char

movl %ecx, %edx # move count into edx
subl %ecx, %ebx # subtract from our original ecx value
dec %ebx # remove null byte at the end of the string from the count
pop %ecx # restore our string address into ecx
Expand Down

0 comments on commit ce4c35f

Please sign in to comment.