SlideShare a Scribd company logo
4
Most read
6
Most read
10
Most read
S & D Machine code
Machine Code
Machine code is the term used to describe any binary instruction which the
computer’s CPU will read and execute.
e.g. 10001000 01010111 11000101 11110001 10100001 00010110
Each instruction performs a very specific task, such as loading a value into
a register, or adding two binary numbers together.
Hexadecimal
A binary machine code sequence is very difficult to read and convert. Typically
programmers will use Hexadecimal (Hex) instead.
It is easier to convert a binary number to Hexadecimal than it is to convert it to
decimal. Hexadecimal is base 16.
Hexadecimal
A binary machine code sequence is very difficult to read and convert. Typically
programmers will use Hexadecimal (Hex) instead.
It is easier to convert a binary number to Hexadecimal than it is to convert it to
decimal. Hexadecimal is base 16.
Hexadecimal
A binary machine code sequence is very difficult to read and convert. Typically
programmers will use Hexadecimal (Hex) instead.
It is easier to convert a binary number to Hexadecimal than it is to convert it to
decimal. Hexadecimal is base 16.
Hexadecimal
Examples:
10100110 = A6
00010011 = 13
11101100 = EC
01001011 = 4B
11111111 = FF
Hexadecimal
Converting from Hexadecimal to Decimal is easier than converting Binary to
Decimal.
Examples:
A6 = 10 x 16 + 6 = 166
13 = 1 x 16 + 3 = 19
EC = 14 x 16 + 12 = 236
4B = 4 x 16 + 11 = 75
FF = 15 x 16 + 15 = 255
Assembly Code
Assembly code is a low level language.
Assembly language is specific to a particular computer architecture. In other
words, different computer manufacturers will use different assembly code
instructions.
An example assembly code program for the 6502 processor is as follows:
Assembler
An assembler is a program that converts assembly code into binary
instructions.
Assembly Code
Advantages:
Very fast because of direct conversion from assembly language to
binary
Direct access to hardware features e.g. embedded computers in
home appliances
Disadvantages
Low level languages are difficult to learn
Lack of portability because assembly language is dependent on the
make of processor

More Related Content

PPT
N5 Computing Science - Machine Code
PPT
SD & D High and low level languages
PPT
3.2. The Software Development Process - Implementation Pt2
PPT
3.2. the software development process pt2
PPTX
Starting c++
PPTX
Compiler design slide share
PPTX
Translators(compiler assembler interpretor).
PPTX
Features of machine language, assembly language, high level language & their ...
N5 Computing Science - Machine Code
SD & D High and low level languages
3.2. The Software Development Process - Implementation Pt2
3.2. the software development process pt2
Starting c++
Compiler design slide share
Translators(compiler assembler interpretor).
Features of machine language, assembly language, high level language & their ...

What's hot (20)

PPTX
classification of computer language
PPTX
Compiler vs interpreter
PPTX
Assembly and Machine Code
PPT
High level languages representation
PPTX
Language Translator ( Compiler)
PPTX
Computer Language
PPTX
What is Higher Language and Lower Language in programming.
PPTX
Computer Language Translator
PPT
Language translator
PPTX
Compiler vs Interpreter-Compiler design ppt.
PPTX
Introduction to compiler interpreter
PPT
La 5 Pl Translator
PPTX
Computer language
DOC
PPTX
1. Define Program, programmer, Programming Language and its type||Learn C Pro...
PPT
Lession 6
PPTX
Chapter 5
PPTX
Programming language
classification of computer language
Compiler vs interpreter
Assembly and Machine Code
High level languages representation
Language Translator ( Compiler)
Computer Language
What is Higher Language and Lower Language in programming.
Computer Language Translator
Language translator
Compiler vs Interpreter-Compiler design ppt.
Introduction to compiler interpreter
La 5 Pl Translator
Computer language
1. Define Program, programmer, Programming Language and its type||Learn C Pro...
Lession 6
Chapter 5
Programming language
Ad

Viewers also liked (9)

PPT
SD & D Representing Text
PPT
SD & D Bitmapped Graphics
PPT
Representation of Text
PPT
Representation of Bitmapped Graphics
PPT
SD & D Testing
PPT
Virtual machines, emulators and mobile devices
PPT
SD & D Types of programming language
PPTX
Web assembly 맛보기
PPT
Assembly Language Programming Of 8085
SD & D Representing Text
SD & D Bitmapped Graphics
Representation of Text
Representation of Bitmapped Graphics
SD & D Testing
Virtual machines, emulators and mobile devices
SD & D Types of programming language
Web assembly 맛보기
Assembly Language Programming Of 8085
Ad

Similar to S & D Machine code (20)

