tweak tal.nanorc
This commit is contained in:
parent
f5b129c7a2
commit
5551e6c695
|
@ -22,7 +22,7 @@ color green "\B=\S+"
|
|||
# literals
|
||||
color bold,green "\B#[0-9a-f]{2}{1,2}\>"
|
||||
|
||||
# absolute addresses
|
||||
# addresses (absolute, relative, zero-page)
|
||||
color yellow "\B;\S+"
|
||||
color yellow "\B,\S+"
|
||||
color yellow "\B\.\S+"
|
||||
|
@ -31,7 +31,7 @@ color yellow "\B\.\S+"
|
|||
color yellow "\B\$[0-9a-f]{1,4}\>\>"
|
||||
|
||||
# instructions
|
||||
color cyan "\<(BRK|LIT|INC|POP|DUP|NIP|SWP|OVR|ROT|EQU|NEQ|GTH|LTH|JMP|JCN|JSR|STH|LDZ|STZ|LDR|STR|LDA|STA|DEI|DEO|ADD|SUB|MUL|DIV|AND|ORA|EOR|SFT)2?k?r?\>"
|
||||
color cyan "\<(BRK|LIT|INC|POP|DUP|NIP|SWP|OVR|ROT|EQU|NEQ|GTH|LTH|JMP|JCN|JSR|STH|LDZ|STZ|LDR|STR|LDA|STA|DEI|DEO|ADD|SUB|MUL|DIV|AND|ORA|EOR|SFT)[2kr]*\>"
|
||||
|
||||
# label definitions
|
||||
color bold,blue "(^|\s)(@|&)\S+"
|
||||
|
@ -42,10 +42,11 @@ color bold,magenta "\B%\S+"
|
|||
# absolute pads
|
||||
color yellow "\B\|[0-9a-f]{1,4}\>"
|
||||
|
||||
# immediate
|
||||
# immediate syntax
|
||||
color bold,yellow "\?\S+"
|
||||
color bold,yellow "!\S+"
|
||||
color bold,yellow "\B}\B"
|
||||
color bold,yellow "\B\{\B"
|
||||
color bold,yellow "\B\}\B"
|
||||
|
||||
# comments
|
||||
color red start="\B\(\s" end="\s\)\B"
|
||||
|
|
Loading…
Reference in New Issue