Changeset 22


Ignore:
Timestamp:
Mar 13, 2013, 4:49:51 PM (12 years ago)
Author:
Mattia Monga
Message:

Chiamata di libreria vs. syscall

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/syscall.asm

    r21 r22  
    11segment .text
    22        global main
     3        extern printf
    34
    4 main:   mov ecx, msg            ; stringa
     5main:   push msg
     6        call printf             ; chiamata di libreria
     7
     8        mov ecx, msg            ; stringa
    59        mov edx, msg_size       ; dimensione stringa
    610        mov ebx, 1              ; file descriptor (stdout)
Note: See TracChangeset for help on using the changeset viewer.