asd

an anonymous user · March 19, 2023
Assembly
section .data
    msg db "Hello world!", 0ah

section .text
    global _start

_start:
    mov	edx,4		; message length
    mov	ecx,msg		; message to write
    mov	ebx,1		; file descriptor (stdout)
    mov	eax,4		; system call number (sys_write)
    int	0x80		; call kernel
Output
(Run the program to view its output)

Comments

Please sign up or log in to contribute to the discussion.