What does “int 0x2A” mean in assembly code
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.
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 list for more functional details on this interrupt.
链接地址: http://www.djcxy.com/p/82368.html上一篇: 我应该让堆栈段大还是堆段大?