SlideShare a Scribd company logo
1 of 266
von Neumann ,[object Object],[object Object],[object Object],[object Object],[object Object]
von Neumann
von Neumann ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Moore’s Law ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Speeding it up  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Intel 8086 & 8088 ,[object Object],[object Object]
Segmentation ,[object Object],[object Object],[object Object]
Segmentation ,[object Object],[object Object],[object Object],[object Object]
 
 
 
x86 Registers Category  Category Bit  Register Name General Purpose Register 32/16 E/AX,E/BX,E/CX,E/DX General Purpose Register 8 AH,AL,BH,BL,CH,CL,DH,DL Pointer Register 32/16 E/SP (Stack Pointer) E/BP (Base Pointer) Index Register 32/16 E/SI (Source Index) E/DI (Destination Index) Segment Register 32/16 CS (Code Segment) DS (Data Segment) SS (Stack Segment) ES (Extra Segment) Instruction Pointer Register 32/16 E/IP (Instruction Pointer) Status Register (Flag) 32/16 E/FLAGS (Flag Register)
General Purpose Registers ,[object Object],[object Object],Register Function E/AX Accumulator Register For arithmetic, logic and data transfer operation E/BX Base Register Also as address register E/CX Count Register Used for loop counter, shift and rotate bits E/DX Data Register Used in division and multiplication also I/O operation
8-bit Data Division from 16-bit ,[object Object],Figure 1:  8-bit Data Division from 16-bit
16-bit Data form into 32-bit ,[object Object],[object Object],[object Object]
 
Segment Register ,[object Object],[object Object],Segment Usage Code (CS) Space to store program that will be executed Data (DS) Space to store data that will be processed Stack (SS) Special space to store information needed by microprocessor to execute subroutine or interrupt service Extra (ES) Function is the same as DS
 
Instruction Pointer Register (IP) ,[object Object],[object Object],[object Object]
Index Register and Pointer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
 
 
Assembler  ,[object Object],[object Object]
Assembler  ,[object Object],[object Object],[object Object],[object Object]
Assembler  ,[object Object],[object Object]
Variable Declarations  ,[object Object],[object Object],[object Object]
[object Object],[object Object],Variable Declarations
Declare Variables ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
comments / remarks ,[object Object],[object Object],[object Object],[object Object],[object Object]
Simple Assignments ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Small Sample Program ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ORG ,[object Object],[object Object],[object Object]
RET ,[object Object]
Simple Assignments(MOV) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
Assembler Directive/Pseudo-Ops ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Assignments (MOV)
Addition (ADD)  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Arithmetic Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Arithmatic Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SUBTRACT (SUB) ,[object Object],[object Object],[object Object],[object Object],[object Object]
INCREMENT (INC) ,[object Object],[object Object],[object Object]
DECREMENT (DEC) ,[object Object],[object Object],[object Object]
Instruction Format ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Arithmetic Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Complex Expressions ,[object Object],[object Object],[object Object]
Complex Expressions ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Debuggers and Debugging  ,[object Object],[object Object],[object Object]
Debuggers and Debugging  ,[object Object],[object Object],[object Object],[object Object]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Opcode mnemonics  ,[object Object],[object Object],[object Object]
Assembly directives / pseudo-ops  ,[object Object]
Assembling the Source Code File  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Assembling the Source Code File ,[object Object],[object Object],[object Object],[object Object],[object Object]
Assembling the Source Code File ,[object Object],[object Object],[object Object],[object Object]
Linking  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Debuggers and Debugging  ,[object Object],[object Object],[object Object]
Debuggers and Debugging  ,[object Object],[object Object],[object Object],[object Object]

More Related Content

What's hot

8086 assembly language
8086 assembly language8086 assembly language
8086 assembly language
Mir Majid
 
8086 instruction set
8086 instruction set8086 instruction set
8086 instruction set
jemimajerome
 
Assembly language 8086 intermediate
Assembly language 8086 intermediateAssembly language 8086 intermediate
Assembly language 8086 intermediate
John Cutajar
 
Part III: Assembly Language
Part III: Assembly LanguagePart III: Assembly Language
Part III: Assembly Language
Ahmed M. Abed
 

