25 lines
290 B
NASM
25 lines
290 B
NASM
|
|
; %include '../lib/fl.asm' ; local
|
|
%include 'lib/fl.asm' ; build.sh
|
|
|
|
SECTION .text
|
|
global _start
|
|
|
|
_start:
|
|
mov ecx, 0
|
|
|
|
nextNumber:
|
|
inc ecx
|
|
|
|
mov eax, ecx
|
|
add eax, 48
|
|
push eax
|
|
mov eax, esp
|
|
call sprintLF
|
|
|
|
pop eax
|
|
cmp ecx, 10
|
|
jne nextNumber
|
|
|
|
call quit
|