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 '-updated-', 0h
SECTION .text
global _start
_start:
mov ecx, 1
mov ebx, filename
mov eax, 5
int 80h
mov edx, 2
mov ecx, 0
mov ebx, eax
mov eax, 19
int 80h
mov edx, 9
mov ecx, contents
mov ebx, ebx
mov eax, 4
int 80h
call quit
BIN
View File
Binary file not shown.