| Last change
 on this file since 12 was             7, checked in by Mattia Monga, 15 years ago | 
        
          | 
Hello ora ritorna 3
 | 
        
          | File size:
            422 bytes | 
      
      
| Rev | Line |  | 
|---|
| [6] | 1 | .sect .text; .sect .rom; .sect .data; .sect .bss | 
|---|
|  | 2 | .extern _main | 
|---|
|  | 3 | .sect .text | 
|---|
|  | 4 | _main: | 
|---|
|  | 5 | push ebp | 
|---|
|  | 6 | mov ebp,esp | 
|---|
|  | 7 | push esi | 
|---|
|  | 8 | xor esi,esi | 
|---|
|  | 9 | I1_6: | 
|---|
|  | 10 | cmp esi,10 | 
|---|
|  | 11 | jge I1_3 | 
|---|
|  | 12 | mov edx,esi | 
|---|
|  | 13 | inc edx | 
|---|
|  | 14 | push edx | 
|---|
|  | 15 | push I_1 | 
|---|
|  | 16 | call _printf | 
|---|
|  | 17 | pop ecx | 
|---|
|  | 18 | pop ecx | 
|---|
|  | 19 | push 1 | 
|---|
|  | 20 | call _sleep | 
|---|
|  | 21 | pop ecx | 
|---|
|  | 22 | inc esi | 
|---|
|  | 23 | jmp I1_6 | 
|---|
|  | 24 | I1_3: | 
|---|
| [7] | 25 | push 3 | 
|---|
| [6] | 26 | call _exit | 
|---|
|  | 27 | pop ecx | 
|---|
|  | 28 | pop esi | 
|---|
|  | 29 | leave | 
|---|
|  | 30 | ret | 
|---|
|  | 31 | .sect .rom | 
|---|
|  | 32 | I_1: | 
|---|
|  | 33 | .data4  1819043144 | 
|---|
|  | 34 | .data4  1870078063 | 
|---|
|  | 35 | .data4  560229490 | 
|---|
|  | 36 | .data4  1680156704 | 
|---|
|  | 37 | .data4  2601 | 
|---|
|  | 38 | .sect .text | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.