Changeset 26 for trunk/syscall.asm


Ignore:
Timestamp:
Apr 18, 2014, 8:10:14 AM (10 years ago)
Author:
Mattia Monga
Message:

Programmi 2014

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/syscall.asm

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