1 %line 1+1 itera1.asm 2 [section .data] 3 00000000 4E756D65726F3A2000 msg db "Numero: ", 0 4 00000009 0A00 newline db 10, 0 5 6 [section .bss] 7 00000000 counter resb 1 8 9 [section .text] 10 [global _start] 11 12 _start: 13 14 00000000 C60425[00000000]00 mov byte [counter], 0 15 16 loop_start: 17 18 00000008 B804000000 mov eax, 4 19 0000000D BB01000000 mov ebx, 1 20 00000012 B9[00000000] mov ecx, msg 21 00000017 BA09000000 mov edx, 9 22 0000001C CD80 int 0x80 23 24 0000001E B801000000 mov eax, 1 25 00000023 BB01000000 mov ebx, 1 26 00000028 B9[00000000] mov ecx, counter 27 0000002D BA01000000 mov edx, 1 28 00000032 CD80 int 0x80 29 30 00000034 B804000000 mov eax, 4 31 00000039 BB01000000 mov ebx, 1 32 0000003E B9[00000000] mov ecx, newline 33 00000043 BA02000000 mov edx, 2 34 00000048 CD80 int 0x80 35 36 37 0000004A FE0425[00000000] inc byte [counter] 38 39 40 00000051 803C25[00000000]0A cmp byte [counter], 10 41 00000059 7CAB jl loop_start 42 43 44 0000005B B801000000 mov eax, 1 45 00000060 31DB xor ebx, ebx 46 00000062 CD80 int 0x80