Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
graudeejs committed Apr 28, 2012
1 parent ed1129d commit 01d9e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/001-echo_cmdl/echo_cmdl.fasm
Expand Up @@ -11,7 +11,7 @@ EXIT_SUCCESS = 0

section '.text' executable
public _start
_start:
_start:
pop ecx
; while I won't use them, I will save argc and argv
mov [argc],ecx ; save argc
Expand All @@ -34,7 +34,7 @@ print_cmdl:
xor eax,eax ; search for 0x0

cld ; make usre we search left to right
; how long is this commang line argument?
; how long is this command line argument?
repnz scasb
sub edx,ecx
mov ecx,edx
Expand Down

0 comments on commit 01d9e71

Please sign in to comment.