people around here usually use asar, xkas isn't really used here anymore but anyway,
Quotenowhere is the correct syntax explained
have you looked at the documentation? It states everything right there:
Originally posted by xkas documentationLabels / Sublabels / +/- Labels:
A label is used to represent a position in code, and allows one to code without having to constantly update branches and jumps/calls. A label should be able to be used in any opcode, but was specifically added to be used with branches, jumps, and calls. Labels can contain A-Za-z0-9_. They must end with : or ()
A sublabel is used to declare labels within labels that will share its address space only, and can contain the same characters as a label, but must start with a period. A sublabel must not end with a : or (). Here's an example:
proc1:
nop
.l1
bra .l1
proc2:
nop
.l1
bra .l1
;The two opcodes below will branch back and forth forever.
- bra +
+ bra -
Sublabels allow you to reuse redundantly named labels such as loop, end, etc. without causing duplicate label conflicts. A new sublabel group is started immediately after a label is declared automatically. A +/- label can be up to 3 levels deep, e.g. +, ++, +++, -, --, ---. They overwrite their pc offsets immediately after being redefined. Useful for very short loops, when even something like .loop would become redundant in a long routine.
Lastly, there are labels specifically for macros. They are identical to real labels, and begin with a ?
Example: ?label:
Do not use these outside of macros!!
You also don't need to write the same thing in two different places at the same time.