SlideShare a Scribd company logo
2
Most read
3
Most read
5
Most read
10H Interrupt
• Option 0H – Sets video mode.
• Registers used:
  – AH = 0H
  – AL = Video Mode.
        • 3H - CGA Color text of 80X25
        • 7H - Monochrome text of 80X25
• Ex:
  – MOV AH,0
  – MOV AL,7
  – INT 10H
BIOS Interrupt 10H
• Option 2H – Sets the cursor to a specific location.

• Registers used:
   – AH = 2H

   – BH = 0H selects Page 0.

   – DH = Row position.

   – DL = Column position.
Example


– MOV AH,2

– MOV BH,0

– MOV DH,12

– MOV DL,39

– INT 10H
Interrupt 10H – 6H
• Option 6H – Scroll window up. This interrupt is also used
  to clear the screen when you set AL = 0.
• Registers used:
   – AH = 6H
   – AL = number of lines to scroll.
   – BH = display attribute.
   – CH = y coordinate of top left.
   – CL = x coordinate of top left.
   – DH = y coordinate of lower right.
   – DL = x coordinate of lower right.
Cont..,
• Clear Screen Example:
   – MOV AH,6
   – MOV AL,0
   – MOV BH,7
   – MOV CH,0
   – MOV CL,0
   – MOV DH,24
   – MOV DL,79
   – INT 10H

• The code above may be shortened by using AX, BX and DX
  registers to move word size data instead of byte size data.
• Option 7H – Scroll window down. This interrupt is
  also used to clear the screen when you set AL = 0.
• Registers used:
   – AH = 7H
   – AL = number of lines to scroll.
   – BH = display attribute.
   – CH = y coordinate of top left.
   – CL = x coordinate of top left.
   – DH = y coordinate of lower right.
   – DL = x coordinate of lower right.
• Option 8H – Read a character and its attribute at the
  cursor position.
• Registers used:
   – AH = 8H and returned attribute value.
   – AL = Returned ASCII value.
   – BH = display page.
• Option 9H – Write a character and its attribute at the
  cursor position.
• Registers used:
   – AH = 9H.
   – AL = ASCII value.
   – BH = display page.
   – BL = attribute.
   – CX = number of characters to write.
The End

More Related Content

PPTX
عرض سورة البينة.pptx
DOCX
Kasalanan
PDF
التسهيل لعلوم التنزيل تفسير ابن جزي 1.pdf
PPT
Diaporama la parabole du fils prodigue
PDF
Projeto lixo zero praia limpa email
PDF
Ateizmi nje studim kritik
PDF
الخلاصة السّلسة لأصول قالون للشيخ محمد البارودي.
PPTX
The Luminous mysteries
عرض سورة البينة.pptx
Kasalanan
التسهيل لعلوم التنزيل تفسير ابن جزي 1.pdf
Diaporama la parabole du fils prodigue
Projeto lixo zero praia limpa email
Ateizmi nje studim kritik
الخلاصة السّلسة لأصول قالون للشيخ محمد البارودي.
The Luminous mysteries

Similar to 10 h interrupt (20)

