Skip to content

Assembly Language that Displays BIODATA of a Certain Profile.

Notifications You must be signed in to change notification settings

naemazam/Assembly-BIOdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Assembly-BIOdata

A Simple Source Code in 8086 Assembly Language that Displays BIODATA of a Certain Profile.

Asm ver

Assembler 64bit (nasm 2.14)

section .text
; Export the entry point to the ELF linker or loader.  The conventional
; entry point is "_start". Use "ld -e foo" to override the default.
    global _start

section .data
msg db  'Hello, I am Naem azam, Im Self-taught Python Programmer And an open-source enthusiast and maintainer.!',0xa ;our dear string
len equ $ - msg         ;length of our dear string

section .text

; linker puts the entry point here:
_start:

; Write the string to stdout:

    mov edx,len ;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

; Exit via the kernel:

    mov ebx,0   ;process' exit code
    mov eax,1   ;system call number (sys_exit)
    int 0x80    ;call kernel - this interrupt won't return

Online Compile

Online Compile

Linux

to build an executable

nasm -f elf azam.asm
ld -s -o azam azam.o

Output

Hello, I am Naem azam, Im Self-taught Python Programmer And an open-source enthusiast and maintainer.!

About

Assembly Language that Displays BIODATA of a Certain Profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published