Lecture-1 Assembly
Lecture-1 Assembly
Assembly Language
Date 23-11-2019
Instructor Name
MR. NADEEM AHMAD
Computer Organization & Assembly
Language
Reference Books:
An electronic device for storing and processing data, typically in binary from
according to instructions given it in a variable program.
Types of Computer
Supercomputer.
Workstation Computer.
Personal Computer or PC.
Microcomputer.
Smartphone.
What is CPU…?
The central processing unit (CPU) is the unit which performs most of the
processing inside a computer. To control instructions and data flow to other parts
of the computer.
The CPU has two components:
Control Unit: Extracts instructions from memory and decodes and executes them.
Software:
A Set of Instruction given to the computer to solve problems is called software.
MS Package
Operating Systems
Hardware:
Computer hardware is the collection of physical parts of computer system.
For example monitor, keyboard, and mouse.
What is System Software ...?
The programs that control and manage the basic operations of a computer are
generally referred to as system software. System software typically includes the
following types of programs:
Operating Systems (Windows, Mac OS, Linux)
Utility Programs (virus scanners)
Software Development Tools (Assemblers, compilers, and interpreters)
What is Application Software…?
Microsoft Word
PowerPoint
Web Browsers
What is Programming Language…?
10100001
Compiler 10111000
print ("Hello World")
10011110
Interpreter
10100001
10111000
10011110
Executing a high-level program with an
interpreter
print 10100001
("Hello Interpreter 10111000
World") 10011110
What is Assembly Language
Fetch
Execute Decode
Fetch Decode Execute Cycle
FETCH: The first step the CPU carries out is to fetch some data
and instructions (program) from main memory then store them in
its own internal temporary memory areas.
DECODE: The next step is for the CPU to make sense of the
instruction it has just fetched.
Editor: Simple text editor that can create assembly language source
files.
1. Text pad
2. Notepad
3. Visual Studio
Assembler: An assembler is a program that converts source-code
programs from assembly language into machine language.
Assembler