SlideShare a Scribd company logo
Cso lesson intro
Cso lesson intro
Cso lesson intro
Cso lesson intro
Cso lesson intro
Cso lesson intro
Some characteristics
Low level language
Platform dependent:
not portable
Works directly with
microprocessors
Why assembly language?
Makes you a better
programmer
Some problems can only be
resolved using assembly
language
The only programming language
that can talk directly to the
hardware
The only programming language
that can talk directly to the
hardware
Each statement in
assembly can either be:
1. Assembly Language
Instructions
2. Assembler directives
Tells the machine
what to do
Tells the assembler what
to do(with your
instructions and data)
Constants in source
statements:
binary
Sequence of numbers 0s
and 1s followed by B
decimal
hexadecimal
character
Sequence of numbers 0 to 9,
with or without letter D
sequence of digits 0 through 9 and
letters A to F followed by H (first
character must be 0 to 9)
string of letters, numbers or
symbols enclosed in single or
double quotes
1111B
1011B
100D
76
1ah
41h
‘A’
“I am a
programmer”
assembly instructions can
have up to 4 fields:
Format: [label]Mnemonic[operand][;comments]
NOTE:
only the mnemonic field is
always required
Label field:
Assigns name to an assembly
instruction
Maximum of 31 characters and must
with a colon (:)
Can be A to Z(a to z), digits 0 to 9, and
special characters like underscore(_)
Cannot begin with a digit
Registers(AX, BX, CX, DX, etc.) can not
be used as labels
mnemonic field:
Contains 2 to characters acronym for
assembly language instruction
operand field:
Tells the machine where to find data
that it is to operate on
In two-operand operations, the first letter is the
destination and the second letter is the source
comment field:
Describes the statements in the
source program
Starts with semi colon (;)
Assembler directives can
have 4 fields:
Format: [name]directive[operand][;comments]
NOTE:
Only the directive field is
always required
END

More Related Content

PPT
.Pigeon Project
PPTX
Assembly and Machine Code
PPTX
Starting c++
PPT
SD & D High and low level languages
PPTX
10 lesson7
PPTX
10 lesson6
PPTX
Basic Computer Programming
PPTX
Programming in c
.Pigeon Project
Assembly and Machine Code
Starting c++
SD & D High and low level languages
10 lesson7
10 lesson6
Basic Computer Programming
Programming in c

What's hot (20)

PPT
Lession 6
PPTX
10 lesson8
PPT
S & D Machine code
PPTX
Programming Languages / Translators
PDF
Introduction to Computer Programming
PPT
Intro To Programming Concepts
PDF
Introduction to compiler development
PPT
270 1 c_intro_up_to_functions
PPTX
Introduction to programming
PPT
Programming assignment help
PPT
Programming
PPT
Cmp104 lec 6 computer lang
PPTX
C programming
PPSX
Programming Fundamental Presentation
PPT
Chapter 4 computer language
PPTX
Computer language
PPTX
Computer Language Translator
PPT
Lecture 8
PPTX
High Level Language (HLL)
PPT
N5 Computing Science - Machine Code
Lession 6
10 lesson8
S & D Machine code
Programming Languages / Translators
Introduction to Computer Programming
Intro To Programming Concepts
Introduction to compiler development
270 1 c_intro_up_to_functions
Introduction to programming
Programming assignment help
Programming
Cmp104 lec 6 computer lang
C programming
Programming Fundamental Presentation
Chapter 4 computer language
Computer language
Computer Language Translator
Lecture 8
High Level Language (HLL)
N5 Computing Science - Machine Code
Ad

Viewers also liked (13)

PPTX
zzz
PPTX
El conflicto y los equipos de trabajo
PPTX
Ppt slideshow why should pdhpe be taught at schools
PPT
About me presentation
PPTX
Personal development, health and physical education
PDF
Camo ring guide from CAMOKIX.com
PPT
Design presentation
PPT
Defend my design
PPTX
Designing programs using procedures
PPT
Kaizen cso002 l1
PPTX
Biology major resume ppt
PPTX
Narcotic analgesic
PPTX
Infomøde billeder
zzz
El conflicto y los equipos de trabajo
Ppt slideshow why should pdhpe be taught at schools
About me presentation
Personal development, health and physical education
Camo ring guide from CAMOKIX.com
Design presentation
Defend my design
Designing programs using procedures
Kaizen cso002 l1
Biology major resume ppt
Narcotic analgesic
Infomøde billeder
Ad

Similar to Cso lesson intro (20)