What's hot (20)

Chapter 3 programming concepts-ii
Chapter 3  programming concepts-iiChapter 3  programming concepts-ii
Chapter 3 programming concepts-ii
 
Instruction formats-in-8086
Instruction formats-in-8086Instruction formats-in-8086
Instruction formats-in-8086
 
Lecture5(1)
Lecture5(1)Lecture5(1)
Lecture5(1)
 
Assembly language programming intro
Assembly language programming introAssembly language programming intro
Assembly language programming intro
 
Chapter 2 programming concepts - I
Chapter 2  programming concepts - IChapter 2  programming concepts - I
Chapter 2 programming concepts - I
 
Assembly 8086
Assembly 8086Assembly 8086
Assembly 8086
 
N_Asm Assembly arithmetic instructions (sol)
N_Asm Assembly arithmetic instructions (sol)N_Asm Assembly arithmetic instructions (sol)
N_Asm Assembly arithmetic instructions (sol)
 
8086 assembly language
8086 assembly language8086 assembly language
8086 assembly language
 
Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086Chapter 1 archietecture of 8086
Chapter 1 archietecture of 8086
 
8086 instruction set
8086 instruction set8086 instruction set
8086 instruction set
 
Assembly language 8086
Assembly language 8086Assembly language 8086
Assembly language 8086
 
8086 assembly
8086 assembly8086 assembly
8086 assembly
 
Arrays and addressing modes
Arrays and addressing modesArrays and addressing modes
Arrays and addressing modes
 
Lecture6
Lecture6Lecture6
Lecture6
 
Assembly language 8086 intermediate
Assembly language 8086 intermediateAssembly language 8086 intermediate
Assembly language 8086 intermediate
 
8086 alp
8086 alp8086 alp
8086 alp
 
Instruction set of 8086 Microprocessor
Instruction set of 8086 Microprocessor Instruction set of 8086 Microprocessor
Instruction set of 8086 Microprocessor
 
1344 Alp Of 8086
1344 Alp Of 80861344 Alp Of 8086
1344 Alp Of 8086
 
Part III: Assembly Language
Part III: Assembly LanguagePart III: Assembly Language
Part III: Assembly Language
 
Assembly Language Basics
Assembly Language BasicsAssembly Language Basics
Assembly Language Basics
 

Viewers also liked

Numbers and Values in Objective-C and C Programming
Numbers and Values in Objective-C and C ProgrammingNumbers and Values in Objective-C and C Programming
Numbers and Values in Objective-C and C Programming
Paul Solt
 
Cpu cycle
Cpu cycleCpu cycle
Cpu cycle
maciakl
 
Authoring tools worksheet
Authoring tools worksheetAuthoring tools worksheet
Authoring tools worksheet
Farid Diah
 
Low Level Exploits
Low Level ExploitsLow Level Exploits
Low Level Exploits
hughpearse
 

Viewers also liked (20)

Numbers and Values in Objective-C and C Programming
Numbers and Values in Objective-C and C ProgrammingNumbers and Values in Objective-C and C Programming
Numbers and Values in Objective-C and C Programming
 
Cpu cycle
Cpu cycleCpu cycle
Cpu cycle
 
Authoring tools worksheet
Authoring tools worksheetAuthoring tools worksheet
Authoring tools worksheet
 
02 - Introduction to the cdecl ABI and the x86 stack
02 - Introduction to the cdecl ABI and the x86 stack02 - Introduction to the cdecl ABI and the x86 stack
02 - Introduction to the cdecl ABI and the x86 stack
 
Python Yield
Python YieldPython Yield
Python Yield
 
2장. Runtime Data Areas
2장. Runtime Data Areas2장. Runtime Data Areas
2장. Runtime Data Areas
 
Stack Frame Protection
Stack Frame ProtectionStack Frame Protection
Stack Frame Protection
 
Functions in Objective-C and C Programming
Functions in Objective-C and C ProgrammingFunctions in Objective-C and C Programming
Functions in Objective-C and C Programming
 
Smashing The Stack
Smashing The StackSmashing The Stack
Smashing The Stack
 
Introduction to Linux Exploit Development
Introduction to Linux Exploit DevelopmentIntroduction to Linux Exploit Development
Introduction to Linux Exploit Development
 
