Create learn asm repo
Repository for learning assembly language
This commit is contained in:
Executable
BIN
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
; Lesson 1
|
||||
; nasm -f elf l1.asm
|
||||
; ld -m elf_i386 l1.o -o l1
|
||||
|
||||
SECTION .data
|
||||
msg db 'Hello, World!', 0Ah
|
||||
|
||||
SECTION .text
|
||||
global _start
|
||||
|
||||
_start:
|
||||
mov edx, 13
|
||||
mov ecx, msg
|
||||
mov ebx, 1
|
||||
mov eax, 4
|
||||
int 80h
|
||||
Binary file not shown.
Reference in New Issue
Block a user