Hello World in Assembly in 5 Minutes (Ubuntu 20.04)

preview_player
Показать описание
In this video we are going to install NASM( a compiler for assembly ) in Ubuntu.
We are going to Write and Run a Simple Hello World Program.

Code:
section .data
message db "Hello World", 10
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, message
mov rdx, 12
syscall

Terminal Commands:
1. sudo apt install nasm
3. cd Desktop/
5. ld first.o

Video Contents:
0:00 Introduction
0:32 Install NASM Compiler
1:58 Changing Directory
2:12 Creating Assembly File
3:47 Creating first.o file
5:17 Outro
Рекомендации по теме
Комментарии
Автор

The video was very elaborative and easy to understand 👍
Thank you it helped a lot

atharvadeshpande
Автор

Very helpful for me as i belong to non it background 😊

kfashionfusions
Автор

it worked for one program but for another I only got the segmentation error and no other output

Shiroyashasama