Exploit techniques and mitigation
Exploit techniques and mitigationExploit techniques and mitigation
Exploit techniques and mitigation
 
Introduction to pointers and memory management in C
Introduction to pointers and memory management in CIntroduction to pointers and memory management in C
Introduction to pointers and memory management in C
 
Addressing
Addressing Addressing
Addressing
 
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming BasicsReversing & Malware Analysis Training Part 4 - Assembly Programming Basics
Reversing & Malware Analysis Training Part 4 - Assembly Programming Basics
 
Low Level Exploits
Low Level ExploitsLow Level Exploits
Low Level Exploits
 
Debugging Applications with GNU Debugger
Debugging Applications with GNU DebuggerDebugging Applications with GNU Debugger
Debugging Applications with GNU Debugger
 
Virtual Machine Constructions for Dummies
Virtual Machine Constructions for DummiesVirtual Machine Constructions for Dummies
Virtual Machine Constructions for Dummies
 
The Stack Frame
The Stack FrameThe Stack Frame
The Stack Frame
 
Advanced exploit development
Advanced exploit developmentAdvanced exploit development
Advanced exploit development
 
Stacks & subroutines 1
Stacks & subroutines 1Stacks & subroutines 1
Stacks & subroutines 1
 

Similar to Wk1to4

Programming basic computer
Programming basic computerProgramming basic computer
Programming basic computer
Martial Kouadio
 
Unit 3 assembler and processor
Unit 3   assembler and processorUnit 3   assembler and processor
Unit 3 assembler and processor
Abha Damani
 
6_2018_11_23!09_24_56_PM (1).pptx
6_2018_11_23!09_24_56_PM (1).pptx6_2018_11_23!09_24_56_PM (1).pptx
6_2018_11_23!09_24_56_PM (1).pptx
HebaEng
 
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutine
Ashim Saha
 
Assembly language programming(unit 4)
Assembly language programming(unit 4)Assembly language programming(unit 4)
Assembly language programming(unit 4)
Ashim Saha
 

Similar to Wk1to4 (20)

Programming basic computer
Programming basic computerProgramming basic computer
Programming basic computer
 
Assembly language part I
Assembly language part IAssembly language part I
Assembly language part I
 
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
 
Unit 3 assembler and processor
Unit 3   assembler and processorUnit 3   assembler and processor
Unit 3 assembler and processor
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .
 
12 mt06ped008
12 mt06ped008 12 mt06ped008
12 mt06ped008
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
Module 1-ppt System programming
Module 1-ppt System programmingModule 1-ppt System programming
Module 1-ppt System programming
 
6_2018_11_23!09_24_56_PM (1).pptx
6_2018_11_23!09_24_56_PM (1).pptx6_2018_11_23!09_24_56_PM (1).pptx
6_2018_11_23!09_24_56_PM (1).pptx
 
Stack and subroutine
Stack and subroutineStack and subroutine
Stack and subroutine
 
8086 Assembler Tutorial For Beginners (Part 1
8086 Assembler Tutorial For Beginners (Part 18086 Assembler Tutorial For Beginners (Part 1
8086 Assembler Tutorial For Beginners (Part 1
 
Chap03[1]
Chap03[1]Chap03[1]
Chap03[1]
 
Alp 05
Alp 05Alp 05
Alp 05
 
Alp 05
Alp 05Alp 05
Alp 05
 
Alp 05
Alp 05Alp 05
Alp 05
 
Microcontroller directives
Microcontroller directivesMicrocontroller directives
Microcontroller directives
 
7986-lect 7.pdf
7986-lect 7.pdf7986-lect 7.pdf
7986-lect 7.pdf
 
Assembly language programming(unit 4)
Assembly language programming(unit 4)Assembly language programming(unit 4)
Assembly language programming(unit 4)
 
Embedded C programming based on 8051 microcontroller
Embedded C programming based on 8051 microcontrollerEmbedded C programming based on 8051 microcontroller
Embedded C programming based on 8051 microcontroller
 
ISA.pptx
ISA.pptxISA.pptx
ISA.pptx
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Wk1to4