answersLogoWhite

0

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

User Avatar

Wiki User

14y ago

What else can I help you with?

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 is the function of 02h of int 21h in 8051 processor?

In the 8051 microcontroller, the function of 02h of int 21h is to output a character to the standard output device, typically the serial port. When this interrupt is called, it takes a character from the accumulator (register A) and sends it to the output. This is commonly used for displaying characters on a terminal or for debugging purposes.


What int 21a?

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


What is the function of 4ch of int 21h?

The function of 4Ch of interrupt 21h in DOS is to terminate a program and return control to the operating system. When called, it can also optionally provide an exit code that indicates the program's termination status. This function is commonly used to gracefully exit a program and clean up resources. It effectively signals to the OS that the program has finished executing.


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


What do you mean by int 21h?

In assembly language programming for DOS, "int 21h" refers to a software interrupt that provides access to various DOS services. The "21h" indicates the hexadecimal value of the interrupt, which allows programs to perform functions such as file management, input/output operations, and other system-level tasks. Each function is specified by setting a register (typically AH) to a specific value before calling the interrupt. This mechanism is essential for interacting with the operating system at a low level.


Compute the factorial of n using 8086 microprocessors?

code segment assume cs:code,ds:code mov bx,1200h mov cx,[bx] mov ax,01h l1:mul cx dec cl jnz l1 mov[bx+2],ax mov ah,4ch int 21h code ends end


8086 assembly language that accepts two input digits?

In 8086 assembly language, you can accept two input digits by using interrupts to read from the keyboard. You would typically use the INT 21h service with function 01h to read a character, storing each digit in a register or memory location. After reading both digits, you can convert them from ASCII to their numeric values by subtracting 30h from each character. This allows you to perform arithmetic operations on the input digits as needed.


How do declare function pointer having two integer parameters and returning integer pointers?

// declare a function int* function(int, int); or int* (function)(int, int); // declare a pointer to a function int* (*pointer_to_function)(int, int);


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 difference between function and recursive function?

I will explain in the easiest way the difference between the function and recursive function in C language. Simple Answer is argument of the function is differ but in the recursive function it is same:) Explanation: Function int function(int,int)// function declaration main() { int n; ...... ...... n=function(a,b); } int function(int c,int d) { ...... ...... ...... } recursive Function: int recursive(int,int)// recursive Function declaration main() { int n; ..... ..... ..... ..... n=recursive(a,b); } int recursive(int a,int b) { ..... .... .... .... } Carefully see, In the recursive Function the function arguments are same.


What is style of function is not obsolete in c language?

Old: function (par1, par2) int par1; char *par2; {...} New: int function (int par1, char *par2) {...}