SlideShare a Scribd company logo
COMPUTER ORGANIZATION
& ASSEMBLY LANGUAGE
LECTURE # 7
BY MUHAMMAD JAFER
1
SEGMENTATION
• PARTITION OF MEMORY
• 8086
• 1MB
• 64k
• Data Segmentation
• Code Segmentation
• Stack Segmentation
• Extra Segmentation
2
PHYSICAL ADDRESS
• 00000H
• FFFFFH
• Actual Address in the memory
3
LOGICAL ADDRESS
• SEGMENT VALUE : OFFSET
• FFFFFH
• CS:IP
• 2500:95F3
4
LA VS PA IN CODE SEGMENT
5
Logical Address
CS:IP
Machine Language
Opcode and Oprand
Assembly Language
Mnemonics & Operand
1132:0100 B057 MOV AL,57
1132:0102 B686 MOV DH,86
1132:0104 B272 MOV DL,72
1132:0106 89D1 MOV CX,DX
1132:0108 88C7 MOV BH,AL
1132:010A B39F MOV BL,9F
LA VS PA IN DATA SEGMENT
6
Logical Address
SS:IP
Assembly Language
1132:0100 MOV AL,0
1132:0102 MOV BX,0200H
1132:0104 MOV Al,[BX]
1132:0106 INC BX
1132:0108 MOV Al,[BX]
1132:010A INC BX
CHAPTER REVIEW
• Fundamentals of Computer Organization and
Architecture by Mostafa Abd-Al-Barr & Hesham
AlRewini
• Chapter # 2
• Instruction Types
• Programming Examples
7
PROGRAM SEGMENTATION
• Three important part of assembly program
• Code Segment
• Data Segment
• Stack Segment
8

More Related Content

What's hot

Hands-on Experience with IPv6 Routing and Services
Hands-on Experience with IPv6 Routing and ServicesHands-on Experience with IPv6 Routing and Services
Hands-on Experience with IPv6 Routing and Services
Cisco Canada
 
Hands-on Experience with IPv6 Routing and Switching
Hands-on Experience with IPv6 Routing and Switching Hands-on Experience with IPv6 Routing and Switching
Hands-on Experience with IPv6 Routing and Switching
Cisco Canada
 
Galil ioc7007 catalog
Galil ioc7007 catalogGalil ioc7007 catalog
Galil ioc7007 catalog
Electromate
 
8051 Instruction Set
8051 Instruction Set8051 Instruction Set
8051 Instruction Set
Stupidsid.com
 
EIGRP Default Route
EIGRP Default Route EIGRP Default Route
EIGRP Default Route
NetProtocol Xpert
 
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introductionCodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime
 
Nb iot-nfapi-implementation-1
Nb iot-nfapi-implementation-1Nb iot-nfapi-implementation-1
Nb iot-nfapi-implementation-1
Yafie Abdillah
 
Data Mapping - SCSALE COPYBOOK MAPPING PRELIM GUIDE
Data Mapping - SCSALE COPYBOOK MAPPING PRELIM GUIDEData Mapping - SCSALE COPYBOOK MAPPING PRELIM GUIDE
Data Mapping - SCSALE COPYBOOK MAPPING PRELIM GUIDE
Jon Fortman
 
8051 experiments1
8051 experiments18051 experiments1
8051 experiments1
tt_aljobory
 
H323 ports
H323 portsH323 ports
H323 ports
wickatz
 
Cisco all book command show
Cisco all book command showCisco all book command show
Cisco all book command show
reddrag0n1
 
Reflexive Access List
Reflexive Access ListReflexive Access List
Reflexive Access List
NetProtocol Xpert
 
BGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP Toolkit
BGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP ToolkitBGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP Toolkit
BGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP Toolkit
APNIC
 
Сүлжээ1
Сүлжээ1Сүлжээ1
Сүлжээ1
Lhagvaa Byamba
 
OSPF Authentication
OSPF Authentication OSPF Authentication
OSPF Authentication
NetProtocol Xpert
 
The_Final_Presentation
The_Final_PresentationThe_Final_Presentation
The_Final_Presentation
Michael Schultz
 
Final presentation (NB-ioT nfapi) - Yafie Abdillah
Final presentation (NB-ioT nfapi) - Yafie AbdillahFinal presentation (NB-ioT nfapi) - Yafie Abdillah
Final presentation (NB-ioT nfapi) - Yafie Abdillah
Yafie Abdillah
 
