Added build script and continued to lesson 10
This commit is contained in:
Executable
BIN
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
|
||||
; %include '../lib/fl.asm' ; local
|
||||
%include 'lib/fl.asm' ; build.sh
|
||||
|
||||
SECTION .data
|
||||
msg1 db 'Gii du namma lea?: ', 0h
|
||||
msg2 db 'Bures, ', 0h
|
||||
|
||||
SECTION .bss
|
||||
sinput: resb 255
|
||||
|
||||
SECTION .text
|
||||
global _start
|
||||
|
||||
_start:
|
||||
mov eax, msg1
|
||||
call sprint
|
||||
|
||||
mov edx, 255
|
||||
mov ecx, sinput
|
||||
mov ebx, 0h
|
||||
mov eax, 3
|
||||
int 80h
|
||||
|
||||
mov eax, msg2
|
||||
call sprint
|
||||
|
||||
mov eax, sinput
|
||||
call sprint
|
||||
|
||||
call quit
|
||||
Binary file not shown.
Reference in New Issue
Block a user