资源描述:
《ARM指令速查手册.pdf》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、ARMInstructionSetQuickReferenceCardKeytoTables{cond}RefertoTableConditionField{cond}RefertoTableAddressingMode2RefertoTableOperand2RefertoTableAddressingMode2(Post-indexedonly)RefertoTablePSRfieldsRefertoTableAddress
2、ingMode3{S}UpdatesconditionflagsifSpresentRefertoTableAddressingMode4(BlockloadorStackpop)C*,V*FlagisunpredictableaftertheseinstructionsinArchitecturev4andearlierRefertoTableAddressingMode4(BlockstoreorStackpush)QStickyflag.Alwaysupdatesono
3、verflow(noSoption).ReadandresetusingMRSandMSRRefertoTableAddressingMode5x,yBmeaninghalf-register[15:0],orTmeaning[31:16]Acomma-separatedlistofregisters,enclosedinbraces({and})A32-bitconstant,formedbyright-rotatingan8-bitvaluebyaneve
4、nnumberofbits{!}Updatesbaseregisterafterdatatransferif!presentA10-bitconstant,formedbyleft-shiftingan8-bitvaluebytwobits§RefertoTableARMarchitectureversionsOperation§AssemblerSupdatesQActionNotesMoveMoveMOV{cond}{S}Rd,NZCRd:=Oprnd2NOTMVN{con
5、d}{S}Rd,NZCRd:=0xFFFFFFFFEOROprnd2SPSRtoregister3MRS{cond}Rd,SPSRRd:=SPSRCPSRtoregister3MRS{cond}Rd,CPSRRd:=CPSRregistertoSPSR3MSR{cond}SPSR_,RmSPSR:=Rm(selectedbytesonly)registertoCPSR3MSR{cond}CPSR_,RmCPSR:=Rm(selectedbytesonly)immedi
6、atetoSPSR3MSR{cond}SPSR_,#SPSR:=immed_8r(selectedbytesonly)immediatetoCPSR3MSR{cond}CPSR_,#CPSR:=immed_8r(selectedbytesonly)ArithmeticAddADD{cond}{S}Rd,Rn,NZCVRd:=Rn+Oprnd2withcarryADC{cond}{S}Rd,Rn,NZCVRd:=R
7、n+Oprnd2+Carrysaturating5EQADD{cond}Rd,Rm,RnQRd:=SAT(Rm+Rn)Noshift/rotate.doublesaturating5EQDADD{cond}Rd,Rm,RnQRd:=SAT(Rm+SAT(Rn*2))Noshift/rotate.SubtractSUB{cond}{S}Rd,Rn,NZCVRd:=Rn-Oprnd2withcarrySBC{cond}{S}Rd,Rn,NZCVRd:=Rn-Oprnd2-NOT(Carr
8、y)reversesubtractRSB{cond}{S}Rd,Rn,NZCVRd:=Oprnd2-RnreversesubtractwithcarryRSC{cond}{S}Rd,Rn,NZCVRd:=Oprnd2-Rn-NOT(Carry)saturating5EQSUB{cond}Rd,Rm,RnQRd:=SAT(Rm-