DNS, DHCP & IPAM with IPv6
DNS, DHCP & IPAM with IPv6DNS, DHCP & IPAM with IPv6
DNS, DHCP & IPAM with IPv6
Andreas Taudte
 
PLC power point presentation
PLC power point presentationPLC power point presentation
PLC power point presentation
Naga Teja
 
Arm teaching material
Arm teaching materialArm teaching material
Arm teaching material
Nilesh Bhandare
 

What's hot (20)

Hands-on Experience with IPv6 Routing and Services
Hands-on Experience with IPv6 Routing and ServicesHands-on Experience with IPv6 Routing and Services
Hands-on Experience with IPv6 Routing and Services
 
Hands-on Experience with IPv6 Routing and Switching
Hands-on Experience with IPv6 Routing and Switching Hands-on Experience with IPv6 Routing and Switching
Hands-on Experience with IPv6 Routing and Switching
 
Galil ioc7007 catalog
Galil ioc7007 catalogGalil ioc7007 catalog
Galil ioc7007 catalog
 
8051 Instruction Set
8051 Instruction Set8051 Instruction Set
8051 Instruction Set
 
EIGRP Default Route
EIGRP Default Route EIGRP Default Route
EIGRP Default Route
 
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introductionCodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
CodiLime Tech Talk - Adam Kułagowski: IPv6 - introduction
 
Nb iot-nfapi-implementation-1
Nb iot-nfapi-implementation-1Nb iot-nfapi-implementation-1
Nb iot-nfapi-implementation-1
 
Data Mapping - SCSALE COPYBOOK MAPPING PRELIM GUIDE
Data Mapping - SCSALE COPYBOOK MAPPING PRELIM GUIDEData Mapping - SCSALE COPYBOOK MAPPING PRELIM GUIDE
Data Mapping - SCSALE COPYBOOK MAPPING PRELIM GUIDE
 
8051 experiments1
8051 experiments18051 experiments1
8051 experiments1
 
H323 ports
H323 portsH323 ports
H323 ports
 
Cisco all book command show
Cisco all book command showCisco all book command show
Cisco all book command show
 
Reflexive Access List
Reflexive Access ListReflexive Access List
Reflexive Access List
 
BGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP Toolkit
BGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP ToolkitBGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP Toolkit
BGP Bugs, Hiccups and weird stuff: Issues seen by RT-BGP Toolkit
 
Сүлжээ1
Сүлжээ1Сүлжээ1
Сүлжээ1
 
OSPF Authentication
OSPF Authentication OSPF Authentication
OSPF Authentication
 
The_Final_Presentation
The_Final_PresentationThe_Final_Presentation
The_Final_Presentation
 
Final presentation (NB-ioT nfapi) - Yafie Abdillah
Final presentation (NB-ioT nfapi) - Yafie AbdillahFinal presentation (NB-ioT nfapi) - Yafie Abdillah
Final presentation (NB-ioT nfapi) - Yafie Abdillah
 
DNS, DHCP & IPAM with IPv6
DNS, DHCP & IPAM with IPv6DNS, DHCP & IPAM with IPv6
DNS, DHCP & IPAM with IPv6
 
PLC power point presentation
PLC power point presentationPLC power point presentation
PLC power point presentation
 
Arm teaching material
Arm teaching materialArm teaching material
Arm teaching material
 

Viewers also liked

Coal 14 input output devices in Assembly Programming
Coal 14 input output devices in Assembly ProgrammingCoal 14 input output devices in Assembly Programming
Coal 14 input output devices in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Part I:Introduction to assembly language
Part I:Introduction to assembly languagePart I:Introduction to assembly language
Part I:Introduction to assembly language
Ahmed M. Abed
 
Assembly Language Basics
Assembly Language BasicsAssembly Language Basics
Assembly Language Basics
Education Front
 
8086 new
8086 new8086 new
Assembly level language
Assembly level languageAssembly level language
Assembly level language
PDFSHARE
 
M-tree Algorithm
M-tree AlgorithmM-tree Algorithm
M-tree Algorithm
James Guo
 
10.m way search tree
10.m way search tree10.m way search tree
10.m way search tree
Chandan Singh
 
