2015-04-03 07:32:27 -07:00
|
|
|
|
|
|
|
so <sfile>:p:h/arm_base_syntax.vim
|
|
|
|
|
|
|
|
"
|
|
|
|
" ARMv5 instructions
|
|
|
|
"
|
|
|
|
|
|
|
|
exec 'syn match armv5InstrCond "\%(BLX\|CLZ\|MCRR\|MRRC\|QADD\|QSUB\|QDADD\|QDSUB\)' . armCond . '\>"'
|
|
|
|
HiLink armv4InstrCond armv5InstrCond
|
|
|
|
|
|
|
|
syn match armv5InstrNoCond "\%(BKPT\|CDP2\|LDC2\|MCR2\|MRC2\|PLD\|STC2\)\>"
|
|
|
|
HiLink armv4InstrNoCond armv5InstrNoCond
|
|
|
|
|
2015-04-19 09:31:28 -07:00
|
|
|
exec 'syn match armv5Mul "\%(SMLA\|SMLAL\|SMLAW\|SMUL\|SMULW\)[BT][BT]\?' . armCond . '\>"'
|
2015-04-03 07:32:27 -07:00
|
|
|
|
|
|
|
exec 'syn match armv5LDR "\%(LDR\)' . armCond . 'D\>"'
|
2021-03-25 18:24:56 -07:00
|
|
|
exec 'syn match armv5LDR "LDRD' . armCond . '\>"'
|
2015-04-03 07:32:27 -07:00
|
|
|
exec 'syn match armv5STR "\%(STR\)' . armCond . 'D\>"'
|
2021-03-25 18:24:56 -07:00
|
|
|
exec 'syn match armv5STR "STRD' . armCond . '\>"'
|
2015-04-03 07:32:27 -07:00
|
|
|
HiLink armv4LDR armv5LDR
|
|
|
|
HiLink armv4STR armv5STR
|
|
|
|
|