3

Does anyone know what the instruction INT 0x2A does in assembly x86?

I have used it and it just loads some random values in registers EAX,ECX,EDX

What does this instruction with that code does?

I have looked on here

but it doesn't seem to make any sense.

3

1 Answer 1

6

x86 interrupt here you are talking about is DOS interrupt and not part of BIOS IVT, it is in fact part of DOS API,

Most calls to the DOS API are invoked using software interrupt 21h (INT 21h). By calling INT 21h with a subfunction number in the AH processor register and other parameters in other registers, one invokes various DOS services. DOS services include keyboard input, video output, disk file access, executing programs, memory allocation, and various other things.

Interrupt vector 2Ah:

Networking and critical section,Called by DOS kernel to interface with networking software. It also has many different functions for different purposes.

You can visit Ralf Brown's list for more functional details on this interrupt: http://www.ctyme.com/intr/int-2a.htm

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.