1

中断在 C++ 的内联汇编器中不起作用(我尝试过 VC++ 10、GCC 4、Digital Mars)。是否有任何等效中断的窗口可自由访问内存区域?我怎样才能获得系统属性和视频内存?(我可以吗?)

这些我想知道:

mov ah,06h
mov dl,35h 
int 21f    //would print '5' on screen but it isnt (works in only pure assembler)

和:

mov ax,1500h
mov ch,97h
int 2f   //would get me info for the cache-hit number on DI:SI

谢谢

4

1 回答 1

4

Win32 应用程序不调用中断,它们调用系统服务。Iczelion 的页面上有许多 Windows 教程的程序集。

于 2012-07-20T13:55:23.700 回答