51單片機(jī)常用匯編語(yǔ)言助記符英文全稱(chēng)
二、算術(shù)運(yùn)算指令
ADD---->add
ADC---->addwithcarry
INC---->increase1
AAA---->asciiaddwithadjust
DAA---->decimaladdwithadjust
SUB---->substract
SBB---->substractwithborrow
DEC---->decrease1
NEC---->negative
CMP---->compare
AAS---->asciiadjustonsubstract
DAS---->decimaladjustonsubstract
MUL---->multiplication
IMUL---->integermultiplication
AAM---->asciiadjustonmultiplication
DIV---->divide
IDIV---->integerdivide
AAD---->asciiadjustondivide
CBW---->changebytetoword
CWD---->changewordtodoubleword
CWDE---->changewordtodoublewordwithsigntoEAX
CDQ---->changedoublewordtoquadrateword
三、邏輯運(yùn)算指令
AND---->and
OR---->or
XOR---->xor
NOT---->not
TEST---->test
SHL---->shiftleft
SAL---->arithmaticshiftleft
SHR---->shiftright
SAR---->arithmaticshiftright
ROL---->rotateleft
ROR---->rotateright
RCL---->rotateleftwithcarry
RCR---->rotaterightwithcarry
四、串指令
MOVS---->movestring
CMPS---->comparestring
SCAS---->scanstring
LODS---->loadstring
STOS---->storestring
REP---->repeat
REPE---->repeatwhenequal
REPZ---->repeatwhenzeroflag
REPNE---->repeatwhennotequal
REPNZ---->repeatwhenzeroflag
REPC---->repeatwhencarryflag
REPNC---->repeatwhennotcarryflag
五、程序轉(zhuǎn)移指令
1>無(wú)條件轉(zhuǎn)移指令(長(zhǎng)轉(zhuǎn)移)
JMP---->jump
CALL---->call
RET---->return
RETF---->returnfar
2>條件轉(zhuǎn)移指令(短轉(zhuǎn)移,-128到+127的距離內(nèi))
JAE---->jumpwhenaboveorequal
JNB---->jumpwhennotbelow
JB---->jumpwhenbelow
JNAE---->jumpwhennotaboveorequal
JBE---->jumpwhenbeloworequal
JNA---->jumpwhennotabove
JG---->jumpwhengreater
JNLE---->jumpwhennotlessorequal
JGE---->jumpwhengreaterorequal
JNL---->jumpwhennotless
JL---->jumpwhenless
JNGE---->jumpwhennotgreaterorequal
JLE---->jumpwhenlessorequal
JNG---->jumpwhennotgreater
JE---->jumpwhenequal
JZ---->jumpwhenhaszeroflag
JNE---->jumpwhennotequal
JNZ---->jumpwhennothaszeroflag
JC---->jumpwhenhascarryflag
JNC---->jumpwhennothascarryflag
JNO---->jumpwhennothasoverflowflag
JNP---->jumpwhennothasparityflag
JPO---->jumpwhenparityflagisodd
JNS---->jumpwhennothassignflag
JO---->jumpwhenhasoverflowflag
JP---->jumpwhenhasparityflag
JPE---->jumpwhenparityflagiseven
JS---->jumpwhenhassignflag
評(píng)論