Continued to lesson 28

This commit is contained in:
2025-06-24 10:54:16 +03:00
parent 1c0fcde351
commit 5a0c4a49c7
30 changed files with 282 additions and 0 deletions
Executable
BIN
View File
Binary file not shown.
+28
View File
@@ -0,0 +1,28 @@
; %include '../lib/fl.asm' ; local
%include 'lib/fl.asm' ; build.sh
SECTION .data
childMsg db 'Child process', 0h
parentMsg db 'Parent process', 0h
SECTION .text
global _start
_start:
mov eax, 2
int 80h
cmp eax, 0
jz child
parent:
mov eax, parentMsg
call sprintLF
call quit
child:
mov eax, childMsg
call sprintLF
call quit
BIN
View File
Binary file not shown.