You are on page 1of 1

Software components assembly program that prints “Hello, world!

” on the
screen for the X86 processor.
Now let’s discuss the different software components that
we need to have a functioning computer. Remember: section .data
software comprises the set of programs, procedures, and text db 'Hello, world!'
routines associated needed to operate a computer. section .text
global _start

_start:
mov rax, 1
mov rdi, 1
Machine language mov rsi, text
mov rdx, 14
A computer can only process binary: a stream of ones syscall
and zeros. Binary is the computer’s language. mov rax, 60
Instructions for the computer are also stored as ones and mov rdi, 0
zeros that the computer must decode and execute. syscall

Assembly language High-level languages


Assembly language is a human-readable instruction Assembly language is referred to as a low-level
mode that translates binary opcode into assembly language because it’s a lot like machine language. To
instruction. A CPU cannot process or execute assembly overcome these shortcomings, high-level languages were
instructions, so an encoder is required that can convert created.
assembly language to machine language.
These are called programming languages, and they
allow us to create powerful, complex, human-readable
programs without large numbers of low-level
instructions. Some of the most famous high-level
Assembler
languages are:
An assembler translates an assembly language program
into machine language. The code snippet below is an

You might also like