PPTX
1.1.2 HEXADECIMAL
PPTX
Assembly Language In Electronics
PPTX
[ASM] Lab1
PPTX
Assembly chapter One.pptx
PDF
Chapter 01 Java Programming Basic Java IDE JAVA INTELLIEJ
PDF
Reversing and Patching Machine Code
PPTX
Assembly Language
PDF
microprocesser-140306112352-phpapp01.pdf
PDF
Lecture 1 Compiler design , computation
PPTX
DB2 and Codepages
DOCX
Chapter 1SyllabusCatalog Description Computer structu
PPT
RISC-V processor- computer organization and design
PPTX
Computer Organization - Programming the basic computer : Machine Language, As...
PPT
Programming in c
PDF
Programming with \'C\'
PPTX
RISC Vs CISC, Harvard v/s Van Neumann
PPTX
Presentation - 05 High level and low level languages.pptx
DOC
Microprocessor Basics - 8085 Ch-4
PPTX
Programming with 8085.pptx
1.1.2 HEXADECIMAL
Assembly Language In Electronics
[ASM] Lab1
Assembly chapter One.pptx
Chapter 01 Java Programming Basic Java IDE JAVA INTELLIEJ
Reversing and Patching Machine Code
Assembly Language
microprocesser-140306112352-phpapp01.pdf
Lecture 1 Compiler design , computation
DB2 and Codepages
Chapter 1SyllabusCatalog Description Computer structu
RISC-V processor- computer organization and design
Computer Organization - Programming the basic computer : Machine Language, As...
Programming in c
Programming with \'C\'
RISC Vs CISC, Harvard v/s Van Neumann
Presentation - 05 High level and low level languages.pptx
Microprocessor Basics - 8085 Ch-4
Programming with 8085.pptx

More from Forrester High School (20)

PPTX
Program Design
PPTX
Database Evaluation
PPTX
PPTX
Database Query Design
PPTX
Data Dictionary
PPTX
Compound Keys
PPTX
Entity Occurrence Diagrams
PPTX
Entity Relationship Diagrams
PPTX
Database Analysis
PPTX
Software Evaluation
PPTX
Software Testing
PPTX
Standard Algorithms
PPTX
File Handling
PPTX
Python Predefined Functions
PPTX
Python Substrings
PPTX
Variable Scope
PPTX
Sub-programs
PPTX
Records in Python
PPTX
Parallel arrays in python
Program Design
Database Evaluation
Database Query Design
Data Dictionary
Compound Keys
Entity Occurrence Diagrams
Entity Relationship Diagrams
Database Analysis
Software Evaluation
Software Testing
Standard Algorithms
File Handling
Python Predefined Functions
Python Substrings
Variable Scope
Sub-programs
Records in Python
Parallel arrays in python

Recently uploaded (20)

PPTX
Pharma ospi slides which help in ospi learning
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
RMMM.pdf make it easy to upload and study
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Cell Structure & Organelles in detailed.
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PPTX
Presentation on HIE in infants and its manifestations
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Pharma ospi slides which help in ospi learning
human mycosis Human fungal infections are called human mycosis..pptx
Supply Chain Operations Speaking Notes -ICLT Program
RMMM.pdf make it easy to upload and study
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Module 4: Burden of Disease Tutorial Slides S2 2025
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Cell Types and Its function , kingdom of life
202450812 BayCHI UCSC-SV 20250812 v17.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Cell Structure & Organelles in detailed.
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Abdominal Access Techniques with Prof. Dr. R K Mishra
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Presentation on HIE in infants and its manifestations
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx

S & D Machine code

  • 2. Machine Code Machine code is the term used to describe any binary instruction which the computer’s CPU will read and execute. e.g. 10001000 01010111 11000101 11110001 10100001 00010110 Each instruction performs a very specific task, such as loading a value into a register, or adding two binary numbers together.
  • 3. Hexadecimal A binary machine code sequence is very difficult to read and convert. Typically programmers will use Hexadecimal (Hex) instead. It is easier to convert a binary number to Hexadecimal than it is to convert it to decimal. Hexadecimal is base 16.
  • 4. Hexadecimal A binary machine code sequence is very difficult to read and convert. Typically programmers will use Hexadecimal (Hex) instead. It is easier to convert a binary number to Hexadecimal than it is to convert it to decimal. Hexadecimal is base 16.
  • 5. Hexadecimal A binary machine code sequence is very difficult to read and convert. Typically programmers will use Hexadecimal (Hex) instead. It is easier to convert a binary number to Hexadecimal than it is to convert it to decimal. Hexadecimal is base 16.
  • 6. Hexadecimal Examples: 10100110 = A6 00010011 = 13 11101100 = EC 01001011 = 4B 11111111 = FF
  • 7. Hexadecimal Converting from Hexadecimal to Decimal is easier than converting Binary to Decimal. Examples: A6 = 10 x 16 + 6 = 166 13 = 1 x 16 + 3 = 19 EC = 14 x 16 + 12 = 236 4B = 4 x 16 + 11 = 75 FF = 15 x 16 + 15 = 255
  • 8. Assembly Code Assembly code is a low level language. Assembly language is specific to a particular computer architecture. In other words, different computer manufacturers will use different assembly code instructions. An example assembly code program for the 6502 processor is as follows:
  • 9. Assembler An assembler is a program that converts assembly code into binary instructions.
  • 10. Assembly Code Advantages: Very fast because of direct conversion from assembly language to binary Direct access to hardware features e.g. embedded computers in home appliances Disadvantages Low level languages are difficult to learn Lack of portability because assembly language is dependent on the make of processor