CF置0
.386 .model flat,stdcall option casemap:none .stack 4096 ExitProcess PROTO,dwExitCode:DWORD .data .code main PROC mov al,10000110b shl al,1 ;cf=1 clc ;CF置0 cf=0 INVOKE ExitProcess,0 main ENDP END main
CF置1
.386 .model flat,stdcall option casemap:none .stack 4096 ExitProcess PROTO,dwExitCode:DWORD .data .code main PROC mov al,00000110b shl al,1 ;cf=0 stc ;CF置1 cf=1 INVOKE ExitProcess,0 main ENDP END main
CF取反
.386 .model flat,stdcall option casemap:none .stack 4096 ExitProcess PROTO,dwExitCode:DWORD .data .code main PROC mov al,00000110b shl al,1 ;cf=0 cmc ;CF取反 cf=1 INVOKE ExitProcess,0 main ENDP END main
标签:位操作,code,汇编,cf,al,CF,指令,ExitProcess,main From: https://www.cnblogs.com/liming19680104/p/17887044.html