vim: add some missing instruction mnemonics to syntax highlighter

This commit is contained in:
2024-12-09 13:30:08 +00:00
parent 7845afcf38
commit 8f3a035636

View File

@@ -8,7 +8,7 @@ set cpoptions&vim
setlocal iskeyword+=@-@
setlocal iskeyword+=.
syn keyword ivyasmUnspecifiedStatement @end @lambda @class @msgh @use @constpool @selector @ident @atom
syn keyword ivyasmInstruction ldr str ret ret.n cmp b.eq br div mul
syn keyword ivyasmInstruction ldr str ret ret.n cmp b.eq br add sub div mul push pop msg
syn match ivyasmRegister "x[0-9]"
syn match ivyasmRegister "x[1-9][0-9]"
syn keyword ivyasmIndexBase self bp sp pool