[PATCH] assembler.syntax doesn't highlight AMD64 registers
- From: Jindrich Novy <jnovy redhat com>
- To: MC Devel <mc-devel gnome org>
- Subject: [PATCH] assembler.syntax doesn't highlight AMD64 registers
- Date: Wed, 23 Aug 2006 14:08:05 +0200
Hi,
I noticed that assembler.syntax doesn't highlight AMD64 registers while
editing some assembly files. Patch is attached.
Jindrich
--
Jindrich Novy <jnovy redhat com>, http://people.redhat.com/jnovy/
(o_ _o)
//\ The worst evil in the world is refusal to think. //\
V_/_ _\_V
--- mc/syntax/assembler.syntax.jn 2005-09-06 22:36:24.000000000 +0200
+++ mc/syntax/assembler.syntax 2006-08-23 13:24:56.000000000 +0200
@@ -248,6 +248,58 @@
keyword whole TR0 magenta
keyword whole TR1 magenta
+# Generic AMD64 registers set
+ keyword whole rax brightmagenta
+ keyword whole rbx brightmagenta
+ keyword whole rcx brightmagenta
+ keyword whole rdx brightmagenta
+ keyword whole rsi brightmagenta
+ keyword whole rdi brightmagenta
+ keyword whole rbp brightmagenta
+ keyword whole rsp brightmagenta
+ keyword whole r8 brightmagenta
+ keyword whole r9 brightmagenta
+ keyword whole r10 brightmagenta
+ keyword whole r11 brightmagenta
+ keyword whole r12 brightmagenta
+ keyword whole r13 brightmagenta
+ keyword whole r14 brightmagenta
+ keyword whole r15 brightmagenta
+
+ keyword whole %rax brightmagenta
+ keyword whole %rbx brightmagenta
+ keyword whole %rcx brightmagenta
+ keyword whole %rdx brightmagenta
+ keyword whole %rsi brightmagenta
+ keyword whole %rdi brightmagenta
+ keyword whole %rbp brightmagenta
+ keyword whole %rsp brightmagenta
+ keyword whole %r8 brightmagenta
+ keyword whole %r9 brightmagenta
+ keyword whole %r10 brightmagenta
+ keyword whole %r11 brightmagenta
+ keyword whole %r12 brightmagenta
+ keyword whole %r13 brightmagenta
+ keyword whole %r14 brightmagenta
+ keyword whole %r15 brightmagenta
+
+ keyword whole RAX brightmagenta
+ keyword whole RBX brightmagenta
+ keyword whole RCX brightmagenta
+ keyword whole RDX brightmagenta
+ keyword whole RSI brightmagenta
+ keyword whole RDI brightmagenta
+ keyword whole RBP brightmagenta
+ keyword whole RSP brightmagenta
+ keyword whole R8 brightmagenta
+ keyword whole R9 brightmagenta
+ keyword whole R10 brightmagenta
+ keyword whole R11 brightmagenta
+ keyword whole R12 brightmagenta
+ keyword whole R13 brightmagenta
+ keyword whole R14 brightmagenta
+ keyword whole R15 brightmagenta
+
# FPU registers set
keyword whole st0 brightcyan
keyword whole st1 brightcyan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]