Write ALP to print “Hallo World!” Program using 16 , 32 and 64-bit model and segmentation

section .data
hellodb 'Hello World',10,13
helloLen:  equ $-hello
section .text
global _start
start:
mov eax,4
mov ebx,1
movecx,hello
movedx,helloLen
int 80h
mov eax,1
mov ebx,0
int 80h

Comments