Added build script and continued to lesson 10
This commit is contained in:
Executable
BIN
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
|
||||
; %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
|
||||
Binary file not shown.
Reference in New Issue
Block a user