0% found this document useful (0 votes)
3 views

VENKY-ASSEMBLY

Assembly language is a low-level programming language introduced by Kathleen Booth in 1947, closely related to machine code and easier for programmers to use. There are different types of assembly languages, such as x86 and ARM, each suited for specific processor architectures. Assemblers convert assembly code into machine code, with single-pass and multi-pass assemblers differing in their processing methods, while assembly language offers high performance and direct hardware access but is complex and lacks portability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

VENKY-ASSEMBLY

Assembly language is a low-level programming language introduced by Kathleen Booth in 1947, closely related to machine code and easier for programmers to use. There are different types of assembly languages, such as x86 and ARM, each suited for specific processor architectures. Assemblers convert assembly code into machine code, with single-pass and multi-pass assemblers differing in their processing methods, while assembly language offers high performance and direct hardware access but is complex and lacks portability.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

ASSEMBLY LANGUAGE

Prensented by
JAVVADI SAI VENKATESH
PATHANGI HARSHA VARDHAN
INTRODUCTION TO
ASSEMBLY
LANGUAGE

Assembly language is introduced by


Kathleen Booth in
1947.

 Assembly language is a low-level


programming language that is closely
related to machine code, the binary
instructions that a computer's CPU
can execute directly. It serves as a
human-readable representation of a
computer’s native instructions,
making it easier for programmers to
write machine-level programs.
TYPES OF
ASSEMBLY
LANGUGAGE
 1. x86 Assembly
Language
 Description: This is the assembly
language for Intel's x86 family of
processors, one of the most commonly
used architectures in personal
computers. x86 assembly is known for
its complex instruction set computing
(CISC) design.

 2. ARM Assembly
Language
 Description: ARM assembly is used for
the ARM architecture, which is a family
of reduced instruction set computing
(RISC) processors. ARM is known for its
energy efficiency and is popular in
mobile devices and embedded
systems.
ASSEMBLER
 An assembler is a software tool
that converts assembly language
code (which is human-readable)
into machine code (binary
instructions) that can be
executed by a computer's
processor (CPU). In other words,
the assembler translates the
mnemonics and other symbolic
representations in assembly
language into the actual binary
instructions that the hardware
understands.
 Single-Pass Assembler:
 A single-pass assembler processes the source code
in a single pass. It reads the code from start to finish,
converts the instructions to machine code, and
generates the object file.
 This type is faster but can be limited because it may
not be able to resolve all symbols in the first pass,
especially if the program uses forward references
TYPES OF (labels that appear before they are defined).

ASSEMBLER
 Multi-Pass Assembler:
 A multi-pass assembler makes multiple passes
through the source code to resolve symbols, handle
forward references, and optimize the generated
machine code.
 The first pass gathers information about the
program's structure, and subsequent passes
generate machine code, resolving all symbols and
addresses.
 Advantages of Assembly Language:
 High Performance:
 Assembly language allows for fine-grained control over hardware, which can
result in highly optimized code. This is especially important in resource-
constrained environments like embedded systems or when high performance is
critical (e.g., real-time systems).
 Direct Hardware Access:
 It provides direct control over hardware resources (such as memory, CPU
registers, and peripheral devices), making it ideal for low-level programming
tasks like device drivers, operating systems, and firmware.
 Disadvantages of Assembly Language:
 Complexity:
 Assembly language is complex and difficult to learn and write. It involves
managing low-level operations manually, like memory management, register
usage, and handling CPU flags, which can be error-prone and time-consuming.
 Lack of Portability:
 Assembly language is tightly tied to a specific CPU architecture. Programs written
in assembly for one type of processor (e.g., x86) will not run on another (e.g.,
ARM) without significant modification. This lack of portability makes assembly
less ideal for cross-platform development.
8 LED'S BLINKING
Main:
Mov p1.#FFh
Acall delay
Mov p1,#00h
Acall delay
Sjmp main
Delay:
Mov TMod,#01h
Mov TH0,#00h
Mov TL0,#00h
Setb TR0
Here:
Jnb TF0,here
Clr TR0
Clr TF0
Ret
End
THANK YOU

You might also like