欢迎来到天天文库
浏览记录
ID:48604655
大小:77.01 KB
页数:5页
时间:2020-01-29
《汇编语言常用指令大全.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、1.通用数据传送指令. MOV---->move MOVSX---->extendedmovewithsigndata MOVZX---->extendedmovewithzerodata PUSH---->push POP---->pop PUSHA---->pushall POPA---->popall PUSHAD---->pushalldata POPAD---->popalldata BSWAP---->byteswap XCHG---->exchange CMPXCHG---->compareandchange XAD
2、D---->exchangeandadd XLAT---->translate 2.输入输出端口传送指令. IN---->input OUT---->output 3.目的地址传送指令. LEA---->loadeffectiveaddress LDS---->loadDS LES---->loadES LFS---->loadFS LGS---->loadGS LSS---->loadSS 4.标志传送指令. LAHF---->loadAHfromflag SAHF---->saveAHtoflag PUSHF---->push
3、flag POPF---->popflag PUSHD---->pushdflag POPD---->popdflag 二、算术运算指令 ADD---->add ADC---->addwithcarry INC---->increase1 AAA---->asciiaddwithadjust DAA---->decimaladdwithadjust SUB---->substract SBB---->substractwithborrow DEC---->decrease1 NEC---->negative CMP---->com
4、pare AAS---->asciiadjustonsubstract DAS---->decimaladjustonsubstract MUL---->multiplication IMUL---->integermultiplication AAM---->asciiadjustonmultiplication DIV---->divide IDIV---->integerdivide AAD---->asciiadjustondivide CBW---->changebytetoword CWD---->changeword
5、todoubleword CWDE---->changewordtodoublewordwithsigntoEAX CDQ---->changedoublewordtoquadrateword 三、逻辑运算指令 ——————————————————————————————————————— AND---->and OR---->or XOR---->xor NOT---->not TEST---->test SHL---->shiftleft SAL---->arithmaticshiftleft SHR---->shiftrig
6、ht SAR---->arithmaticshiftright ROL---->rotateleft ROR---->rotateright RCL---->rotateleftwithcarry RCR---->rotaterightwithcarry 四、串指令 ——————————————————————————————————————— MOVS---->movestring CMPS---->comparestring SCAS---->scanstring LODS---->loadstring STOS---->st
7、orestring REP---->repeat REPE---->repeatwhenequal REPZ---->repeatwhenzeroflag REPNE---->repeatwhennotequal REPNZ---->repeatwhenzeroflag REPC---->repeatwhencarryflag REPNC---->repeatwhennotcarryflag 五、程序转移指令 ——————————————————————————————————————— 1>无条件转移指令(长转移) JMP---
8、->jump CALL---->call RET---->return RETF---->returnfar 2>条件转移指令(短转移,-128到+127的距离内) JAE---->jumpwhenaboveorequal JNB---->jump
此文档下载收益归作者所有