Skip to content

Commit 7a94b8e

Browse files
committed
Fix formatting issue.
1 parent eaaa2f1 commit 7a94b8e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

code/lesson8/helloworld-args.asm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

88
SECTION .text
99
global _start
10-
11-
_start:
10+
11+
_start:
1212

1313
pop ecx ; first value on the stack is the number of arguments
14-
14+
1515
nextArg:
1616
cmp ecx, 0H ; check to see if we have any arguments left
1717
jz noMoreArgs ; if zero flag is set jump to noMoreArgs label (by jumping over the end of the loop)
1818
pop eax ; pop the next argument off the stack
1919
call sprintLF ; call our print with linefeed function
20-
dec ecx ; decrease edi (number of arguments left) by 1
20+
dec ecx ; decrease edi (number of arguments left) by 1
2121
jmp nextArg ; jump to nextArg label
22-
23-
noMoreArgs:
22+
23+
noMoreArgs:
2424
call quit

0 commit comments

Comments
 (0)