Updated lib label scopes and continued to lesson 18

This commit is contained in:
2025-06-24 00:26:00 +03:00
parent 8d471b77f7
commit 1c0fcde351
10 changed files with 182 additions and 9 deletions
Executable
BIN
View File
Binary file not shown.
+26
View File
@@ -0,0 +1,26 @@
; %include '../lib/fl.asm' ; local
%include 'lib/fl.asm' ; build.sh
SECTION .text
global _start
_start:
pop ecx
pop edx
sub ecx, 1
mov edx, 0
nextArg:
cmp ecx, 0h
jz noMoreArgs
pop eax
call atoi
add edx, eax
dec ecx
jmp nextArg
noMoreArgs:
mov eax, edx
call iprintLF
call quit
BIN
View File
Binary file not shown.