B trees
B treesB trees
Avl tree
Avl treeAvl tree
Avl tree
Van Pham
 
Chapter 2 Relational Data Model-part 2
Chapter 2 Relational Data Model-part 2Chapter 2 Relational Data Model-part 2
Chapter 2 Relational Data Model-part 2
Eddyzulham Mahluzydde
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
Nikhil Kumar
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Language
fasihuddin90
 
Assembly Language Lecture 1
Assembly Language Lecture 1Assembly Language Lecture 1
Assembly Language Lecture 1
Motaz Saad
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
ankitraosingh
 
Rehiyon 4-B MIMAROPA
Rehiyon 4-B MIMAROPARehiyon 4-B MIMAROPA
Rehiyon 4-B MIMAROPA
Avigail Gabaleo Maximo
 
Virtual memory ppt
Virtual memory pptVirtual memory ppt
MIMAROPA (Region 4B)
MIMAROPA (Region 4B)MIMAROPA (Region 4B)
MIMAROPA (Region 4B)
Marchie Villarante
 
Market segmentation presentation
Market segmentation presentationMarket segmentation presentation
Market segmentation presentation
Amol Salve
 

Viewers also liked (18)

Coal 14 input output devices in Assembly Programming
Coal 14 input output devices in Assembly ProgrammingCoal 14 input output devices in Assembly Programming
Coal 14 input output devices in Assembly Programming
 
Part I:Introduction to assembly language
Part I:Introduction to assembly languagePart I:Introduction to assembly language
Part I:Introduction to assembly language
 
Assembly Language Basics
Assembly Language BasicsAssembly Language Basics
Assembly Language Basics
 
8086 new
8086 new8086 new
8086 new
 
Assembly level language
Assembly level languageAssembly level language
Assembly level language
 
M-tree Algorithm
M-tree AlgorithmM-tree Algorithm
M-tree Algorithm
 
10.m way search tree
10.m way search tree10.m way search tree
10.m way search tree
 
B trees
B treesB trees
B trees
 
Avl tree
Avl treeAvl tree
Avl tree
 
Chapter 2 Relational Data Model-part 2
Chapter 2 Relational Data Model-part 2Chapter 2 Relational Data Model-part 2
Chapter 2 Relational Data Model-part 2
 
Memory Segmentation of 8086
Memory Segmentation of 8086Memory Segmentation of 8086
Memory Segmentation of 8086
 
Computer Organization and Assembly Language
Computer Organization and Assembly LanguageComputer Organization and Assembly Language
Computer Organization and Assembly Language
 
Assembly Language Lecture 1
Assembly Language Lecture 1Assembly Language Lecture 1
Assembly Language Lecture 1
 
Input output accessing
Input output accessingInput output accessing
Input output accessing
 
Rehiyon 4-B MIMAROPA
Rehiyon 4-B MIMAROPARehiyon 4-B MIMAROPA
Rehiyon 4-B MIMAROPA
 
Virtual memory ppt
Virtual memory pptVirtual memory ppt
Virtual memory ppt
 
MIMAROPA (Region 4B)
MIMAROPA (Region 4B)MIMAROPA (Region 4B)
MIMAROPA (Region 4B)
 
Market segmentation presentation
Market segmentation presentationMarket segmentation presentation
Market segmentation presentation
 

Similar to Coal7 segmentation in Assembly Programming

Coal 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly ProgrammingCoal 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Assemblers
AssemblersAssemblers
Assemblers
Dattatray Gandhmal
 
Vb 8086 programme
Vb 8086 programmeVb 8086 programme
Vb 8086 programme
BAIJU V
 
Microcontroller 8051- soft.ppt
Microcontroller 8051- soft.pptMicrocontroller 8051- soft.ppt
Microcontroller 8051- soft.ppt
steffydean
 
Intel8086_Flags_Addr_Modes_sample_pgms.pdf
Intel8086_Flags_Addr_Modes_sample_pgms.pdfIntel8086_Flags_Addr_Modes_sample_pgms.pdf
Intel8086_Flags_Addr_Modes_sample_pgms.pdf
Anonymous611358
 
MOPCON-2023_Wig.pdf
MOPCON-2023_Wig.pdfMOPCON-2023_Wig.pdf
MOPCON-2023_Wig.pdf
Cheng Wig
 
