01: <contexts>
02: <context attribute="Normal Text" lineEndContext="#stay" name="Normal">
03: <RegExpr attribute="Label" context="#stay" String="^[A-Za-z0-9_$@\\][A-Za-z0-9_.$@]*:" />
04: <RegExpr attribute="Label" context="AfterLabel" String="^[A-Za-z0-9_$@][A-Za-z0-9_.$@]*(?=\s+[_\w])" />
05: <RegExpr attribute="Normal Text" context="AfterLabel" String="^\s+" />
06: <DetectChar attribute="Comment" context="Commentar 1" char=";" />
07: </context>
08: <context attribute="Normal Text" lineEndContext="#pop" name="AfterLabel">
09: <keyword attribute="Instruction" context="Instruction" String="instructions" />
10: <keyword attribute="Keyword" context="#stay" String="keywords" />
11: <keyword attribute="Register" context="#stay" String="registers" />
12: <RegExpr attribute="Hex" context="#stay" String="#?\$[0-9a-fA-F]+" />
13: <RegExpr attribute="Binary" context="#stay" String="#?%[01]+" />
14: <RegExpr attribute="Decimal" context="#stay" String="#?[-+]?[1-9][0-9]*" />
15: <RegExpr attribute="Normal Text" context="#stay" String="[A-Za-z_.$][A-Za-z0-9_.$]*" />
16: <RegExpr attribute="Char" context="#stay" String="'(\\x[0-9a-fA-F][0-9a-fA-F]?|\\[0-7]?[0-7]?[0-7]?|\\.|.)" />
17: <DetectChar attribute="String" context="String" char=""" />
18: <DetectChar attribute="Comment" context="Commentar 1" char=";" />
19: <AnyChar attribute="Symbol" context="#stay" String="!#%&*()+,-<=>?/:[]^{@}~" />
20: </context>
21: <context attribute="Comment" lineEndContext="#pop" name="Commentar 1" />
22: <context attribute="String" lineEndContext="#pop" name="String">
23: <LineContinue attribute="String" context="Some Context" />
24: <HlCStringChar attribute="String Char" context="#stay" />
25: <DetectChar attribute="String" context="#pop" char=""" />
26: </context>
27: <context attribute="Instruction" lineEndContext="#pop" name="Instruction">
28: <RegExpr attribute="Instruction" context="#pop" String="(\.[lwbs])|[^a-zA-Z]" />
29: </context>
30: <context attribute="Normal Text" lineEndContext="#pop" name="Some Context" />
31: </contexts>