Highlight instructions with {cond} at the very end
When trying to use e.g. ADR{cond}L in the unified syntax, the GNU assembler warns that the conditional infixes are deprecated. The preferred form is ADRL{cond} instead. It is also in line with arm.com and keil.com documentation. This applies to other instructions that have optional parts (e.g. "S" for updating condition flags) - the condition goes last.
This commit is contained in:
@ -14,7 +14,9 @@ HiLink armv4InstrNoCond armv5InstrNoCond
|
||||
exec 'syn match armv5Mul "\%(SMLA\|SMLAL\|SMLAW\|SMUL\|SMULW\)[BT][BT]\?' . armCond . '\>"'
|
||||
|
||||
exec 'syn match armv5LDR "\%(LDR\)' . armCond . 'D\>"'
|
||||
exec 'syn match armv5LDR "LDRD' . armCond . '\>"'
|
||||
exec 'syn match armv5STR "\%(STR\)' . armCond . 'D\>"'
|
||||
exec 'syn match armv5STR "STRD' . armCond . '\>"'
|
||||
HiLink armv4LDR armv5LDR
|
||||
HiLink armv4STR armv5STR
|
||||
|
||||
|
Reference in New Issue
Block a user