Continued to lesson 28
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 .data
|
||||
command db '/bin/echo', 0h
|
||||
arg1 db 'Hello World!', 0h
|
||||
arguments dd command
|
||||
dd arg1
|
||||
dd 0h
|
||||
environment dd 0h
|
||||
|
||||
SECTION .text
|
||||
global _start
|
||||
|
||||
_start:
|
||||
mov edx, environment
|
||||
mov ecx, arguments
|
||||
mov ebx, command
|
||||
mov eax, 11
|
||||
int 80h
|
||||
|
||||
call quit
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user