汇编语言中的英文缩写,标志位状态英文缩写标志位状态英文缩写OVoverflowNVnooverflowUPupDNdownDIdenyinterruptEIenableinterruptPLplusNGnegativeNZnozeroZRzeroNAnoauxilarycarryACauxilarycarryPOparityoddPEparityevenNCnocarryCYcarry1.通用数据传送指令.MOV----moveMOVSX----extendedmovewithsigndataMOVZX----extendedmovewithzerodataPUSH----pushPOP----popPUSHA----pushallPOPA----popallPUSHAD----pushalldataPOPAD----popalldataBSWAP----byteswapXCHG----exchangeCMPXCHG----compareandchangeXADD----exchangeandaddXLAT----translate2.输入输出端口传送指令.IN----inputOUT----output3.目的地址传送指令.LEA----loadeffectiveaddressLDS----loadDSLES----loadESLFS----loadFSLGS----loadGSLSS----loadSS4.标志传送指令.LAHF----loadAHfromflagSAHF----saveAHtoflagPUSHF----pushflagPOPF----popflagPUSHD----pushdflagPOPD----popdflag二、算术运算指令ADD----addADC----addwithcarryINC----increase1AAA----ASCIIaddwithadjustDAA----decimaladdwithadjustSUB----subtractSBB----subtractwithborrowDEC----decrease1NEC----negativeCMP----compareAAS----ASCIIadjustonsubtractDAS----decimaladjustonsubtractMUL----multiplicationIMUL----integermultiplicationAAM----ASCIIadjustonmultiplicationDIV----divideIDIV----integerdivideAAD----ASCIIadjustondivideCBW----changebytetowordCWD----changewordtodoublewordCWDE----changewordtodoublewordwithsigntoEAXCDQ----changedoublewordtoquadrateword三、逻辑运算指令AND----andOR----orXOR----xorNOT----notTEST----testSHL----shiftleftSAL----arithmeticshiftleftSHR----shiftrightSAR----arithmeticshiftrightROL----rotateleftROR----rotaterightRCL----rotateleftwithcarryRCR----rotaterightwithcarry四、串指令MOVS----movestringCMPS----comparestringSCAS----scanstringLODS----loadstringSTOS----storestringREP----repeatREPE----repeatwhenequalREPZ----repeatwhenzeroflagREPNE----repeatwhennotequalREPNZ----repeatwhenzeroflagREPC----repeatwhencarryflagREPNC----repeatwhennotcarryflag五、程序转移指令1无条件转移指令(长转移)JMP----jumpCALL----callRET----returnRETF----returnfar2条件转移指令(短转移,-128到+127的距离内)JAE----jumpwhenaboveorequalJNB----jumpwhennotbelowJB----jumpwhenbelowJNAE----jumpwhennotaboveorequalJBE----jumpwhenbeloworequalJNA----jumpwhennotaboveJG----jumpwhengreaterJNLE----jumpwhennotlessorequalJGE----jumpwhengreaterorequalJNL----jumpwhennotlessJL----jumpwhenlessJNGE----jumpwhennotgreaterorequalJLE----jumpwhenlessorequalJNG----jumpwhennotgreaterJE----jumpwhenequalJZ----jumpwhenhaszeroflagJNE----jumpwhennotequalJNZ----jumpwhennothaszeroflagJC----jumpwhenhascarryflagJNC----jumpwhennothascarryflagJNO----jumpwhennothasoverflowflagJNP----jumpwhennothasparityflagJPO----jumpwhenparityflagisoddJNS----jumpwhennothassignflagJO----jumpwhenhasoverflowflagJP----jumpwhenhasparityflagJPE----jumpwhenparityflagisevenJS----jumpwhenhassignflag3循环控制指令(短转移)LOOP----loopLOOPE----loopequalLOOPZ----loopzeroLOOPNE----loopnotequalLOOPNZ----loopnotzeroJCXZ----jumpwhenCXiszeroJECXZ----jumpwhenECXiszero4中断指令INT----interruptINTO----overflowinterruptIRET----interruptreturn5处理器控制指令HLT----haltWAIT----waitESC----escapeLOCK----lockNOP----nooperationSTC----setcarryCLC----clearcarryCMC----carrymakechangeSTD----setdirectionCLD----cleardirectionSTI----setinterruptCLI----clearinterrupt六、伪指令DW----definewordPROC----procedureENDP----endofprocedureSEGMENT----segmentASSUME----assumeENDS----endsegmentEND----end1.通用数据传送指令.MOV----move传送字或字节MOVSX----extendedmovewithsigndata先符号扩展,再传送MOVZX----extendedmovewithzerodata先零扩展,再传送PUSH----push把字压入堆栈POP----pop把字弹出堆栈PUSHA----pushall把AX,CX,DX,BX,SP,BP,SI,DI依次压入堆栈POPA----popall把DI,SI,BP,SP,BX,DX,CX,AX依次弹出堆栈PUSHAD----pushalldata把EAX,ECX,EDX,EBX,ESP,EBP,ESI,EDI依次压入堆栈POPAD----popalldata把EDI,ESI,EBP,ESP,EBX,EDX,ECX,EAX依次弹出堆栈BSWAP----byteswap交换32位寄存器里字节的顺序XCHG----exchange交换字或字节.(至少有一个操作数为寄存器,段寄存器不可作为操作数)CMPXCHG---compareandchange比较并交换操作数.(第二个操作数必须为累加器AL/AX/EAX)XADD---exchangeandadd先交换再累加.(结果在第一个操作数里)XLAT----translate字节查表转换2.输入输出端口传送指令.IN----inputI/O端口输入.(语法:IN累加器,{端口号│DX})OUT----outputI/O端口输出.(语法:OUT{端口号│DX},累加器)输入输出端口由立即方式指定时,其范围是0-255;由寄存器DX指定时,其范围是0-65535.3.目的地址传送指令.LEA----loadeffectiveaddress装入有效地址.例:LEADX,string;把偏移地址存到DX.LDS----loadDS传送目标指针,把指针内容装入DS.例:LDSSI,string;把段地址:偏移地址存到DS:SI.LES----loadES传送目标指针,把指针内容装入ES.例:LESDI,string;把段地址:偏移地址存到ES:DI.LFS----loadFS传送目标指针,把指针内容装入FS.例:LFSDI,string;把段地址:偏移地址存到FS:DI.LGS----loadGS传送目标指针,把指针内容装入GS.例:LGSDI,string;把段地址:偏移地址存到GS:DI.LSS----loadSS传送目标指针,把指针内容装入SS.例:LSSDI,string;把段地址:偏移地址存到SS:DI.4.标志传送指令.LAHF--loadAHfromflag标志寄存器传送,把标志装入AHSAHF-saveAHtoflag标志寄存器传送,把AH内容装入标志寄存器PUSHF----pushflag标志入栈POPF----popflag标志出栈PUSHD----pushdflag32位标志入栈POPD----popdflag32位标志出栈二、算术运算指令ADD----add加法ADC----addwithcarry带进位加法INC----increase1加1AAA----ASCIIaddwithadjust加法的ASCII码调整DAA----decimaladdwithadjust加法的十进制调整SUB----subtract减法SBB----subtractwithborrow带借位减法DEC----decrease1减1NEC----negative求反(以0减之)CMP----compare比较.(两操作数作减法,仅修改标志位,不回送结果)AAS----ASCIIadjustonsubtract减法的ASCII码调整DAS----decimaladjustonsubtract减法的十进制调整MUL----multiplication无符号乘法IMUL----integermultiplication整数乘法以上两条,结果回送AH和AL(字节运算),或DX和AX(字运