source: trunk/hello.s @ 7

Last change on this file since 7 was 7, checked in by monga, 9 years ago

Hello ora ritorna 3

File size: 422 bytes
Line 
1.sect .text; .sect .rom; .sect .data; .sect .bss
2.extern _main
3.sect .text
4_main:
5push ebp
6mov ebp,esp
7push esi
8xor esi,esi
9I1_6:
10cmp esi,10
11jge I1_3
12mov edx,esi
13inc edx
14push edx
15push I_1
16call _printf
17pop ecx
18pop ecx
19push 1
20call _sleep
21pop ecx
22inc esi
23jmp I1_6
24I1_3:
25push 3
26call _exit
27pop ecx
28pop esi
29leave
30ret
31.sect .rom
32I_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.