armv5 fixed

This commit is contained in:
ARM9 2015-03-08 15:20:13 +01:00
parent a22692f80d
commit 0c800aecf2
2 changed files with 19 additions and 1 deletions

View File

@ -56,7 +56,7 @@ exec 'syn match armv4SWP "SWP' . armCond . 'B\?\>"'
" "
" ARMv5 instructions " ARMv5 instructions
" "
syn match armv5InstrCond
exec 'syn match armv5InstrCond "\%(BLX\|CLZ\|MCRR\|MRRC\|QADD\|QSUB\|QDADD\|QDSUB\)' . armCond . '\>"' exec 'syn match armv5InstrCond "\%(BLX\|CLZ\|MCRR\|MRRC\|QADD\|QSUB\|QDADD\|QDSUB\)' . armCond . '\>"'
HiLink armv4InstrCond armv5InstrCond HiLink armv4InstrCond armv5InstrCond
@ -70,5 +70,15 @@ exec 'syn match armv5STR "\%(STR\)' . armCond . 'D\>"'
HiLink armv4LDR armv5LDR HiLink armv4LDR armv5LDR
HiLink armv4STR armv5STR HiLink armv4STR armv5STR
"
" ARMv6 instructions
"
"
" VFP/NEON
"
"syn match armRelative "@R[0-7]\|@a\s*+\s*dptr\|@[ab]" "syn match armRelative "@R[0-7]\|@a\s*+\s*dptr\|@[ab]"

8
test/armv5-test.s Normal file
View File

@ -0,0 +1,8 @@
add
smull r0, r1,R2
smlalBt r1,r15
SMLawTb V8, v3
SMLALtb A1, a4
@ vim:ft=armv5