Programming segment 8086 Memory model 8086
Programming segment 8086 Memory model 8086Programming segment 8086 Memory model 8086
Programming segment 8086 Memory model 8086
FazalHameed14
 
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
Technogroovy India
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
HarshitParkar6677
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
HarshitParkar6677
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
vipinkmenon1
 
Microprocessor Part 3
Microprocessor    Part  3Microprocessor    Part  3
Microprocessor Part 3
Sajan Agrawal
 
SIP Tutorial/Workshop 4
SIP Tutorial/Workshop 4SIP Tutorial/Workshop 4
SIP Tutorial/Workshop 4
Mihály Mészáros
 
Lec04
Lec04Lec04
Lec04
Lec04Lec04
Chapter 2 The 8088 Microprocessor
Chapter 2   The 8088 MicroprocessorChapter 2   The 8088 Microprocessor
Chapter 2 The 8088 Microprocessor
Dwight Sabio
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
karthiga selvaraju
 
Buy Embedded Systems Projects Online,Buy B tech Projects Online
Buy Embedded Systems Projects Online,Buy B tech Projects OnlineBuy Embedded Systems Projects Online,Buy B tech Projects Online
Buy Embedded Systems Projects Online,Buy B tech Projects Online
Technogroovy
 
Chap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmpChap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmp
東原 李
 
FreePBX Application Introduce
FreePBX Application IntroduceFreePBX Application Introduce
FreePBX Application Introduce
Zack Chou
 

Similar to Coal7 segmentation in Assembly Programming (20)

Coal 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly ProgrammingCoal 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly Programming
 
Assemblers
AssemblersAssemblers
Assemblers
 
Vb 8086 programme
Vb 8086 programmeVb 8086 programme
Vb 8086 programme
 
Microcontroller 8051- soft.ppt
Microcontroller 8051- soft.pptMicrocontroller 8051- soft.ppt
Microcontroller 8051- soft.ppt
 
Intel8086_Flags_Addr_Modes_sample_pgms.pdf
Intel8086_Flags_Addr_Modes_sample_pgms.pdfIntel8086_Flags_Addr_Modes_sample_pgms.pdf
Intel8086_Flags_Addr_Modes_sample_pgms.pdf
 
MOPCON-2023_Wig.pdf
MOPCON-2023_Wig.pdfMOPCON-2023_Wig.pdf
MOPCON-2023_Wig.pdf
 
Programming segment 8086 Memory model 8086
Programming segment 8086 Memory model 8086Programming segment 8086 Memory model 8086
Programming segment 8086 Memory model 8086
 
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
Embedded Systems Training & Live Projects @Technogroovy Systems India Pvt Ltd
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
 
Microprocessor history1
Microprocessor history1Microprocessor history1
Microprocessor history1
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Microprocessor Part 3
Microprocessor    Part  3Microprocessor    Part  3
Microprocessor Part 3
 
SIP Tutorial/Workshop 4
SIP Tutorial/Workshop 4SIP Tutorial/Workshop 4
SIP Tutorial/Workshop 4
 
Lec04
Lec04Lec04
Lec04
 
Lec04
Lec04Lec04
Lec04
 
Chapter 2 The 8088 Microprocessor
Chapter 2   The 8088 MicroprocessorChapter 2   The 8088 Microprocessor
Chapter 2 The 8088 Microprocessor
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Buy Embedded Systems Projects Online,Buy B tech Projects Online
Buy Embedded Systems Projects Online,Buy B tech Projects OnlineBuy Embedded Systems Projects Online,Buy B tech Projects Online
Buy Embedded Systems Projects Online,Buy B tech Projects Online
 
Chap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmpChap2. ipv4-arp-icmp
Chap2. ipv4-arp-icmp
 
FreePBX Application Introduce
FreePBX Application IntroduceFreePBX Application Introduce
FreePBX Application Introduce
 

More from Muhammad Taqi Hassan Bukhari

