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.
+31
View File
@@ -0,0 +1,31 @@
; %include '../lib/fl.asm' ; local
%include 'lib/fl.asm' ; build.sh
SECTION .data
filename db 'test.txt', 0h
contents db 'Hello world!', 0h
SECTION .text
global _start
_start:
mov ecx, 0777o
mov ebx, filename
mov eax, 8
int 80h
mov edx, 12
mov ecx, contents
mov ebx, eax
mov eax, 4
int 80h
mov ecx, 0
mov ebx, filename
mov eax, 5
int 80h
call iprintLF
call quit
BIN
View File
Binary file not shown.