:
:"a"(0),"c"(128),"D"(remain)
:"%eax","%ecx","%edi" ); //function number 出錯消息為: recovery.cpp:21: 錯誤:can't find a register in class ‘CREG’ while reloading ‘asm’
>>> 此貼的回復 >> 試一下把ecx換成edx看看能否編譯通過。
>>> 此貼的回復 >> 將 :"%eax","%ecx","%edi" ); //function number改為 :"eax","ecx","edi" ); //function number或者 :%eax,%ecx,%edi ); //function number