Coal 20-int21 h in Assembly Programming
Coal 20-int21 h in Assembly ProgrammingCoal 20-int21 h in Assembly Programming
Coal 20-int21 h in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 19-int10 h in Assembly Programming
Coal 19-int10 h in Assembly ProgrammingCoal 19-int10 h in Assembly Programming
Coal 19-int10 h in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 18 cache in Assembly Programming
Coal 18 cache in Assembly ProgrammingCoal 18 cache in Assembly Programming
Coal 18 cache in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 17 - arithematic operation in Assembly Programming
Coal 17 - arithematic operation in Assembly ProgrammingCoal 17 - arithematic operation in Assembly Programming
Coal 17 - arithematic operation in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 16 mapping in Assembly Programming
Coal 16 mapping in Assembly ProgrammingCoal 16 mapping in Assembly Programming
Coal 16 mapping in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 15 memory in Assembly Programming
Coal 15 memory in Assembly ProgrammingCoal 15 memory in Assembly Programming
Coal 15 memory in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 11 jumps in Assembly Programming
Coal 11 jumps in Assembly ProgrammingCoal 11 jumps in Assembly Programming
Coal 11 jumps in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 10 instruction cycle and interrupts in Assembly Programming
Coal 10 instruction cycle and interrupts in Assembly ProgrammingCoal 10 instruction cycle and interrupts in Assembly Programming
Coal 10 instruction cycle and interrupts in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 6 instruction in assembly languages in Assembly Programming
Coal 6 instruction in assembly languages in Assembly ProgrammingCoal 6 instruction in assembly languages in Assembly Programming
Coal 6 instruction in assembly languages in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 5 memory reading concepts in Assembly Programming
Coal 5 memory reading concepts in Assembly ProgrammingCoal 5 memory reading concepts in Assembly Programming
Coal 5 memory reading concepts in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 4 - quiz in Assembly Programming
Coal 4 - quiz in Assembly ProgrammingCoal 4 - quiz in Assembly Programming
Coal 4 - quiz in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 3 history of intel evolution in Assembly Programming
Coal 3 history of intel evolution in Assembly ProgrammingCoal 3 history of intel evolution in Assembly Programming
Coal 3 history of intel evolution in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 2 - concepts in Assembly Programming
Coal 2 - concepts in Assembly ProgrammingCoal 2 - concepts in Assembly Programming
Coal 2 - concepts in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 1 - introduction to assembly programming in Assembly Programming
Coal 1 - introduction to assembly programming in Assembly ProgrammingCoal 1 - introduction to assembly programming in Assembly Programming
Coal 1 - introduction to assembly programming in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Coal 21- macro in Assembly Programming
Coal 21- macro in Assembly ProgrammingCoal 21- macro in Assembly Programming
Coal 21- macro in Assembly Programming
Muhammad Taqi Hassan Bukhari
 
Various type of register
Various type of registerVarious type of register
Various type of register
Muhammad Taqi Hassan Bukhari
 
MSF process model
MSF process modelMSF process model
MSF process model
Muhammad Taqi Hassan Bukhari
 
HRM Short Handouts - Taqi Hassan
HRM Short Handouts - Taqi HassanHRM Short Handouts - Taqi Hassan
HRM Short Handouts - Taqi Hassan
Muhammad Taqi Hassan Bukhari
 
HRM Short notes - Taqi Hassan
HRM Short notes - Taqi HassanHRM Short notes - Taqi Hassan
HRM Short notes - Taqi Hassan
Muhammad Taqi Hassan Bukhari
 

More from Muhammad Taqi Hassan Bukhari (19)

Coal 20-int21 h in Assembly Programming
Coal 20-int21 h in Assembly ProgrammingCoal 20-int21 h in Assembly Programming
Coal 20-int21 h in Assembly Programming
 
Coal 19-int10 h in Assembly Programming
Coal 19-int10 h in Assembly ProgrammingCoal 19-int10 h in Assembly Programming
Coal 19-int10 h in Assembly Programming
 
Coal 18 cache in Assembly Programming
Coal 18 cache in Assembly ProgrammingCoal 18 cache in Assembly Programming
Coal 18 cache in Assembly Programming
 
Coal 17 - arithematic operation in Assembly Programming
Coal 17 - arithematic operation in Assembly ProgrammingCoal 17 - arithematic operation in Assembly Programming
Coal 17 - arithematic operation in Assembly Programming
 
Coal 16 mapping in Assembly Programming
Coal 16 mapping in Assembly ProgrammingCoal 16 mapping in Assembly Programming
Coal 16 mapping in Assembly Programming
 
Coal 15 memory in Assembly Programming
Coal 15 memory in Assembly ProgrammingCoal 15 memory in Assembly Programming
Coal 15 memory in Assembly Programming
 