PPTX
int 21 h for screen display
PPTX
Microprocessor chapter 9 - assembly language programming
PPTX
Text Mode Programming in Assembly
PDF
Files 3-handouts lecture-12
PPTX
Handling character display in graphics mode using bios
DOC
Biosmac
PDF
Coal 19-int10 h in Assembly Programming
PPTX
Assembly Language Programming
PDF
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
PPTX
Part III: Assembly Language
PPTX
Keyboard interrupt
PPTX
Introduction to Assembly Language
PPT
Chapter7.1-mikroprocessor
PPTX
DOCX
MASM -UNIT-III
PPTX
Introduction to Computer System. 8085/8086 architecture
PDF
8086 assembly
PDF
8086 Assembler Tutorial For Beginners (Part 1
PDF
Expanding The Micro Blaze System
DOC
8086 class notes-Y.N.M
int 21 h for screen display
Microprocessor chapter 9 - assembly language programming
Text Mode Programming in Assembly
Files 3-handouts lecture-12
Handling character display in graphics mode using bios
Biosmac
Coal 19-int10 h in Assembly Programming
Assembly Language Programming
Assembly Language Programming By Ytha Yu, Charles Marut Chap 4 (Introduction ...
Part III: Assembly Language
Keyboard interrupt
Introduction to Assembly Language
Chapter7.1-mikroprocessor
MASM -UNIT-III
Introduction to Computer System. 8085/8086 architecture
8086 assembly
8086 Assembler Tutorial For Beginners (Part 1
Expanding The Micro Blaze System
8086 class notes-Y.N.M
Ad

Recently uploaded (20)

PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
The various Industrial Revolutions .pptx
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
A review of recent deep learning applications in wood surface defect identifi...
PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
Web Crawler for Trend Tracking Gen Z Insights.pptx
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PPTX
Modernising the Digital Integration Hub
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
WOOl fibre morphology and structure.pdf for textiles
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Module 1.ppt Iot fundamentals and Architecture
O2C Customer Invoices to Receipt V15A.pptx
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
The various Industrial Revolutions .pptx
Taming the Chaos: How to Turn Unstructured Data into Decisions
A review of recent deep learning applications in wood surface defect identifi...
Hindi spoken digit analysis for native and non-native speakers
Web Crawler for Trend Tracking Gen Z Insights.pptx
Final SEM Unit 1 for mit wpu at pune .pptx
Enhancing emotion recognition model for a student engagement use case through...
Univ-Connecticut-ChatGPT-Presentaion.pdf
A novel scalable deep ensemble learning framework for big data classification...
Modernising the Digital Integration Hub
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Benefits of Physical activity for teenagers.pptx
A contest of sentiment analysis: k-nearest neighbor versus neural network
Developing a website for English-speaking practice to English as a foreign la...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
WOOl fibre morphology and structure.pdf for textiles
Ad

10 h interrupt

  • 2. • Option 0H – Sets video mode. • Registers used: – AH = 0H – AL = Video Mode. • 3H - CGA Color text of 80X25 • 7H - Monochrome text of 80X25 • Ex: – MOV AH,0 – MOV AL,7 – INT 10H
  • 3. BIOS Interrupt 10H • Option 2H – Sets the cursor to a specific location. • Registers used: – AH = 2H – BH = 0H selects Page 0. – DH = Row position. – DL = Column position.
  • 4. Example – MOV AH,2 – MOV BH,0 – MOV DH,12 – MOV DL,39 – INT 10H
  • 5. Interrupt 10H – 6H • Option 6H – Scroll window up. This interrupt is also used to clear the screen when you set AL = 0. • Registers used: – AH = 6H – AL = number of lines to scroll. – BH = display attribute. – CH = y coordinate of top left. – CL = x coordinate of top left. – DH = y coordinate of lower right. – DL = x coordinate of lower right.
  • 6. Cont.., • Clear Screen Example: – MOV AH,6 – MOV AL,0 – MOV BH,7 – MOV CH,0 – MOV CL,0 – MOV DH,24 – MOV DL,79 – INT 10H • The code above may be shortened by using AX, BX and DX registers to move word size data instead of byte size data.
  • 7. • Option 7H – Scroll window down. This interrupt is also used to clear the screen when you set AL = 0. • Registers used: – AH = 7H – AL = number of lines to scroll. – BH = display attribute. – CH = y coordinate of top left. – CL = x coordinate of top left. – DH = y coordinate of lower right. – DL = x coordinate of lower right.
  • 8. • Option 8H – Read a character and its attribute at the cursor position. • Registers used: – AH = 8H and returned attribute value. – AL = Returned ASCII value. – BH = display page.
  • 9. • Option 9H – Write a character and its attribute at the cursor position. • Registers used: – AH = 9H. – AL = ASCII value. – BH = display page. – BL = attribute. – CX = number of characters to write.