answersLogoWhite

0

What do you mean by int 21h?

Updated: 12/2/2022
User Avatar

Wiki User

10y ago

Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: What do you mean by int 21h?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you display the menu using the assembly language programming?

start: jmp main option1 db 0ah, 0dh, "1. OPTION 1 $" option2 db 0ah, 0dh, "2. OPTION 2 $" exit db 0ah, 0dh, "3. EXIT $" str1 db 0ah, 0dh, "Press Key: $" x db 0ah, 0dh, "You Pressed option 1 $" y db 0ah, 0dh, "You Pressed option 2 $" z db 0ah, 0dh, "End $" nvl db 0ah, 0dh, "Invalid Option $" one db "1" two db "2" tre db "3" main proc mov ah,09h lea dx,option1 int 21h lea dx,option2 int 21h lea dx,exit int 21h again: mov ah,09h lea dx,str1 int 21h mov ah,01 int 21h mov bl,al cmp bl,"1" je disp1 cmp bl,"2" je disp2 cmp bl,"3" je dispexit cmp al,one jne n cmp al,two jne n cmp al,tre jne n n: mov ah,09h lea dx,nvl int 21h jmp again disp1: mov ah,09h lea dx,x int 21h jmp again disp2: mov ah,09h lea dx,y int 21h jmp again dispexit: mov ah,09h lea dx,z int 21h int 20h main endp end start


C plus plus prog a function mean that returns the mean of all Values in the given array double mean int list int arraySize?

double mean(int list[], int arraySize) { double result=0; for(int i=0; i<arraySize; ++i ) result += list[i]; return(result/size); }


Write a program to determine the weighted arithmetic mean using C language?

#includevoid mean(int[],int);void main(){int n,a[24];printf("Enter the number of terms to find mean\n");scanf("%d",&n);printf("Enter the numbers\n");for(i=0;i


How do you add 2 numbers with register machine assembly language?

.model small .stack .data .code main proc mov al,10 mov bl,15 add al, bl start: mov cx,8 mov bl,'1' test bl,10000000b mov ah,09h int 21h next: shl bl,1 mov dl,1 mov ah,09h int 21h mov ah,4ch int 21h main endp end start end


Does int mean interface in programming language?

No. In most programming languages int is a keyword used to represent integer numeric values.

Related questions

Explain how int 21h can be used for input output in 8086 microprocessor?

The INT 21H instruction in the 8086 is a software interrupt to vector 21H. In order for it to be used for input/output, the programming that responds to INT 21H must be present. This is part of the Operating System.


What int 21a?

1. syntax error2. int 21h -- assembly statement in x86 to access a MS-DOS service


How do you display the menu using the assembly language programming?

start: jmp main option1 db 0ah, 0dh, "1. OPTION 1 $" option2 db 0ah, 0dh, "2. OPTION 2 $" exit db 0ah, 0dh, "3. EXIT $" str1 db 0ah, 0dh, "Press Key: $" x db 0ah, 0dh, "You Pressed option 1 $" y db 0ah, 0dh, "You Pressed option 2 $" z db 0ah, 0dh, "End $" nvl db 0ah, 0dh, "Invalid Option $" one db "1" two db "2" tre db "3" main proc mov ah,09h lea dx,option1 int 21h lea dx,option2 int 21h lea dx,exit int 21h again: mov ah,09h lea dx,str1 int 21h mov ah,01 int 21h mov bl,al cmp bl,"1" je disp1 cmp bl,"2" je disp2 cmp bl,"3" je dispexit cmp al,one jne n cmp al,two jne n cmp al,tre jne n n: mov ah,09h lea dx,nvl int 21h jmp again disp1: mov ah,09h lea dx,x int 21h jmp again disp2: mov ah,09h lea dx,y int 21h jmp again dispexit: mov ah,09h lea dx,z int 21h int 20h main endp end start


What is the function of 01h of Int 21h?

Read the manual, please. If you don't know where the manual is, Ralph Brown's famous interrupt-list might help.


ALP program for palindrome number in 8086?

Data segment msg1 db 10,13,'enter the string: $' msg2 db 10,13,'string is palindrome$' msg3 db 10,13,'string is not palindrome$' new db 10,13,'$' inst db 20 dup(0) data ends code segment assume cs:code,ds:data start: mov ax,data mov ds,ax lea dx,msg1 mov ah,09h int 21h mov bx,00 up: mov ah,01h int 21h cmp al,0dh je down mov [inst+bx],al inc bx loop up down: mov di,0 dec bx jnz check check: mov al,[inst+bx] cmp al,[inst+di] jne fail inc di dec bx jnz check lea dx,new mov ah,09h int 21h lea dx,msg2 mov ah,09h int 21h jmp finish fail: lea dx,msg3 mov ah,09h int 21h finish: int 3 code ends end start end


Password program code in assembly language?

01start: jmp main 02 03 option1 db 0ah, 0dh, "1. OPTION 1 $" 04 option2 db 0ah, 0dh, "2. OPTION 2 $" 05 exit db 0ah, 0dh, "3. EXIT $" 06 07 str1 db 0ah, 0dh, "Press Key: $" 08 09 x db 0ah, 0dh, "You Pressed option 1 $" 10 y db 0ah, 0dh, "You Pressed option 2 $" 11 z db 0ah, 0dh, "End $" 12 13 nvl db 0ah, 0dh, "Invalid Option $" 14 15 one db "1" 16 two db "2" 17 tre db "3" 18 19 20main proc 21 22 23 mov ah,09h 24 lea dx,option1 25 int 21h 26 27 lea dx,option2 28 int 21h 29 30 lea dx,exit 31 int 21h 32again: 33 mov ah,09h 34 lea dx,str1 35 int 21h 36 37 mov ah,01 38 int 21h 39 40 mov bl,al 41 42 cmp bl,"1" 43 je disp1 44 45 cmp bl,"2" 46 je disp2 47 48 cmp bl,"3" 49 je dispexit 50 51 cmp al,one 52 jne n 53 54 cmp al,two 55 jne n 56 57 cmp al,tre 58 jne n 59 60n: 61 mov ah,09h 62 lea dx,nvl 63 int 21h 64 jmp again 65 66 67disp1: 68 mov ah,09h 69 lea dx,x 70 int 21h 71 jmp again 72 73 74disp2: 75 mov ah,09h 76 lea dx,y 77 int 21h 78 jmp again 79 80dispexit: 81 mov ah,09h 82 lea dx,z 83 int 21h 84 int 20h 85 86 87main endp 88end start


What are the requirements that must be satisfied before INT 21h service 9 prints the string?

Wag ka nang mag aral, pa wiki answers ka pang nalalaman dyan!


What does USP Priority Int mean?

Int is short for international.


What does distribution of int nonadr mean?

distribution of int notary


C plus plus prog a function mean that returns the mean of all Values in the given array double mean int list int arraySize?

double mean(int list[], int arraySize) { double result=0; for(int i=0; i<arraySize; ++i ) result += list[i]; return(result/size); }


What is the Difference between normal int and regular int?

Are you sure that these words (normal int and regular int) actually mean something?


21H is a n_____of hydrogen?

Isotope. APEX