What is the function of INT 10H with AH 09h?

List of supported functions

FunctionFunction codeReturn
Read character and attribute at cursor positionAH=08hAH = Color, AL = Character
Write character and attribute at cursor positionAH=09h
Write character only at cursor positionAH=0Ah
Set background/border colorAH=0Bh, BH = 00h

How do you use INT 10H?

Among the functions associated with INT 10H are changing character or background color, clearing the screen, and changing the location of the cursor. – Chosen by putting a specific value in register AH. To change the video mode, use INT 10H with AH = 00 and AL = video mode. Text mode of 80 × 25 characters.

What is the function of INT 21h in 8086?

3 Answers. INT 21H will generate the software interrupt 0x21 (33 in decimal), causing the function pointed to by the 34th vector in the interrupt table to be executed, which is typically an MS-DOS API call.

What is 09h in assembly language?

Example: DOS function 09h: display a string of characters whose offset is specified by DX. DOS function 08h: input a key to AL.

What is the function of 4ch under INT 21h?

INT 21h function 4Ch is preferred. Action: Reads a character from the standard input device and echoes it to the standard output device. If no character is ready it waits until one is available.

What does the INT 21h accomplish if ah contains 4ch?

on ah=4ch int 21h , the program will terminate control to the operating system. (end the program) And int 21h is a dos interrupt.

What is the function of 4ch and INT 21h?

What is the function of the BIOS?

BIOS, in full Basic Input/Output System, computer program that is typically stored in EPROM and used by the CPU to perform start-up procedures when the computer is turned on. Its two major procedures are determining what peripheral devices (keyboard, mouse, disk drives, printers, video cards, etc.)

What does intint 10h stand for?

INT 10h, INT 10H or INT 16 is shorthand for BIOS interrupt call 10 hex, the 17th interrupt vector in an x86 -based computer system. The BIOS typically sets up a real mode interrupt handler at this vector that provides video services. Such services include setting the video mode, character and string output,…

What is the meaning of INT 10h in AutoCAD?

INT 10h / AH = 0Ah -write Character only at cursor position. AL = Character to Display. BH = page number. INT 10h / AH = 0CH – Change color for a Single pixel. CX = column. DX = row. INT 10h; set graphics video mode. INT 10h; set pixel. INT 10h / AH = 0Dh – get color of a Single pixel.

What is intint 10h in BIOS?

INT 10h, INT 10H or INT 16 is shorthand for BIOS interrupt call 10 hex, the 17th interrupt vector in an x86 -based computer system. The BIOS typically sets up a real mode interrupt handler at this vector that provides video services.

What are the functions of Ah in a video card?

Such services include setting the video mode, character and string output, and graphics primitives (reading and writing pixels in graphics mode). To use this call, load AH with the number of the desired subfunction, load other required parameters in other registers, and make the call.

You Might Also Like