常见汇编命令英文缩写学习汇编中碰到的很多命令书上都没介绍怎么来的,是哪个英文单词的缩写,这样记起来很是麻烦,现总结一下,以方便记忆。寄存器类(register):通用寄存器:AX,BX,CX,DX——这几个没什么好写的,就是这样了。段寄存器:代码段寄存器CS--codesegment,数据段寄存器DS--datasegment,堆栈段寄存器SS--stacksegment,附加段寄存器ES--extrasegment。特殊功能寄存器:指令指针寄存器IP--instructionpointer,堆栈指针SP--stackpointer,基址指针BP--basepointer,源变址寄存器SI--sourceindex,目标变址寄存器DI--destinationindex,标志寄存器FR--flagregister(或者叫程序状态字PSW--programstatusword)。PSW常用的标志有:标志值为1时的标记值为0时的标记OF(overflowflag)OV(overflow)NV(notoverflow)ZF(zeroflag)ZR(zero)NZ(notzero)PF(parityflag)PE(parityeven)PO(parityodd)CF(carryflag)CY(carried)NC(notcarried)DF(directionflag)DN(down)UP(up)SF(signflag)NG(negtive)PL(plus)TF(trapflag)IF(interruptflag)AF(auxiliaryflag)命令类1.通用数据传送指令.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----substractSBB----substractwithborrowDEC----decrease1NEC----negativeCMP----compareAAS----asciiadjustonsubstractDAS----decimaladjustonsubstractMUL----multiplicationIMUL----integermultiplicationAAM----asciiadjustonmultiplicationDIV----divideIDIV----integerdivideAAD----asciiadjustondivideCBW----changebytetowordCWD----changewordtodoublewordCWDE----changewordtodoublewordwithsigntoEAXCDQ----changedoublewordtoquadrateword三、逻辑运算指令———————————————————————————————————————AND----andOR----orXOR----xorNOT----notTEST----testSHL----shiftleftSAL----arithmaticshiftleftSHR----shiftrightSAR----arithmaticshiftrightROL----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----definwwordPROC----procedureENDP----endofprocedureSEGMENT----segmentASSUME----assumeENDS----endsegmentEND----end