Coal 11 jumps in Assembly Programming
Coal 11 jumps in Assembly ProgrammingCoal 11 jumps in Assembly Programming
Coal 11 jumps in Assembly Programming
 
Coal 10 instruction cycle and interrupts in Assembly Programming
Coal 10 instruction cycle and interrupts in Assembly ProgrammingCoal 10 instruction cycle and interrupts in Assembly Programming
Coal 10 instruction cycle and interrupts in Assembly Programming
 
Coal 6 instruction in assembly languages in Assembly Programming
Coal 6 instruction in assembly languages in Assembly ProgrammingCoal 6 instruction in assembly languages in Assembly Programming
Coal 6 instruction in assembly languages in Assembly Programming
 
Coal 5 memory reading concepts in Assembly Programming
Coal 5 memory reading concepts in Assembly ProgrammingCoal 5 memory reading concepts in Assembly Programming
Coal 5 memory reading concepts in Assembly Programming
 
Coal 4 - quiz in Assembly Programming
Coal 4 - quiz in Assembly ProgrammingCoal 4 - quiz in Assembly Programming
Coal 4 - quiz in Assembly Programming
 
Coal 3 history of intel evolution in Assembly Programming
Coal 3 history of intel evolution in Assembly ProgrammingCoal 3 history of intel evolution in Assembly Programming
Coal 3 history of intel evolution in Assembly Programming
 
Coal 2 - concepts in Assembly Programming
Coal 2 - concepts in Assembly ProgrammingCoal 2 - concepts in Assembly Programming
Coal 2 - concepts in Assembly Programming
 
Coal 1 - introduction to assembly programming in Assembly Programming
Coal 1 - introduction to assembly programming in Assembly ProgrammingCoal 1 - introduction to assembly programming in Assembly Programming
Coal 1 - introduction to assembly programming in Assembly Programming
 
Coal 21- macro in Assembly Programming
Coal 21- macro in Assembly ProgrammingCoal 21- macro in Assembly Programming
Coal 21- macro in Assembly Programming
 
Various type of register
Various type of registerVarious type of register
Various type of register
 
MSF process model
MSF process modelMSF process model
MSF process model
 
HRM Short Handouts - Taqi Hassan
HRM Short Handouts - Taqi HassanHRM Short Handouts - Taqi Hassan
HRM Short Handouts - Taqi Hassan
 
HRM Short notes - Taqi Hassan
HRM Short notes - Taqi HassanHRM Short notes - Taqi Hassan
HRM Short notes - Taqi Hassan
 

Recently uploaded

原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
Karya Keeper
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
ISH Technologies
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
NishanthaBulumulla1
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 

Recently uploaded (20)

原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 

Coal7 segmentation in Assembly Programming

  • 1. COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE LECTURE # 7 BY MUHAMMAD JAFER 1
  • 2. SEGMENTATION • PARTITION OF MEMORY • 8086 • 1MB • 64k • Data Segmentation • Code Segmentation • Stack Segmentation • Extra Segmentation 2
  • 3. PHYSICAL ADDRESS • 00000H • FFFFFH • Actual Address in the memory 3
  • 4. LOGICAL ADDRESS • SEGMENT VALUE : OFFSET • FFFFFH • CS:IP • 2500:95F3 4
  • 5. LA VS PA IN CODE SEGMENT 5 Logical Address CS:IP Machine Language Opcode and Oprand Assembly Language Mnemonics & Operand 1132:0100 B057 MOV AL,57 1132:0102 B686 MOV DH,86 1132:0104 B272 MOV DL,72 1132:0106 89D1 MOV CX,DX 1132:0108 88C7 MOV BH,AL 1132:010A B39F MOV BL,9F
  • 6. LA VS PA IN DATA SEGMENT 6 Logical Address SS:IP Assembly Language 1132:0100 MOV AL,0 1132:0102 MOV BX,0200H 1132:0104 MOV Al,[BX] 1132:0106 INC BX 1132:0108 MOV Al,[BX] 1132:010A INC BX
  • 7. CHAPTER REVIEW • Fundamentals of Computer Organization and Architecture by Mostafa Abd-Al-Barr & Hesham AlRewini • Chapter # 2 • Instruction Types • Programming Examples 7
  • 8. PROGRAM SEGMENTATION • Three important part of assembly program • Code Segment • Data Segment • Stack Segment 8