L
Size: a a a
A
3I
AM
print_msg:Для fasm в Linux печать строки выглядит так.
mov eax,4
mov ebx,1
mov ecx,start_msg
mov edx,start_msg_size
int 0x80
AM
AM
read_file:
mov ebx,eax ; handle
mov eax,03
mov ecx,image_buf_1 ; Буфер
mov edx,image_buf_1_size ; Размер
int 0x80
test eax,eax
jz error_r
mov edi,image_size
stosd
AM