PDF
The assembly instruction implemented at the OS4 level isSelect on.pdf
PPT
Assmbly lang.lec 1
PPTX
BS1 lec7.pptx
PPTX
Introduction to C Programming Language.pptx
PPTX
week 1 - INTRO TO PROGRAMMING.pptx
PPT
Al2ed chapter1
PPTX
Understanding Assembly Language Syntax, Advantages, and Comparison with Machi...
PPT
Cmp104 lec 6 computer lang
PPT
Computer programming languages19 09-2007
PPT
Computer programming languages19 09-2007
PPT
Computer languages
PPTX
Assembly Language
PDF
Assembly Language Programming By Ytha Yu, Charles Marut Chap 1(Microcomputer ...
PPTX
Programming languages
PPT
Computer languages 11
PPTX
Introduction to c programming
PDF
microprocesser-140306112352-phpapp01.pdf
PPTX
Programming language
PPTX
classification of computer language
The assembly instruction implemented at the OS4 level isSelect on.pdf
Assmbly lang.lec 1
BS1 lec7.pptx
Introduction to C Programming Language.pptx
week 1 - INTRO TO PROGRAMMING.pptx
Al2ed chapter1
Understanding Assembly Language Syntax, Advantages, and Comparison with Machi...
Cmp104 lec 6 computer lang
Computer programming languages19 09-2007
Computer programming languages19 09-2007
Computer languages
Assembly Language
Assembly Language Programming By Ytha Yu, Charles Marut Chap 1(Microcomputer ...
Programming languages
Computer languages 11
Introduction to c programming
microprocesser-140306112352-phpapp01.pdf
Programming language
classification of computer language

Recently uploaded (20)

PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Programs and apps: productivity, graphics, security and other tools
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
August Patch Tuesday
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PPTX
1. Introduction to Computer Programming.pptx
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Architecture types and enterprise applications.pdf
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
Modernising the Digital Integration Hub
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Hybrid model detection and classification of lung cancer
A novel scalable deep ensemble learning framework for big data classification...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Programs and apps: productivity, graphics, security and other tools
Module 1.ppt Iot fundamentals and Architecture
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
August Patch Tuesday
O2C Customer Invoices to Receipt V15A.pptx
observCloud-Native Containerability and monitoring.pptx
1. Introduction to Computer Programming.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Zenith AI: Advanced Artificial Intelligence
Architecture types and enterprise applications.pdf
Getting started with AI Agents and Multi-Agent Systems
Modernising the Digital Integration Hub
DP Operators-handbook-extract for the Mautical Institute
Web App vs Mobile App What Should You Build First.pdf
NewMind AI Weekly Chronicles – August ’25 Week III
Group 1 Presentation -Planning and Decision Making .pptx
Hybrid model detection and classification of lung cancer

Cso lesson intro

  • 7. Some characteristics Low level language Platform dependent: not portable Works directly with microprocessors
  • 8. Why assembly language? Makes you a better programmer Some problems can only be resolved using assembly language The only programming language that can talk directly to the hardware The only programming language that can talk directly to the hardware
  • 9. Each statement in assembly can either be: 1. Assembly Language Instructions 2. Assembler directives Tells the machine what to do Tells the assembler what to do(with your instructions and data)
  • 10. Constants in source statements: binary Sequence of numbers 0s and 1s followed by B decimal hexadecimal character Sequence of numbers 0 to 9, with or without letter D sequence of digits 0 through 9 and letters A to F followed by H (first character must be 0 to 9) string of letters, numbers or symbols enclosed in single or double quotes 1111B 1011B 100D 76 1ah 41h ‘A’ “I am a programmer”
  • 11. assembly instructions can have up to 4 fields: Format: [label]Mnemonic[operand][;comments] NOTE: only the mnemonic field is always required
  • 12. Label field: Assigns name to an assembly instruction Maximum of 31 characters and must with a colon (:) Can be A to Z(a to z), digits 0 to 9, and special characters like underscore(_) Cannot begin with a digit Registers(AX, BX, CX, DX, etc.) can not be used as labels
  • 13. mnemonic field: Contains 2 to characters acronym for assembly language instruction
  • 14. operand field: Tells the machine where to find data that it is to operate on In two-operand operations, the first letter is the destination and the second letter is the source
  • 15. comment field: Describes the statements in the source program Starts with semi colon (;)
  • 16. Assembler directives can have 4 fields: Format: [name]directive[operand][;comments] NOTE: Only the directive field is always required
  • 17. END