flat assembler
Message board for the users of flat assembler.

Index > Linux > fasm and working with files

Author
Thread Post new topic Reply to topic
batment



Joined: 12 Nov 2006
Posts: 3
Location: Kriviy Rih, Ukraine
batment 12 Nov 2006, 15:50
Please, tell, whith which functions or interrupts i can work with files in flat assembler.
Post 12 Nov 2006, 15:50
View user's profile Send private message ICQ Number Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 14 Nov 2006, 14:56
Code:
sys_read                      = 03h
sys_write                     = 04h
sys_open                      = 05h
sys_close                     = 06h

; from elfexe example:

        mov     eax,sys_write
        mov     ebx,1 ;stdout
        mov     ecx,msg
        mov     edx,msg_size
        int     0x80
    
Post 14 Nov 2006, 14:56
View user's profile Send private message Yahoo Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.