且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

需要此C代码的说明....请帮助

更新时间:2023-11-20 16:47:10

这是C程序中的某种汇编代码.分配是将值存储在处理器寄存器中,然后调用中断0x10.
AH寄存器中值为2的0x10中断意味着设置光标位置.
寄存器BH是屏幕页面(0表示可见屏幕),寄存器DH和DL是屏幕上的x和y坐标.

此处看看 [ ^ ],了解有关中断的信息,请此处 [ ^ ],以获取有关中断10的详细信息.
That''s sort of assembly code within a C program. The assignments are to store values in the processor registers and then call interrupt 0x10.
Interrupt 0x10 with the value 2 in register AH means to set the cursor position.
Register BH is the screen page (0 means the visible screen) and registers DH and DL are the x and y coordinates on the screen.

Have a look here[^] for information on interrupts and here[^] for information specifically about interrupt 10.