You are on page 1of 2

Name: Shraddha Umesh Mulay

Roll No.: 221083


GR No.: 22020260
SY-A

Assignment No.: 04

Title: Write 64-bit ALP to display “Hello World” in NASM.

Objective: To print the string ‘Hello World’ using 64-bit ALP

Theory:

Code:

section .data
msg db 10d,13d,"Hello World "
l equ $-msg
section .text
global _start
_start:
mov rax,1
mov rdi,1
mov rsi,msg
mov rdx,l
syscall

mov rax,60
mov rdi,0
syscall
end:
Output:

Conclusion:

Displayed Hello World on the output screen.

You might also like