asm-lsp 0.10.1

Language Server for x86/x86_64, ARM, RISCV, and z80 Assembly Code
Documentation
1
2
3
4
5
6
7
8
9
10
11
ubrshBRSHBranch if Same or HigherAll1 / 21 / 21 / 21 / 2--------	icallICALLIndirect Call to (Z)All3 / 42 / 32 / 33--------	sbiSBISet Bit in I/O RegisterAll2111--------be	brtcBRTCBranch if T Bit ClearedAll1 / 21 / 21 / 21 / 2--------	clhCLHClear Half Carry Flag in SREGAll1111--0-----	brmiBRMIBranch if MinusAll1 / 21 / 21 / 21 / 2--------	bsetBSETFlag SetAll1111⇔⇔⇔⇔⇔⇔⇔⇔d	latLATLoad and ToggleAllN/A2N/AN/A--------YU	mulsMULSMultiply SignedAll222N/A------⇔⇔UV	adiwADIWAdd Immediate to WordAll222N/A---⇔⇔⇔⇔⇔Uc	callCALLCall SubroutineAll4 / 53/ 43 /4N/A--------	brhcBRHC!Branch if Half Carry Flag ClearedAll1 / 21 / 21 / 21 / 2--------	lpmLPMLoad Program MemoryAll333N/A--------LPMLoad Program MemoryAll333N/A--------UYLPM'Load Program Memory and Post-
IncrementAll333N/A--------U_	movwMOVWCopy Register PairAll111N/A--------UV	mulsuMULSUMultiply Signed with UnsignedAll222N/A------⇔⇔UV	ijmpIJMPIndirect Jump to (Z)All2222--------	stSTStore IndirectAll2111--------WVST!Store Indirect and Post-IncrementAll2111--------]VST Store Indirect and Pre-DecrementAll2212--------ZVSTStore IndirectAll2111--------XVST!Store Indirect and Post-IncrementAll2111--------^VST Store Indirect and Pre-DecrementAll2212--------[VSTStore IndirectAll2111--------YVST!Store Indirect and Post-IncrementAll2111--------_VST Store Indirect and Pre-DecrementAll2212--------\VSTD Store Indirect with DisplacementAll221N/A--------`VSTD Store Indirect with DisplacementAll221N/A--------aV	brvcBRVC"Branch if Overflow Flag is
ClearedAll1 / 21 / 21 / 21 / 2--------	asrASRArithmetic Shift RightAll1111---⇔⇔⇔⇔⇔U	oriORILogical OR with ImmediateAll1111---⇔0⇔-⇔Uc	cpiCPICompare with ImmediateAll1111--⇔⇔⇔⇔⇔⇔Uc	stsSTSStore Direct to Data SpaceAVRrc2221--------VSTSStore Direct to Data SpaceAll2221--------V	xchXCHExchangeAllN/A2N/AN/A--------YU	clcCLCClear CarryAll1111------0-	sbciSBCISubtract Immediate with CarryAll1111--⇔⇔⇔⇔⇔⇔Uc	mulMULMultiply UnsignedAll222N/A------⇔⇔UV	cbrCBRClear Bit(s) in RegisterAll1111---⇔0⇔-⇔Uc	brbsBRBSBranch if Status Flag SetAll1 / 21 / 21 / 21 / 2--------d	sbicSBIC#Skip if Bit in I/O Register ClearedAll	1 / 2 / 3	2 / 3 / 4	1 / 2 / 31 / 2--------be	negNEGTwo’s ComplementAll1111--⇔⇔⇔⇔⇔⇔U	sezSEZ
Set Zero FlagAll1111-------1	clrCLRClear RegisterAll1111---000-1U	sesSESSet Sign BitAll1111---1----	wdrWDRWatchdog ResetAll1111--------	brtsBRTSBranch if T Bit SetAll1 / 21 / 21 / 21 / 2--------	elpmELPMExtended Load Program MemoryAll333N/A--------ELPMExtended Load Program MemoryAll333N/A--------UYELPM/Extended Load Program Memory
and Post-IncrementAll333N/A--------U_	fmulsuFMULSU(Fractional Multiply Signed with
UnsignedAll222N/A------⇔⇔UV	brhsBRHSBranch if Half Carry Flag SetAll1 / 21 /21 / 21 / 2--------	eijmpEIJMPExtended Indirect Jump to (Z)All222N/A--------	jmpJMPJumpAll333N/A--------	decDEC	DecrementAll1111---⇔⇔⇔-⇔U	ldiLDILoad ImmediateAll1111--------Uc	brplBRPLBranch if PlusAll1 / 21 / 21 / 21 / 2--------	lacLACLoad and ClearAllN/A2N/AN/A--------YU	breqBREQBranch if EqualAll1 / 21 / 21 / 21 / 2--------	rcallRCALLRelative Call SubroutineAll3 / 42 / 32 / 33--------	sevSEVSet Two’s Complement OverflowAll1111----1---	brcsBRCSBranch if Carry SetAll1 / 21 / 21 / 21 / 2--------	brvsBRVSBranch if Overflow Flag is SetAll1 / 21 / 21 / 21 / 2--------	incINC	IncrementAll1111---⇔⇔⇔-⇔U	rorRORRotate Right Through CarryAll1111---⇔⇔⇔⇔⇔U	sehSEHSet Half Carry Flag in SREGAll1111--1-----	pushPUSHPush Register on StackAll2111--------V	bldBLDBit load from T to RegisterAll1111--------Ue	cliCLIGlobal Interrupt DisableAll11110-------	lslLSLLogical Shift LeftAll1111--⇔⇔⇔⇔⇔⇔U	clsCLSClear Sign BitAll1111---0----	cpCPCompareAll1111--⇔⇔⇔⇔⇔⇔UV	andiANDILogical AND with ImmediateAll1111---⇔0⇔-⇔Uc	cpseCPSECompare, skip if EqualAll	1 / 2 / 3	1 / 2 / 3	1 / 2 / 31 / 2--------UV	movMOV
Copy RegisterAll1111--------UV	cltCLTClear T in SREGAll1111-0------	nopNOPNo OperationAll1111--------	sbrsSBRSSkip if Bit in Register SetAll	1 / 2 / 3	1 / 2 / 3	1 / 2 / 31 / 2--------Ve	rolROLRotate Left Through CarryAll1111--⇔⇔⇔⇔⇔⇔U	tstTSTTest for Zero or MinusAll1111---⇔0⇔-⇔U	andANDLogical ANDAll1111---⇔0⇔-⇔UV	senSENSet Negative FlagAll1111-----1--	eicallEICALLExtended Indirect Call to (Z)All433N/A--------	lasLASLoad and SetAllN/A2N/AN/A--------YU	sbrSBRSet Bit(s) in RegisterAll1111---⇔0⇔-⇔Uc	serSERSet RegisterAll1111--------U	cbiCBIClear Bit in I/O RegisterAll2111--------be	adcADCAdd with CarryAll1111--⇔⇔⇔⇔⇔⇔UV	seiSEIGlobal Interrupt EnableAll11111-------	ldsLDSLoad Direct from Data SpaceAVRrc2332--------ULDSLoad Direct from Data SpaceAll2332--------U	retRETSubroutine ReturnAll4 / 54 / 54 / 56--------	brgeBRGE"Branch if Greater or Equal,
SignedAll1 / 21 / 21 / 21 /2--------	bclrBCLR
Flag ClearAll1111⇔⇔⇔⇔⇔⇔⇔⇔d	brccBRCCBranch if Carry ClearedAll1 / 21 / 21 / 21 / 2--------	ldLD
Load IndirectAll2221 / 2--------UWLD Load Indirect and Post-IncrementAll2222 / 3--------U]LDLoad Indirect and Pre-DecrementAll2322 / 3--------UZLD
Load IndirectAll2221 / 2--------UXLD Load Indirect and Post-IncrementAll2222 / 3--------U^LDLoad Indirect and Pre-DecrementAll2322 / 3--------U[LD
Load IndirectAll2221 / 2--------UYLD Load Indirect and Post-IncrementAll2222 / 3--------U_LDLoad Indirect and Pre-DecrementAll2322 / 3--------U\LDDLoad Indirect with DisplacementAll232N/A--------U`LDDLoad Indirect with DisplacementAll232N/A--------Ua	clzCLZClear Zero FlagAll1111-------0	inINIn From I/O LocationAll1111--------Ub	breakBREAKBreakAll1111--------	eorEORExclusive ORAll1111---⇔0⇔-⇔UV	brbcBRBCBranch if Status Flag ClearedAll1 / 21 / 21 / 21 / 2--------d	addADDAdd without CarryAll1111--⇔⇔⇔⇔⇔⇔UV	fmulFMULFractional Multiply UnsignedAll222N/A------⇔⇔UV	brieBRIEBranch if Interrupt EnabledAll1 / 21 / 21 / 21 / 2--------	bridBRIDBranch if Interrupt DisabledAll1 / 21 / 21 / 21 / 2--------	sleepSLEEPSleepAll1111--------	popPOPPop Register from StackAll2223--------U	bstBSTBit Store from Register to TAll1111-⇔------Ve	sbiwSBIWSubtract Immediate from WordAll222N/A---⇔⇔⇔⇔⇔Uc	spmSPMStore Program MemoryAVRxm---N/A--------SPM-Store Program Memory and Post-
Increment by 2AVRxmN/A- -N/A--------_SPMStore Program MemoryAVRxt---N/A--------SPM-Store Program Memory and Post-
Increment by 2AVRxtN/A- -N/A--------_SPMStore Program MemoryAll---N/A--------	secSEC	Set CarryAll1111------1-	retiRETIInterrupt ReturnAll4 / 54 / 54 / 561-------	brloBRLOBranch if LowerAll1 / 21 / 21 / 21 / 2--------	sbrcSBRCSkip if Bit in Register ClearedAll	1 / 2 / 3	1 / 2 / 3	1 / 2 / 31 / 2--------Ve	comCOMOne’s ComplementAll1111---⇔0⇔1⇔U	rjmpRJMP
Relative JumpAll2222--------	cpcCPCCompare with CarryAll1111--⇔⇔⇔⇔⇔⇔UV	fmulsFMULSFractional Multiply SignedAll222N/A------⇔⇔UV	subiSUBISubtract ImmediateAll1111--⇔⇔⇔⇔⇔⇔Uc	clvCLV!Clear Two’s Complement
OverflowAll1111----0---	desDESData EncryptionAllN/A1 / 2N/AN/Ac	sbcSBCSubtract with CarryAll1111--⇔⇔⇔⇔⇔⇔UV	brneBRNEBranch if Not EqualAll1 / 21 / 21 / 21 / 2--------	swapSWAPSwap NibblesAll1111--------U	sbisSBISSkip if Bit in I/O Register SetAll	1 / 2 / 3	2 / 3 / 4	1 / 2 / 31 / 2--------be	lsrLSRLogical Shift RightAll1111---⇔⇔0⇔⇔U	outOUTOut To I/O LocationAll1111--------bV	clnCLNClear Negative FlagAll1111-----0--	setSET
Set T in SREGAll1111-1------	orOR
Logical ORAll1111---⇔0⇔-⇔UV	subSUBSubtract without CarryAll1111--⇔⇔⇔⇔⇔⇔UV	brltBRLTBranch if Less Than, SignedAll1 / 21 / 21 / 21 / 2--------