int result=0;
_asm
{
mov eax, 18
mov ecx,5
//此處也是無語. div 居然1個操作數 ,實際上
//是 eax=eax/ecx ,餘數爲 edx
div ecx
mov[result], eax
}
int result=0;
_asm
{
mov eax, 18
mov ecx,5
//此處也是無語. div 居然1個操作數 ,實際上
//是 eax=eax/ecx ,餘數爲 edx
div ecx
mov[result], eax
}
多任務的實現過程 終於等到第十五天-多進程的實現,在《30天自制操作系統》中介紹了多任務的實現,在此理清一下思路。 1.首先一個很重要