SlideShare uma empresa Scribd logo
1 de 7
Baixar para ler offline
COMPUTER ORGANIZATION
& ASSEMBLY LANGUAGE
LECTURE ON 21H WEEK 13 PRACTICAL
BY MUHAMMAD JAFER
1
INT 21H
• BIOS-ROM based
• DOS INT 21H function Calls
• Appendix D contains all of the functions
• Displaying & Inputting Function
2
CHARACTER DISPLAY
• Option 09
• DATA1 = ‘This earth is but one country’,’$’
• AH = 09
• DX = OFFSET DATA1
• INT 21H
• Importance of $
• Option 02
• AH = 02
• DL = ‘J’
• INT 21H
• Single Character
3
CHARACTER INPUT
• Option 01
• AH = 01
• INT 21H
• Result : AL= input Character
• Echoing
• Option 0AH
• DATA1 DUP 6,?,6 (FF)
• AH = 0AH
• DX = OFFSET DATA1
• INT 21H
• Buffer Concepts
• 1st Byte = Size of Buffer
• 2nd Byte = No of Characters
• 3rd Bytes onwards = Data
4
CHARACTER INPUT (CONT)
• Option 07
• AH = 07
• INT 21H
• Result : AL= input Character
• No Echo
5
LABEL DIRECTIVE
• Name LABEL Attribute
• JOE LABEL Byte
• WORD,DWORD,FWORD,QWORD,TBYTE
6
CHAPTER REVIEW
• The x86 PC Assembly Language, Design &
Interfacing
• Chapter # 4
• BIOS INT 21H PROGRAMMING
7

Mais conteúdo relacionado

Destaque

THE GREATEST MONEY-MAKING SECRET IN HISTORY
THE GREATEST MONEY-MAKING SECRET IN HISTORYTHE GREATEST MONEY-MAKING SECRET IN HISTORY
THE GREATEST MONEY-MAKING SECRET IN HISTORY
Opeyemi Akinsanya
 

Destaque (7)

Propulsión y mezcla de los alimentos en el td
Propulsión y mezcla de los alimentos en el tdPropulsión y mezcla de los alimentos en el td
Propulsión y mezcla de los alimentos en el td
 
assembly language programming organization of IBM PC chapter 9 part-2(decimal...
assembly language programming organization of IBM PC chapter 9 part-2(decimal...assembly language programming organization of IBM PC chapter 9 part-2(decimal...
assembly language programming organization of IBM PC chapter 9 part-2(decimal...
 
Binary and hex input/output (in 8086 assembuly langyage)
Binary and hex input/output (in 8086 assembuly langyage)Binary and hex input/output (in 8086 assembuly langyage)
Binary and hex input/output (in 8086 assembuly langyage)
 
THE GREATEST MONEY-MAKING SECRET IN HISTORY
THE GREATEST MONEY-MAKING SECRET IN HISTORYTHE GREATEST MONEY-MAKING SECRET IN HISTORY
THE GREATEST MONEY-MAKING SECRET IN HISTORY
 
Santiburi Beach Resort & Spa, Samui Thailand detailed 220816
Santiburi Beach Resort & Spa, Samui Thailand detailed  220816Santiburi Beach Resort & Spa, Samui Thailand detailed  220816
Santiburi Beach Resort & Spa, Samui Thailand detailed 220816
 
У ЦТК відбулися змагання серед гуртківців із в’язання туристських вузлів, при...
У ЦТК відбулися змагання серед гуртківців із в’язання туристських вузлів, при...У ЦТК відбулися змагання серед гуртківців із в’язання туристських вузлів, при...
У ЦТК відбулися змагання серед гуртківців із в’язання туристських вузлів, при...
 
Financial Analysis of Fatima fertilizer Company limited
Financial Analysis of Fatima fertilizer Company limitedFinancial Analysis of Fatima fertilizer Company limited
Financial Analysis of Fatima fertilizer Company limited
 

Mais de Muhammad Taqi Hassan Bukhari

Mais de Muhammad Taqi Hassan Bukhari (20)

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 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
 
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 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly ProgrammingCoal 9 pipelining in Assembly Programming
Coal 9 pipelining in Assembly Programming
 
Coal7 segmentation in Assembly Programming
Coal7 segmentation in Assembly ProgrammingCoal7 segmentation in Assembly Programming
Coal7 segmentation 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
 

Último

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
 

Último (20)

Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 

Coal 20-int21 h in Assembly Programming

  • 1. COMPUTER ORGANIZATION & ASSEMBLY LANGUAGE LECTURE ON 21H WEEK 13 PRACTICAL BY MUHAMMAD JAFER 1
  • 2. INT 21H • BIOS-ROM based • DOS INT 21H function Calls • Appendix D contains all of the functions • Displaying & Inputting Function 2
  • 3. CHARACTER DISPLAY • Option 09 • DATA1 = ‘This earth is but one country’,’$’ • AH = 09 • DX = OFFSET DATA1 • INT 21H • Importance of $ • Option 02 • AH = 02 • DL = ‘J’ • INT 21H • Single Character 3
  • 4. CHARACTER INPUT • Option 01 • AH = 01 • INT 21H • Result : AL= input Character • Echoing • Option 0AH • DATA1 DUP 6,?,6 (FF) • AH = 0AH • DX = OFFSET DATA1 • INT 21H • Buffer Concepts • 1st Byte = Size of Buffer • 2nd Byte = No of Characters • 3rd Bytes onwards = Data 4
  • 5. CHARACTER INPUT (CONT) • Option 07 • AH = 07 • INT 21H • Result : AL= input Character • No Echo 5
  • 6. LABEL DIRECTIVE • Name LABEL Attribute • JOE LABEL Byte • WORD,DWORD,FWORD,QWORD,TBYTE 6
  • 7. CHAPTER REVIEW • The x86 PC Assembly Language, Design & Interfacing • Chapter # 4 • BIOS INT 21H PROGRAMMING 7